Пример #1
0
void IMB_anim_index_rebuild(struct IndexBuildContext *context,
                            short *stop, short *do_update, float *progress)
{
	switch (context->anim_type) {
#ifdef WITH_FFMPEG
		case ANIM_FFMPEG:
			index_rebuild_ffmpeg((FFmpegIndexBuilderContext *)context, stop, do_update, progress);
			break;
#endif
		default:
			index_rebuild_fallback((FallbackIndexBuilderContext *)context, stop, do_update, progress);
			break;
	}
}
Пример #2
0
void IMB_anim_index_rebuild(struct anim * anim, IMB_Timecode_Type tcs_in_use,
                            IMB_Proxy_Size proxy_sizes_in_use,
                            int quality,
                            short *stop, short *do_update, float *progress)
{
    switch (anim->curtype) {
#ifdef WITH_FFMPEG
    case ANIM_FFMPEG:
        index_rebuild_ffmpeg(anim, tcs_in_use, proxy_sizes_in_use,
                             quality, stop, do_update, progress);
        break;
#endif
    default:
        index_rebuild_fallback(anim, tcs_in_use, proxy_sizes_in_use,
                               quality, stop, do_update, progress);
        break;
    }
}