From c48456166e95648719a8be8f8613f9dee98205c1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 27 Mar 2015 23:04:08 +0100 Subject: lavc: add MMAL hardware decoder wrapper Based on a patch by Rodger Combs. Signed-off-by: Anton Khirnov --- 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 d1bf36769d..e21100f1f7 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -214,6 +214,11 @@ enum AVPixelFormat { * mfxFrameSurface1 structure. */ AV_PIX_FMT_QSV, + /** + * HW acceleration though MMAL, data[3] contains a pointer to the + * MMAL_BUFFER_HEADER_T structure. + */ + AV_PIX_FMT_MMAL, 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