From 66e6c8a7b4e3ac926302529606bd3e323c28b20f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 6 Mar 2014 14:07:42 +0100 Subject: lavu: Add a pixel format for new VDA hwaccel The current hwaccel is broken and cannot be fixed in a compatible way. It will be deprecated and replaced with a new one. --- libavutil/pixfmt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavutil/pixfmt.h') diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index bfd16e6..99a926f 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -198,6 +198,7 @@ enum AVPixelFormat { AV_PIX_FMT_YVYU422, ///< packed YUV 4:2:2, 16bpp, Y0 Cr Y1 Cb + AV_PIX_FMT_VDA, ///< HW acceleration through VDA, data[3] contains a CVPixelBufferRef AV_PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions #if FF_API_PIX_FMT -- cgit v1.1