From 5b1d9ceec715846a58fe029bc3889ed6fa62436a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 7 Feb 2015 12:14:45 +0100 Subject: pixfmt: add a pixel format for QSV hwaccel --- libavutil/pixfmt.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavutil/pixfmt.h') diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index e507425150..4763583868 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -209,6 +209,11 @@ enum AVPixelFormat { AV_PIX_FMT_GBRAP, ///< planar GBRA 4:4:4:4 32bpp AV_PIX_FMT_GBRAP16BE, ///< planar GBRA 4:4:4:4 64bpp, big-endian AV_PIX_FMT_GBRAP16LE, ///< planar GBRA 4:4:4:4 64bpp, little-endian + /** + * HW acceleration through QSV, data[3] contains a pointer to the + * mfxFrameSurface1 structure. + */ + AV_PIX_FMT_QSV, 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 -- cgit v1.2.3