vaapi_encode: Support configurable slices
authorMark Thompson <sw@jkqxz.net>
Sun, 23 Sep 2018 21:52:56 +0000 (22:52 +0100)
committerMark Thompson <sw@jkqxz.net>
Sat, 27 Oct 2018 18:35:35 +0000 (19:35 +0100)
commit2923ed247ee2f507f32b34aeddd6785bab173a71
tree84779b4ab0f7825ad647da5c4bbde3ccf8f33168
parent40ac622460284f4aad10a13b786d03d6c2cfa868
vaapi_encode: Support configurable slices

This adds common code to query driver support and set appropriate
address/size information for each slice.  It only supports rectangular
slices for now, since that is the most common use-case.
doc/encoders.texi
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h