Re: [FFmpeg-devel] [PATCH v4 29/38] vaapi_encode: Support configurable slices

2018-09-19 Thread Michael Niedermayer
On Tue, Sep 18, 2018 at 11:31:07PM +0100, Mark Thompson wrote: > 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. > > Also immediately use that to rep

[FFmpeg-devel] [PATCH v4 29/38] vaapi_encode: Support configurable slices

2018-09-18 Thread Mark Thompson
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. Also immediately use that to replace the ad-hoc code doing the same thing for MPEG-2. --- libavcodec/vaa