summaryrefslogtreecommitdiff
path: root/libavutil/pixdesc.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-11-06 16:52:27 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2011-11-24 08:24:55 -0800
commit6b0768e2021b90215a2ab55ed427bce91d148148 (patch)
tree9f2a578d9a565f038e5f7785c2ee4557aa3e5f1a /libavutil/pixdesc.h
parentbd97b2e1ce713a4886d909f71b6f1f5403446f53 (diff)
Clean up swscale pixfmt macros using av_pix_fmt_descriptors[].
Diffstat (limited to 'libavutil/pixdesc.h')
-rw-r--r--libavutil/pixdesc.h2
1 files changed, 2 insertions, 0 deletions
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.