summaryrefslogtreecommitdiff
path: root/libavutil/pixdesc.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-11-12 01:17:20 +0100
committerLuca Barbato <lu_zero@gentoo.org>2012-11-20 12:45:58 +0100
commitcbe5a60c9d495df0fb4775b064f06719b70b9952 (patch)
tree1d9c38870659e35e6041a04352f9db1b6dbc88fb /libavutil/pixdesc.h
parentb353321caa2225ec705748b6e79b58715aee7470 (diff)
pixdesc: add PIX_FMT_ALPHA flag
Diffstat (limited to 'libavutil/pixdesc.h')
-rw-r--r--libavutil/pixdesc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
index a944c66dd3..47e6bb838d 100644
--- a/libavutil/pixdesc.h
+++ b/libavutil/pixdesc.h
@@ -96,6 +96,9 @@ typedef struct AVPixFmtDescriptor{
*/
#define PIX_FMT_PSEUDOPAL 64
+#define PIX_FMT_ALPHA 128 ///< The pixel format has an alpha channel
+
+
#if FF_API_PIX_FMT_DESC
/**
* The array of all the pixel format descriptors.