1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

pixdesc: cosmetics

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Jean First 2012-01-22 00:07:48 +01:00 committed by Michael Niedermayer
parent d1c48025a7
commit 39bf7ffeb5

View File

@ -281,9 +281,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w = 0, .log2_chroma_w = 0,
.log2_chroma_h = 0, .log2_chroma_h = 0,
.comp = { .comp = {
{0, 0, 1, 0, 7}, /* Y */ { 0, 0, 1, 0, 7 }, /* Y */
{1, 0, 1, 0, 7}, /* U */ { 1, 0, 1, 0, 7 }, /* U */
{2, 0, 1, 0, 7}, /* V */ { 2, 0, 1, 0, 7 }, /* V */
}, },
.flags = PIX_FMT_PLANAR, .flags = PIX_FMT_PLANAR,
}, },
@ -395,9 +395,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w = 1, .log2_chroma_w = 1,
.log2_chroma_h = 1, .log2_chroma_h = 1,
.comp = { .comp = {
{ 0,0,1,0,7 }, /* Y */ { 0, 0, 1, 0, 7 }, /* Y */
{ 1,1,1,0,7 }, /* U */ { 1, 1, 1, 0, 7 }, /* U */
{ 1,1,2,0,7 }, /* V */ { 1, 1, 2, 0, 7 }, /* V */
}, },
.flags = PIX_FMT_PLANAR, .flags = PIX_FMT_PLANAR,
}, },
@ -471,9 +471,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w= 0, .log2_chroma_w= 0,
.log2_chroma_h= 0, .log2_chroma_h= 0,
.comp = { .comp = {
{0,3,2,0,7}, /* R */ { 0, 3, 2, 0, 7 }, /* R */
{0,3,3,0,7}, /* G */ { 0, 3, 3, 0, 7 }, /* G */
{0,3,4,0,7}, /* B */ { 0, 3, 4, 0, 7 }, /* B */
}, },
.flags = PIX_FMT_RGB, .flags = PIX_FMT_RGB,
}, },
@ -483,10 +483,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w= 0, .log2_chroma_w= 0,
.log2_chroma_h= 0, .log2_chroma_h= 0,
.comp = { .comp = {
{0,3,1,0,7}, /* R */ { 0, 3, 1, 0, 7 }, /* R */
{0,3,2,0,7}, /* G */ { 0, 3, 2, 0, 7 }, /* G */
{0,3,3,0,7}, /* B */ { 0, 3, 3, 0, 7 }, /* B */
{0,3,4,0,7}, /* A */ { 0, 3, 4, 0, 7 }, /* A */
}, },
.flags = PIX_FMT_RGB, .flags = PIX_FMT_RGB,
}, },
@ -496,9 +496,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w= 0, .log2_chroma_w= 0,
.log2_chroma_h= 0, .log2_chroma_h= 0,
.comp = { .comp = {
{0,3,2,0,7}, /* B */ { 0, 3, 2, 0, 7 }, /* B */
{0,3,3,0,7}, /* G */ { 0, 3, 3, 0, 7 }, /* G */
{0,3,4,0,7}, /* R */ { 0, 3, 4, 0, 7 }, /* R */
}, },
.flags = PIX_FMT_RGB, .flags = PIX_FMT_RGB,
}, },
@ -508,10 +508,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w= 0, .log2_chroma_w= 0,
.log2_chroma_h= 0, .log2_chroma_h= 0,
.comp = { .comp = {
{0,3,1,0,7}, /* B */ { 0, 3, 1, 0, 7 }, /* B */
{0,3,2,0,7}, /* G */ { 0, 3, 2, 0, 7 }, /* G */
{0,3,3,0,7}, /* R */ { 0, 3, 3, 0, 7 }, /* R */
{0,3,4,0,7}, /* A */ { 0, 3, 4, 0, 7 }, /* A */
}, },
.flags = PIX_FMT_RGB, .flags = PIX_FMT_RGB,
}, },
@ -637,10 +637,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w= 0, .log2_chroma_w= 0,
.log2_chroma_h= 0, .log2_chroma_h= 0,
.comp = { .comp = {
{0,7,1,0,15}, /* R */ { 0, 7, 1, 0, 15 }, /* R */
{0,7,3,0,15}, /* G */ { 0, 7, 3, 0, 15 }, /* G */
{0,7,5,0,15}, /* B */ { 0, 7, 5, 0, 15 }, /* B */
{0,7,7,0,15}, /* A */ { 0, 7, 7, 0, 15 }, /* A */
}, },
.flags = PIX_FMT_RGB | PIX_FMT_BE, .flags = PIX_FMT_RGB | PIX_FMT_BE,
}, },
@ -650,10 +650,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w= 0, .log2_chroma_w= 0,
.log2_chroma_h= 0, .log2_chroma_h= 0,
.comp = { .comp = {
{0,7,1,0,15}, /* R */ { 0, 7, 1, 0, 15 }, /* R */
{0,7,3,0,15}, /* G */ { 0, 7, 3, 0, 15 }, /* G */
{0,7,5,0,15}, /* B */ { 0, 7, 5, 0, 15 }, /* B */
{0,7,7,0,15}, /* B */ { 0, 7, 7, 0, 15 }, /* B */
}, },
.flags = PIX_FMT_RGB, .flags = PIX_FMT_RGB,
}, },
@ -759,10 +759,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w= 0, .log2_chroma_w= 0,
.log2_chroma_h= 0, .log2_chroma_h= 0,
.comp = { .comp = {
{0,7,1,0,15}, /* B */ { 0, 7, 1, 0, 15 }, /* B */
{0,7,3,0,15}, /* G */ { 0, 7, 3, 0, 15 }, /* G */
{0,7,5,0,15}, /* R */ { 0, 7, 5, 0, 15 }, /* R */
{0,7,7,0,15}, /* A */ { 0, 7, 7, 0, 15 }, /* A */
}, },
.flags = PIX_FMT_BE, .flags = PIX_FMT_BE,
}, },
@ -772,10 +772,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w= 0, .log2_chroma_w= 0,
.log2_chroma_h= 0, .log2_chroma_h= 0,
.comp = { .comp = {
{0,7,1,0,15}, /* B */ { 0, 7, 1, 0, 15 }, /* B */
{0,7,3,0,15}, /* G */ { 0, 7, 3, 0, 15 }, /* G */
{0,7,5,0,15}, /* R */ { 0, 7, 5, 0, 15 }, /* R */
{0,7,7,0,15}, /* A */ { 0, 7, 7, 0, 15 }, /* A */
}, },
}, },
[PIX_FMT_BGR565BE] = { [PIX_FMT_BGR565BE] = {
@ -964,9 +964,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.log2_chroma_w = 1, .log2_chroma_w = 1,
.log2_chroma_h = 0, .log2_chroma_h = 0,
.comp = { .comp = {
{0,1,1,0,8}, /* Y */ { 0, 1, 1, 0, 8 }, /* Y */
{1,1,1,0,8}, /* U */ { 1, 1, 1, 0, 8 }, /* U */
{2,1,1,0,8}, /* V */ { 2, 1, 1, 0, 8 }, /* V */
}, },
.flags = PIX_FMT_BE | PIX_FMT_PLANAR, .flags = PIX_FMT_BE | PIX_FMT_PLANAR,
}, },
@ -1114,9 +1114,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.name = "gbr24p", .name = "gbr24p",
.nb_components= 3, .nb_components= 3,
.comp = { .comp = {
{1,0,1,0,7}, /* B */ { 1, 0, 1, 0, 7 }, /* B */
{0,0,1,0,7}, /* G */ { 0, 0, 1, 0, 7 }, /* G */
{2,0,1,0,7}, /* R */ { 2, 0, 1, 0, 7 }, /* R */
}, },
.flags = PIX_FMT_PLANAR | PIX_FMT_RGB, .flags = PIX_FMT_PLANAR | PIX_FMT_RGB,
}, },