vaapi_encode: Support configurable slices

Multimedia / FFmpeg - Mark Thompson [jkqxz.net] - 27 October 2018 18:35 EDT

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.

2923ed247e vaapi_encode: Support configurable slices
doc/encoders.texi | 2 +
libavcodec/vaapi_encode.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++
libavcodec/vaapi_encode.h | 22 +++++++
3 files changed, 172 insertions(+)

  • Share