Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/movieclip.c
| Show First 20 Lines • Show All 277 Lines • ▼ Show 20 Lines | |||||
| static ImBuf *movieclip_load_sequence_file(MovieClip *clip, | static ImBuf *movieclip_load_sequence_file(MovieClip *clip, | ||||
| const MovieClipUser *user, | const MovieClipUser *user, | ||||
| int framenr, | int framenr, | ||||
| int flag) | int flag) | ||||
| { | { | ||||
| struct ImBuf *ibuf; | struct ImBuf *ibuf; | ||||
| char name[FILE_MAX]; | char name[FILE_MAX]; | ||||
| int loadflag; | eImBufFlags loadflag; | ||||
| bool use_proxy = false; | bool use_proxy = false; | ||||
| char *colorspace; | char *colorspace; | ||||
| use_proxy = (flag & MCLIP_USE_PROXY) && user->render_size != MCLIP_PROXY_RENDER_SIZE_FULL; | use_proxy = (flag & MCLIP_USE_PROXY) && user->render_size != MCLIP_PROXY_RENDER_SIZE_FULL; | ||||
| if (use_proxy) { | if (use_proxy) { | ||||
| int undistort = user->render_flag & MCLIP_PROXY_RENDER_UNDISTORT; | int undistort = user->render_flag & MCLIP_PROXY_RENDER_UNDISTORT; | ||||
| get_proxy_fname(clip, user->render_size, undistort, framenr, name); | get_proxy_fname(clip, user->render_size, undistort, framenr, name); | ||||
| ▲ Show 20 Lines • Show All 1,515 Lines • Show Last 20 Lines | |||||