]> git.sesse.net Git - ffmpeg/commit
vf_scale_vaapi: Crop input surface to active region
authorMark Thompson <sw@jkqxz.net>
Tue, 13 Sep 2016 19:50:57 +0000 (20:50 +0100)
committerMark Thompson <sw@jkqxz.net>
Wed, 14 Sep 2016 19:48:36 +0000 (20:48 +0100)
commitbdf7610eb266fd3de650040c97328791868abd82
treefe197cdbc474da1eecc67c5b2e4fee80d4009daa
parent3a9662af6c741f8354b1ca97642f78f5c02e2e8f
vf_scale_vaapi: Crop input surface to active region

If the input has been decoded from a stream which uses edge cropping
then the whole surface need not be valid.  This defines an input
region for the scaler so we only use the active area of the frame.
libavfilter/vf_scale_vaapi.c