[FFmpeg-devel] [PATCH 2/7] hwcontext_vaapi: Add support for legacy DRM mapping
sw at jkqxz.net
Mon Mar 12 02:23:25 EET 2018
On 12/03/18 00:01, Rostislav Pehlivanov wrote:
> On 11 March 2018 at 22:41, Mark Thompson <sw at jkqxz.net> wrote:
>> The old vaAcquireBufferHandle() API works in fewer cases and provides
>> less information than the current vaExportSurfaceHandle(), but it exists
>> on older versions and is already used by the OpenCL code. This probably
>> doesn't have much use directly, but it will be used to replace the ad-hoc
>> OpenCL code in a following patch.
>> libavutil/hwcontext_vaapi.c | 191 ++++++++++++++++++++++++++++++
>> 1 file changed, 179 insertions(+), 12 deletions(-)
> Why? libva 1.1.0 is 6 years old now. It doesn't make sense to have 2 pieces
> of code to do the same thing.
VAAPI 1.1.0 != libva 1.1.0. VAAPI 1.1.0 is in libva 2.1.0, released last month.
(This is not confusing at all.)
More information about the ffmpeg-devel