History

avutil/pixdesc: try to fix NV20* descriptors

They where inconsistent (overlapping fields and wrong sizes)

Michael Niedermayer committed 13 years ago

Commit 8310bcc1 parent 90ca5a91 file · +6 −6Browse files

Unified · Split

libavutil/pixdesc.c+6−6
@@ -1824,9 +1824,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 1823 unmodified lines
18241824 .log2_chroma_w = 1,
18251825 .log2_chroma_h = 0,
18261826 .comp = {
1827− { 0, 0, 1, 0, 9 }, /* Y */
1828− { 1, 1, 1, 0, 9 }, /* U */
1829− { 1, 1, 3, 0, 9 }, /* V */
1827+ { 0, 1, 1, 0, 9 }, /* Y */
1828+ { 1, 3, 1, 0, 9 }, /* U */
1829+ { 1, 3, 3, 0, 9 }, /* V */
18301830 },
18311831 .flags = AV_PIX_FMT_FLAG_PLANAR,
18321832 },
@@ -1836,9 +1836,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
18361836 .log2_chroma_w = 1,
18371837 .log2_chroma_h = 0,
18381838 .comp = {
1839− { 0, 0, 1, 0, 9 }, /* Y */
1840− { 1, 1, 1, 0, 9 }, /* U */
1841− { 1, 1, 3, 0, 9 }, /* V */
1839+ { 0, 1, 1, 0, 9 }, /* Y */
1840+ { 1, 3, 1, 0, 9 }, /* U */
1841+ { 1, 3, 3, 0, 9 }, /* V */
18421842 },
18431843 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,
18441844 },

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t