]> git.sesse.net Git - ffmpeg/commit
lavc/vaapi_encode: add EQUAL_MULTI_ROWS support for slice structure
authorLinjie Fu <linjie.fu@intel.com>
Mon, 11 May 2020 06:32:42 +0000 (14:32 +0800)
committerLinjie Fu <linjie.fu@intel.com>
Sun, 19 Jul 2020 06:38:26 +0000 (14:38 +0800)
commit489c5db0791f39518775b12eef6d48276c17f96f
treeaf27a5df3e3801a43422f57cce1fecec71071173
parent91a9f86edf5ce8508e471146aafaa3c5fb1d5fbc
lavc/vaapi_encode: add EQUAL_MULTI_ROWS support for slice structure

VA_ENC_SLICE_STRUCTURE_EQUAL_MULTI_ROWS is added to in the latest
libva (1.8.0) which matches the hardware behaviour:

/** \brief Driver supports any number of rows per slice but they must
*    be the same for all slices except for the last one, which must be
*    equal or smaller to the previous slices.
*/

And VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS is kind of deprecated for iHD
since it's somehow introduced in [1] which is misleading from what we
actually handles.

[1]<https://github.com/intel/libva/commit/0e6d5441f19bdc674b4da3169d614d10fd644778>

Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
libavcodec/vaapi_encode.c