aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-07-23 21:05:31 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-08-04 12:55:08 +0100
commite0d73fda361729d207e51fa2afd8ba6102e58d98 (patch)
tree9a3b2db7be04b1d382a39b917651a53f22b8aeba
parentd2962e9f89cca6ff40f0c9d5ffc9c4397b8b1b26 (diff)
downloadffmpeg-e0d73fda361729d207e51fa2afd8ba6102e58d98.tar.gz
avutil: add alias names for gray 8/16 colour spaces
-rw-r--r--libavutil/pixdesc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 5443012539..8fb7151321 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -245,6 +245,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
{ 0, 0, 1, 0, 7 }, /* Y */
},
.flags = AV_PIX_FMT_FLAG_PSEUDOPAL,
+ .alias = "gray8,y8",
},
[AV_PIX_FMT_MONOWHITE] = {
.name = "monow",
@@ -501,6 +502,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
{ 0, 1, 1, 0, 15 }, /* Y */
},
.flags = AV_PIX_FMT_FLAG_BE,
+ .alias = "y16be",
},
[AV_PIX_FMT_GRAY16LE] = {
.name = "gray16le",
@@ -510,6 +512,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.comp = {
{ 0, 1, 1, 0, 15 }, /* Y */
},
+ .alias = "y16le",
},
[AV_PIX_FMT_YUV440P] = {
.name = "yuv440p",