Commit 0b25261d authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'e0d73fda'

* commit 'e0d73fda':
  avutil: add alias names for gray 8/16 colour spaces
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 073c0744 e0d73fda
...@@ -258,6 +258,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { ...@@ -258,6 +258,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
{ 0, 0, 1, 0, 7 }, /* Y */ { 0, 0, 1, 0, 7 }, /* Y */
}, },
.flags = AV_PIX_FMT_FLAG_PSEUDOPAL, .flags = AV_PIX_FMT_FLAG_PSEUDOPAL,
.alias = "gray8,y8",
}, },
[AV_PIX_FMT_MONOWHITE] = { [AV_PIX_FMT_MONOWHITE] = {
.name = "monow", .name = "monow",
...@@ -568,6 +569,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { ...@@ -568,6 +569,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
{ 0, 1, 1, 0, 15 }, /* Y */ { 0, 1, 1, 0, 15 }, /* Y */
}, },
.flags = AV_PIX_FMT_FLAG_BE, .flags = AV_PIX_FMT_FLAG_BE,
.alias = "y16be",
}, },
[AV_PIX_FMT_GRAY16LE] = { [AV_PIX_FMT_GRAY16LE] = {
.name = "gray16le", .name = "gray16le",
...@@ -577,6 +579,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { ...@@ -577,6 +579,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.comp = { .comp = {
{ 0, 1, 1, 0, 15 }, /* Y */ { 0, 1, 1, 0, 15 }, /* Y */
}, },
.alias = "y16le",
}, },
[AV_PIX_FMT_YUV440P] = { [AV_PIX_FMT_YUV440P] = {
.name = "yuv440p", .name = "yuv440p",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment