|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | anim_index_entry |
| struct | ImBufAnimIndex |
| struct | anim_index_builder |
| ImBufAnimIndex * IMB_anim_open_index | ( | ImBufAnim * | anim, |
| IMB_Timecode_Type | tc ) |
Definition at line 1373 of file indexer.cc.
References FILE_MAX, get_tc_filepath(), IMB_indexer_open(), IMB_TC_RECORD_RUN, IMB_TC_RECORD_RUN_NO_GAPS, ImBufAnim::indices_tried, ImBufAnim::no_gaps, and ImBufAnim::record_run.
Referenced by IMB_anim_get_duration(), and IMB_anim_index_get_frame_index().
| ImBufAnim * IMB_anim_open_proxy | ( | ImBufAnim * | anim, |
| IMB_Proxy_Size | preview_size ) |
Definition at line 1346 of file indexer.cc.
References ImBufAnim::colorspace, FILE_MAX, get_proxy_filepath(), IMB_open_anim(), IMB_proxy_size_to_array_index(), ImBufAnim::proxies_tried, and ImBufAnim::proxy_anim.
Referenced by IMB_anim_absolute().
| void IMB_free_indices | ( | ImBufAnim * | anim | ) |
Definition at line 1312 of file indexer.cc.
References IMB_close_anim(), IMB_indexer_close(), IMB_PROXY_MAX_SLOT, ImBufAnim::indices_tried, ImBufAnim::no_gaps, ImBufAnim::proxies_tried, ImBufAnim::proxy_anim, and ImBufAnim::record_run.
Referenced by IMB_anim_set_index_dir(), IMB_close_anim_proxies(), and IMB_free_anim().
| void IMB_index_builder_add_entry | ( | anim_index_builder * | fp, |
| int | frameno, | ||
| uint64_t | seek_pos, | ||
| uint64_t | seek_pos_pts, | ||
| uint64_t | seek_pos_dts, | ||
| uint64_t | pts ) |
Definition at line 91 of file indexer.cc.
References anim_index_builder::fp.
Referenced by IMB_index_builder_proc_frame().
| anim_index_builder * IMB_index_builder_create | ( | const char * | filepath | ) |
Definition at line 57 of file indexer.cc.
References B_ENDIAN, binary_header_str, BLI_file_ensure_parent_dir_exists(), BLI_fopen(), BLI_string_join, ENDIAN_ORDER, anim_index_builder::filepath, anim_index_builder::filepath_temp, anim_index_builder::fp, INDEX_FILE_VERSION, MEM_freeN(), STRNCPY, and temp_ext.
| void IMB_index_builder_finish | ( | anim_index_builder * | fp, |
| int | rollback ) |
Definition at line 129 of file indexer.cc.
References BLI_rename(), anim_index_builder::delete_priv_data, anim_index_builder::filepath, anim_index_builder::filepath_temp, anim_index_builder::fp, and MEM_freeN().
| void IMB_index_builder_proc_frame | ( | anim_index_builder * | fp, |
| unsigned char * | buffer, | ||
| int | data_size, | ||
| int | frameno, | ||
| uint64_t | seek_pos, | ||
| uint64_t | seek_pos_pts, | ||
| uint64_t | seek_pos_dts, | ||
| uint64_t | pts ) |
Definition at line 105 of file indexer.cc.
References e, IMB_index_builder_add_entry(), and anim_index_builder::proc_frame.
| int IMB_indexer_can_scan | ( | ImBufAnimIndex * | idx, |
| int | old_frame_index, | ||
| int | new_frame_index ) |
Definition at line 315 of file indexer.cc.
References IMB_indexer_get_seek_pos().
| void IMB_indexer_close | ( | ImBufAnimIndex * | idx | ) |
Definition at line 324 of file indexer.cc.
References ImBufAnimIndex::entries, and MEM_freeN().
Referenced by IMB_free_indices().
| int IMB_indexer_get_duration | ( | ImBufAnimIndex * | idx | ) |
Definition at line 307 of file indexer.cc.
References ImBufAnimIndex::entries, anim_index_entry::frameno, and ImBufAnimIndex::num_entries.
Referenced by IMB_anim_get_duration().
| int IMB_indexer_get_frame_index | ( | ImBufAnimIndex * | idx, |
| int | frameno ) |
Definition at line 264 of file indexer.cc.
References ImBufAnimIndex::entries, anim_index_entry::frameno, len, and ImBufAnimIndex::num_entries.
Referenced by IMB_anim_index_get_frame_index().
| uint64_t IMB_indexer_get_pts | ( | ImBufAnimIndex * | idx, |
| int | frame_index ) |
Definition at line 296 of file indexer.cc.
References ImBufAnimIndex::entries, ImBufAnimIndex::num_entries, and anim_index_entry::pts.
| uint64_t IMB_indexer_get_seek_pos | ( | ImBufAnimIndex * | idx, |
| int | frame_index ) |
Definition at line 229 of file indexer.cc.
References ImBufAnimIndex::entries, ImBufAnimIndex::num_entries, and anim_index_entry::seek_pos.
Referenced by IMB_indexer_can_scan().
| uint64_t IMB_indexer_get_seek_pos_dts | ( | ImBufAnimIndex * | idx, |
| int | frame_index ) |
Definition at line 253 of file indexer.cc.
References ImBufAnimIndex::entries, ImBufAnimIndex::num_entries, and anim_index_entry::seek_pos_dts.
| uint64_t IMB_indexer_get_seek_pos_pts | ( | ImBufAnimIndex * | idx, |
| int | frame_index ) |
Definition at line 242 of file indexer.cc.
References ImBufAnimIndex::entries, ImBufAnimIndex::num_entries, and anim_index_entry::seek_pos_pts.
| ImBufAnimIndex * IMB_indexer_open | ( | const char * | name | ) |
Definition at line 148 of file indexer.cc.
References B_ENDIAN, binary_header_str, BLI_endian_switch_int32(), BLI_endian_switch_uint64(), BLI_fopen(), ENDIAN_ORDER, ImBufAnimIndex::entries, ImBufAnimIndex::filepath, anim_index_entry::frameno, INDEX_FILE_VERSION, MEM_callocN, MEM_freeN(), ImBufAnimIndex::num_entries, anim_index_entry::pts, anim_index_entry::seek_pos, anim_index_entry::seek_pos_dts, anim_index_entry::seek_pos_pts, STRNCPY, and UNLIKELY.
Referenced by IMB_anim_open_index().
| int IMB_proxy_size_to_array_index | ( | IMB_Proxy_Size | pr_size | ) |
Definition at line 330 of file indexer.cc.
References BLI_assert_msg, IMB_PROXY_100, IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, and IMB_PROXY_NONE.
Referenced by get_proxy_filepath(), and IMB_anim_open_proxy().
| int IMB_timecode_to_array_index | ( | IMB_Timecode_Type | tc | ) |
Definition at line 349 of file indexer.cc.
References BLI_assert_msg, IMB_TC_NONE, IMB_TC_RECORD_RUN, and IMB_TC_RECORD_RUN_NO_GAPS.
Referenced by get_tc_filepath().