Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/movieclip.c
| Show First 20 Lines • Show All 638 Lines • ▼ Show 20 Lines | static ImBuf *movieclip_load_movie_file(MovieClip *clip, | ||||
| int tc = get_timecode(clip, flag); | int tc = get_timecode(clip, flag); | ||||
| int proxy = rendersize_to_proxy(user, flag); | int proxy = rendersize_to_proxy(user, flag); | ||||
| movieclip_open_anim_file(clip); | movieclip_open_anim_file(clip); | ||||
| if (clip->anim) { | if (clip->anim) { | ||||
| int fra = framenr - clip->start_frame + clip->frame_offset; | int fra = framenr - clip->start_frame + clip->frame_offset; | ||||
| ibuf = IMB_anim_absolute(clip->anim, fra, tc, proxy); | ibuf = IMB_anim_absolute(clip->anim, fra, tc, proxy, IMB_DOWNSCALE_NONE); | ||||
| } | } | ||||
| return ibuf; | return ibuf; | ||||
| } | } | ||||
| static void movieclip_calc_length(MovieClip *clip) | static void movieclip_calc_length(MovieClip *clip) | ||||
| { | { | ||||
| if (clip->source == MCLIP_SRC_MOVIE) { | if (clip->source == MCLIP_SRC_MOVIE) { | ||||
| ▲ Show 20 Lines • Show All 1,490 Lines • Show Last 20 Lines | |||||