Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/intern/render.c
| Show First 20 Lines • Show All 1,172 Lines • ▼ Show 20 Lines | case IMB_PROXY_25: | ||||
| user.render_size = MCLIP_PROXY_RENDER_SIZE_25; | user.render_size = MCLIP_PROXY_RENDER_SIZE_25; | ||||
| break; | break; | ||||
| } | } | ||||
| if (seq->clip_flag & SEQ_MOVIECLIP_RENDER_UNDISTORTED) { | if (seq->clip_flag & SEQ_MOVIECLIP_RENDER_UNDISTORTED) { | ||||
| user.render_flag |= MCLIP_PROXY_RENDER_UNDISTORT; | user.render_flag |= MCLIP_PROXY_RENDER_UNDISTORT; | ||||
| } | } | ||||
| /* Try to get a proxy image. */ | /* Try to get a proxy image. */ | ||||
| ibuf = seq_get_movieclip_ibuf(seq, user); | ibuf = seq_get_movieclip_ibuf(seq, user); | ||||
ISS: Just to clarify this logic:
If clip uses proxies, proxy size is explicitly requested, image is… | |||||
| if (ibuf != NULL && psize != IMB_PROXY_NONE) { | /* If clip doesn't use proxies, it will fallback to full size render of original file. */ | ||||
| if (ibuf != NULL && psize != IMB_PROXY_NONE && BKE_movieclip_proxy_enabled(seq->clip)) { | |||||
| *r_is_proxy_image = true; | *r_is_proxy_image = true; | ||||
| } | } | ||||
| /* If proxy is not found, grab full-size frame. */ | /* If proxy is not found, grab full-size frame. */ | ||||
| if (ibuf == NULL) { | if (ibuf == NULL) { | ||||
| user.render_flag |= MCLIP_PROXY_RENDER_USE_FALLBACK_RENDER; | user.render_flag |= MCLIP_PROXY_RENDER_USE_FALLBACK_RENDER; | ||||
| ibuf = seq_get_movieclip_ibuf(seq, user); | ibuf = seq_get_movieclip_ibuf(seq, user); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 904 Lines • Show Last 20 Lines | |||||
Just to clarify this logic:
If clip uses proxies, proxy size is explicitly requested, image is returned only if proxy is built, otherwise NULL.
If clip doesn't use proxies, proxy size is explicitly requested, it falls back on full size render - I did not expect that.