From 6b0768e2021b90215a2ab55ed427bce91d148148 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 6 Nov 2011 16:52:27 -0800 Subject: Clean up swscale pixfmt macros using av_pix_fmt_descriptors[]. --- libavutil/pixdesc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavutil/pixdesc.h') diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index 979a23539b..b5972c78ff 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -87,6 +87,8 @@ typedef struct AVPixFmtDescriptor{ #define PIX_FMT_PAL 2 ///< Pixel format has a palette in data[1], values are indexes in this palette. #define PIX_FMT_BITSTREAM 4 ///< All values of a component are bit-wise packed end to end. #define PIX_FMT_HWACCEL 8 ///< Pixel format is an HW accelerated format. +#define PIX_FMT_PLANAR 16 ///< At least one pixel component is not in the first data plane +#define PIX_FMT_RGB 32 ///< The pixel format contains RGB-like data (as opposed to YUV/grayscale) /** * The array of all the pixel format descriptors. -- cgit v1.2.3