Blender Git Commit Log

Git Commits -> Revision 810c372

February 2, 2021, 12:03 (GMT)
VSE: Render in size nearest to preview image

Calculate nearest power of two render size based on image size in
preview area when "Proxy Render Size" is set to "Automatic".

Downscaling is implemented for movies on IO level - see `IMB_Downscale`
and `IMB_anim_absolute()`. Movies are also downscaled by factor which
is power of two. Currently up to 32x - `IMB_DOWNSCALE_32X`

This means that with smaller preview sizes optimal image sizes are used
resulting in lower memory usage and higher performance.

Demo 8K video preview performance + debug info how it works internally:
{F9422536}

Differential Revision: https://developer.blender.org/D9414

Commit Details:

Full Hash: 810c372fd9c6204fd452ea3920f1f70ce17b5a81
Parent Commit: f4cb93b5
Lines Changed: +398, -183

20 Modified Paths:

/source/blender/blenkernel/intern/image.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+20, -0) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+1, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+16, -1) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+172, -100) (Diff)
/source/blender/imbuf/intern/IMB_anim.h (+2, -1) (Diff)
/source/blender/imbuf/intern/indexer.c (+2, -1) (Diff)
/source/blender/imbuf/intern/thumbs.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -0) (Diff)
/source/blender/sequencer/intern/effects.c (+3, -7) (Diff)
/source/blender/sequencer/intern/image_cache.c (+43, -16) (Diff)
/source/blender/sequencer/intern/image_cache.h (+4, -2) (Diff)
/source/blender/sequencer/intern/prefetch.c (+6, -4) (Diff)
/source/blender/sequencer/intern/proxy.c (+2, -1) (Diff)
/source/blender/sequencer/intern/render.c (+113, -43) (Diff)
/source/blender/sequencer/intern/render.h (+1, -0) (Diff)
/source/blender/sequencer/SEQ_render.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+5, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021