Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/indexer.c
| Show First 20 Lines • Show All 888 Lines • ▼ Show 20 Lines | if (context->tcs_in_use & tc_types[i]) { | ||||
| pts); | pts); | ||||
| } | } | ||||
| } | } | ||||
| context->frameno_gapless++; | context->frameno_gapless++; | ||||
| } | } | ||||
| static int index_rebuild_ffmpeg(FFmpegIndexBuilderContext *context, | static int index_rebuild_ffmpeg(FFmpegIndexBuilderContext *context, | ||||
| short *stop, | const short *stop, | ||||
| short *do_update, | short *do_update, | ||||
| float *progress) | float *progress) | ||||
| { | { | ||||
| AVFrame *in_frame = 0; | AVFrame *in_frame = 0; | ||||
| AVPacket next_packet; | AVPacket next_packet; | ||||
| uint64_t stream_size; | uint64_t stream_size; | ||||
| memset(&next_packet, 0, sizeof(AVPacket)); | memset(&next_packet, 0, sizeof(AVPacket)); | ||||
| ▲ Show 20 Lines • Show All 179 Lines • ▼ Show 20 Lines | if (context->proxy_sizes_in_use & proxy_sizes[i]) { | ||||
| unlink(fname); | unlink(fname); | ||||
| rename(fname_tmp, fname); | rename(fname_tmp, fname); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| static void index_rebuild_fallback(FallbackIndexBuilderContext *context, | static void index_rebuild_fallback(FallbackIndexBuilderContext *context, | ||||
| short *stop, | const short *stop, | ||||
| short *do_update, | short *do_update, | ||||
| float *progress) | float *progress) | ||||
| { | { | ||||
| int cnt = IMB_anim_get_duration(context->anim, IMB_TC_NONE); | int cnt = IMB_anim_get_duration(context->anim, IMB_TC_NONE); | ||||
| int i, pos; | int i, pos; | ||||
| struct anim *anim = context->anim; | struct anim *anim = context->anim; | ||||
| for (pos = 0; pos < cnt; pos++) { | for (pos = 0; pos < cnt; pos++) { | ||||
| ▲ Show 20 Lines • Show All 267 Lines • Show Last 20 Lines | |||||