Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/IMB_imbuf.h
| Show First 20 Lines • Show All 350 Lines • ▼ Show 20 Lines | |||||
| void IMB_anim_index_rebuild_finish(struct IndexBuildContext *context, short stop); | void IMB_anim_index_rebuild_finish(struct IndexBuildContext *context, short stop); | ||||
| /** | /** | ||||
| * Return the length (in frames) of the given \a anim. | * Return the length (in frames) of the given \a anim. | ||||
| */ | */ | ||||
| int IMB_anim_get_duration(struct anim *anim, IMB_Timecode_Type tc); | int IMB_anim_get_duration(struct anim *anim, IMB_Timecode_Type tc); | ||||
| /** | /** | ||||
| * Return the encoded start offset (in seconds) of the given \a anim. | |||||
| */ | |||||
| double IMD_anim_get_offset(struct anim *anim); | |||||
| /** | |||||
| * Return the fps contained in movie files (function rval is false, | * Return the fps contained in movie files (function rval is false, | ||||
| * and frs_sec and frs_sec_base untouched if none available!) | * and frs_sec and frs_sec_base untouched if none available!) | ||||
| */ | */ | ||||
| bool IMB_anim_get_fps(struct anim *anim, short *frs_sec, float *frs_sec_base, bool no_av_base); | bool IMB_anim_get_fps(struct anim *anim, short *frs_sec, float *frs_sec_base, bool no_av_base); | ||||
| /** | /** | ||||
| * | * | ||||
| * \attention Defined in anim_movie.c | * \attention Defined in anim_movie.c | ||||
| */ | */ | ||||
| struct anim *IMB_open_anim(const char *name, | struct anim *IMB_open_anim(const char *name, | ||||
| int ib_flags, | int ib_flags, | ||||
| int streamindex, | int streamindex, | ||||
| char colorspace[IM_MAX_SPACE]); | char colorspace[IM_MAX_SPACE]); | ||||
| void IMB_suffix_anim(struct anim *anim, const char *suffix); | void IMB_suffix_anim(struct anim *anim, const char *suffix); | ||||
| void IMB_close_anim(struct anim *anim); | void IMB_close_anim(struct anim *anim); | ||||
| void IMB_close_anim_proxies(struct anim *anim); | void IMB_close_anim_proxies(struct anim *anim); | ||||
| bool IMB_anim_can_produce_frames(const struct anim *anim); | bool IMB_anim_can_produce_frames(const struct anim *anim); | ||||
| /** | /** | ||||
| * | * | ||||
| * \attention Defined in anim_movie.c | * \attention Defined in anim_movie.c | ||||
| */ | */ | ||||
| int ismovie(const char *filepath); | int ismovie(const char *filepath); | ||||
| void IMB_anim_set_preseek(struct anim *anim, int preseek); | |||||
| int IMB_anim_get_preseek(struct anim *anim); | |||||
| int IMB_anim_get_image_width(struct anim *anim); | int IMB_anim_get_image_width(struct anim *anim); | ||||
| int IMB_anim_get_image_height(struct anim *anim); | int IMB_anim_get_image_height(struct anim *anim); | ||||
| /** | /** | ||||
| * | * | ||||
| * \attention Defined in anim_movie.c | * \attention Defined in anim_movie.c | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 408 Lines • Show Last 20 Lines | |||||