Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/intern/render.c
| Show First 20 Lines • Show All 1,105 Lines • ▼ Show 20 Lines | static ImBuf *seq_render_movie_strip_view(const SeqRenderData *context, | ||||
| float frame_index, | float frame_index, | ||||
| float timeline_frame, | float timeline_frame, | ||||
| StripAnim *sanim, | StripAnim *sanim, | ||||
| bool *r_is_proxy_image) | bool *r_is_proxy_image) | ||||
| { | { | ||||
| ImBuf *ibuf = NULL; | ImBuf *ibuf = NULL; | ||||
| IMB_Proxy_Size psize = SEQ_rendersize_to_proxysize(context->preview_render_size); | IMB_Proxy_Size psize = SEQ_rendersize_to_proxysize(context->preview_render_size); | ||||
| IMB_anim_set_preseek(sanim->anim, seq->anim_preseek); | |||||
| if (SEQ_can_use_proxy(context, seq, psize)) { | if (SEQ_can_use_proxy(context, seq, psize)) { | ||||
| /* Try to get a proxy image. | /* Try to get a proxy image. | ||||
| * Movie proxies are handled by ImBuf module with exception of `custom file` setting. */ | * Movie proxies are handled by ImBuf module with exception of `custom file` setting. */ | ||||
| if (context->scene->ed->proxy_storage != SEQ_EDIT_PROXY_DIR_STORAGE && | if (context->scene->ed->proxy_storage != SEQ_EDIT_PROXY_DIR_STORAGE && | ||||
| seq->strip->proxy->storage & SEQ_STORAGE_PROXY_CUSTOM_FILE) { | seq->strip->proxy->storage & SEQ_STORAGE_PROXY_CUSTOM_FILE) { | ||||
| ibuf = seq_render_movie_strip_custom_file_proxy(context, seq, timeline_frame); | ibuf = seq_render_movie_strip_custom_file_proxy(context, seq, timeline_frame); | ||||
| } | } | ||||
| else { | else { | ||||
| ▲ Show 20 Lines • Show All 917 Lines • Show Last 20 Lines | |||||