diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-12 06:31:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-12 15:31:34 +0300 |
commit | 28b17ef0e6a82361f7061b9e074609dde9a76254 (patch) | |
tree | cc2b6e760499ecbc47fdf86a7ef903ec80cfc1fb /source/blender/imbuf/intern/IMB_indexer.h | |
parent | 3b77bd48f9c63aebd5c8bc4a126d496f503c75a7 (diff) |
Cleanup: replace 'long long' with int64_t in imbuf indexer
Diffstat (limited to 'source/blender/imbuf/intern/IMB_indexer.h')
-rw-r--r-- | source/blender/imbuf/intern/IMB_indexer.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/source/blender/imbuf/intern/IMB_indexer.h b/source/blender/imbuf/intern/IMB_indexer.h index 07c47965262..363ad45e0e6 100644 --- a/source/blender/imbuf/intern/IMB_indexer.h +++ b/source/blender/imbuf/intern/IMB_indexer.h @@ -48,9 +48,9 @@ typedef struct anim_index_entry { int frameno; - unsigned long long seek_pos; - unsigned long long seek_pos_dts; - unsigned long long pts; + uint64_t seek_pos; + uint64_t seek_pos_dts; + uint64_t pts; } anim_index_entry; struct anim_index { @@ -77,28 +77,25 @@ typedef struct anim_index_builder { } anim_index_builder; anim_index_builder *IMB_index_builder_create(const char *name); -void IMB_index_builder_add_entry(anim_index_builder *fp, - int frameno, - unsigned long long seek_pos, - unsigned long long seek_pos_dts, - unsigned long long pts); +void IMB_index_builder_add_entry( + anim_index_builder *fp, int frameno, uint64_t seek_pos, uint64_t seek_pos_dts, uint64_t pts); void IMB_index_builder_proc_frame(anim_index_builder *fp, unsigned char *buffer, int data_size, int frameno, - unsigned long long seek_pos, - unsigned long long seek_pos_dts, - unsigned long long pts); + uint64_t seek_pos, + uint64_t seek_pos_dts, + uint64_t pts); void IMB_index_builder_finish(anim_index_builder *fp, int rollback); struct anim_index *IMB_indexer_open(const char *name); -unsigned long long IMB_indexer_get_seek_pos(struct anim_index *idx, int frame_index); -unsigned long long IMB_indexer_get_seek_pos_dts(struct anim_index *idx, int frame_index); +uint64_t IMB_indexer_get_seek_pos(struct anim_index *idx, int frame_index); +uint64_t IMB_indexer_get_seek_pos_dts(struct anim_index *idx, int frame_index); int IMB_indexer_get_frame_index(struct anim_index *idx, int frameno); -unsigned long long IMB_indexer_get_pts(struct anim_index *idx, int frame_index); +uint64_t IMB_indexer_get_pts(struct anim_index *idx, int frame_index); int IMB_indexer_get_duration(struct anim_index *idx); int IMB_indexer_can_scan(struct anim_index *idx, int old_frame_index, int new_frame_index); |