diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 75656da342..e73fbfe99d 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -281,9 +281,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w = 0, .log2_chroma_h = 0, .comp = { - {0, 0, 1, 0, 7}, /* Y */ - {1, 0, 1, 0, 7}, /* U */ - {2, 0, 1, 0, 7}, /* V */ + { 0, 0, 1, 0, 7 }, /* Y */ + { 1, 0, 1, 0, 7 }, /* U */ + { 2, 0, 1, 0, 7 }, /* V */ }, .flags = PIX_FMT_PLANAR, }, @@ -395,9 +395,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w = 1, .log2_chroma_h = 1, .comp = { - { 0,0,1,0,7 }, /* Y */ - { 1,1,1,0,7 }, /* U */ - { 1,1,2,0,7 }, /* V */ + { 0, 0, 1, 0, 7 }, /* Y */ + { 1, 1, 1, 0, 7 }, /* U */ + { 1, 1, 2, 0, 7 }, /* V */ }, .flags = PIX_FMT_PLANAR, }, @@ -471,9 +471,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,3,2,0,7}, /* R */ - {0,3,3,0,7}, /* G */ - {0,3,4,0,7}, /* B */ + { 0, 3, 2, 0, 7 }, /* R */ + { 0, 3, 3, 0, 7 }, /* G */ + { 0, 3, 4, 0, 7 }, /* B */ }, .flags = PIX_FMT_RGB, }, @@ -483,10 +483,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,3,1,0,7}, /* R */ - {0,3,2,0,7}, /* G */ - {0,3,3,0,7}, /* B */ - {0,3,4,0,7}, /* A */ + { 0, 3, 1, 0, 7 }, /* R */ + { 0, 3, 2, 0, 7 }, /* G */ + { 0, 3, 3, 0, 7 }, /* B */ + { 0, 3, 4, 0, 7 }, /* A */ }, .flags = PIX_FMT_RGB, }, @@ -496,9 +496,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,3,2,0,7}, /* B */ - {0,3,3,0,7}, /* G */ - {0,3,4,0,7}, /* R */ + { 0, 3, 2, 0, 7 }, /* B */ + { 0, 3, 3, 0, 7 }, /* G */ + { 0, 3, 4, 0, 7 }, /* R */ }, .flags = PIX_FMT_RGB, }, @@ -508,10 +508,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,3,1,0,7}, /* B */ - {0,3,2,0,7}, /* G */ - {0,3,3,0,7}, /* R */ - {0,3,4,0,7}, /* A */ + { 0, 3, 1, 0, 7 }, /* B */ + { 0, 3, 2, 0, 7 }, /* G */ + { 0, 3, 3, 0, 7 }, /* R */ + { 0, 3, 4, 0, 7 }, /* A */ }, .flags = PIX_FMT_RGB, }, @@ -637,10 +637,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,7,1,0,15}, /* R */ - {0,7,3,0,15}, /* G */ - {0,7,5,0,15}, /* B */ - {0,7,7,0,15}, /* A */ + { 0, 7, 1, 0, 15 }, /* R */ + { 0, 7, 3, 0, 15 }, /* G */ + { 0, 7, 5, 0, 15 }, /* B */ + { 0, 7, 7, 0, 15 }, /* A */ }, .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_h= 0, .comp = { - {0,7,1,0,15}, /* R */ - {0,7,3,0,15}, /* G */ - {0,7,5,0,15}, /* B */ - {0,7,7,0,15}, /* B */ + { 0, 7, 1, 0, 15 }, /* R */ + { 0, 7, 3, 0, 15 }, /* G */ + { 0, 7, 5, 0, 15 }, /* B */ + { 0, 7, 7, 0, 15 }, /* B */ }, .flags = PIX_FMT_RGB, }, @@ -759,10 +759,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,7,1,0,15}, /* B */ - {0,7,3,0,15}, /* G */ - {0,7,5,0,15}, /* R */ - {0,7,7,0,15}, /* A */ + { 0, 7, 1, 0, 15 }, /* B */ + { 0, 7, 3, 0, 15 }, /* G */ + { 0, 7, 5, 0, 15 }, /* R */ + { 0, 7, 7, 0, 15 }, /* A */ }, .flags = PIX_FMT_BE, }, @@ -772,10 +772,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,7,1,0,15}, /* B */ - {0,7,3,0,15}, /* G */ - {0,7,5,0,15}, /* R */ - {0,7,7,0,15}, /* A */ + { 0, 7, 1, 0, 15 }, /* B */ + { 0, 7, 3, 0, 15 }, /* G */ + { 0, 7, 5, 0, 15 }, /* R */ + { 0, 7, 7, 0, 15 }, /* A */ }, }, [PIX_FMT_BGR565BE] = { @@ -964,9 +964,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w = 1, .log2_chroma_h = 0, .comp = { - {0,1,1,0,8}, /* Y */ - {1,1,1,0,8}, /* U */ - {2,1,1,0,8}, /* V */ + { 0, 1, 1, 0, 8 }, /* Y */ + { 1, 1, 1, 0, 8 }, /* U */ + { 2, 1, 1, 0, 8 }, /* V */ }, .flags = PIX_FMT_BE | PIX_FMT_PLANAR, }, @@ -1114,9 +1114,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .name = "gbr24p", .nb_components= 3, .comp = { - {1,0,1,0,7}, /* B */ - {0,0,1,0,7}, /* G */ - {2,0,1,0,7}, /* R */ + { 1, 0, 1, 0, 7 }, /* B */ + { 0, 0, 1, 0, 7 }, /* G */ + { 2, 0, 1, 0, 7 }, /* R */ }, .flags = PIX_FMT_PLANAR | PIX_FMT_RGB, },