1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-09-16 08:36:51 +02:00

avutil/pixdesc: try to fix NV20* descriptors

They where inconsistent (overlapping fields and wrong sizes)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2013-09-22 11:32:59 +02:00
parent 90ca5a9b5f
commit 8310bccc91

View File

@@ -1824,9 +1824,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.log2_chroma_w = 1, .log2_chroma_w = 1,
.log2_chroma_h = 0, .log2_chroma_h = 0,
.comp = { .comp = {
{ 0, 0, 1, 0, 9 }, /* Y */ { 0, 1, 1, 0, 9 }, /* Y */
{ 1, 1, 1, 0, 9 }, /* U */ { 1, 3, 1, 0, 9 }, /* U */
{ 1, 1, 3, 0, 9 }, /* V */ { 1, 3, 3, 0, 9 }, /* V */
}, },
.flags = AV_PIX_FMT_FLAG_PLANAR, .flags = AV_PIX_FMT_FLAG_PLANAR,
}, },
@@ -1836,9 +1836,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.log2_chroma_w = 1, .log2_chroma_w = 1,
.log2_chroma_h = 0, .log2_chroma_h = 0,
.comp = { .comp = {
{ 0, 0, 1, 0, 9 }, /* Y */ { 0, 1, 1, 0, 9 }, /* Y */
{ 1, 1, 1, 0, 9 }, /* U */ { 1, 3, 1, 0, 9 }, /* U */
{ 1, 1, 3, 0, 9 }, /* V */ { 1, 3, 3, 0, 9 }, /* V */
}, },
.flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE, .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,
}, },