aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/x86/vf_blend.asm
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-06-22 20:05:12 +0200
committerwm4 <nfxjfg@googlemail.com>2017-06-27 18:05:02 +0200
commitd14179e3d49eb0f2533db16151e01abb0018b165 (patch)
tree5731b77f347262395c58166108e3f51a01598fef /libavfilter/x86/vf_blend.asm
parentf0bcedaf37ed4fdb082c88826b8bd3a5dd26382a (diff)
downloadffmpeg-d14179e3d49eb0f2533db16151e01abb0018b165.tar.gz
hwframe: Allow hwaccel frame allocators to align surface sizes
Hardware accelerated decoding generally uses AVHWFramesContext for pool allocation of hardware surfaces. These are setup to allocate surfaces aligned to hardware and hwaccel API requirements. Due to the architecture, av_hwframe_get_buffer() will return AVFrames with the dimensions set to the aligned sizes. This causes some decoders (like hevc) return these aligned size as final frame size, instead of cropping them to the video's actual dimensions. To make sure this doesn't happen, crop the frame to the size the decoder expects when ff_get_buffer() is called. Merges Libav commit 3fdf50f9e864c88da2139cf066832944de81acaa. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavfilter/x86/vf_blend.asm')
0 files changed, 0 insertions, 0 deletions