Browse code

avutil: add alias names for gray 8/16 colour spaces

Vittorio Giovara authored on 2014/07/24 05:05:31
Showing 1 changed files
... ...
@@ -245,6 +245,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
245 245
             { 0, 0, 1, 0, 7 },        /* Y */
246 246
         },
247 247
         .flags = AV_PIX_FMT_FLAG_PSEUDOPAL,
248
+        .alias = "gray8,y8",
248 249
     },
249 250
     [AV_PIX_FMT_MONOWHITE] = {
250 251
         .name = "monow",
... ...
@@ -501,6 +502,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
501 501
             { 0, 1, 1, 0, 15 },       /* Y */
502 502
         },
503 503
         .flags = AV_PIX_FMT_FLAG_BE,
504
+        .alias = "y16be",
504 505
     },
505 506
     [AV_PIX_FMT_GRAY16LE] = {
506 507
         .name = "gray16le",
... ...
@@ -510,6 +512,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
510 510
         .comp = {
511 511
             { 0, 1, 1, 0, 15 },       /* Y */
512 512
         },
513
+        .alias = "y16le",
513 514
     },
514 515
     [AV_PIX_FMT_YUV440P] = {
515 516
         .name = "yuv440p",