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
1824 .log2_chroma_w = 1,1824 .log2_chroma_w = 1,
1825 .log2_chroma_h = 0,1825 .log2_chroma_h = 0,
1826 .comp = {1826 .comp = {
1827 { 0, 0, 1, 0, 9 }, /* Y */1827 { 0, 1, 1, 0, 9 }, /* Y */
1828 { 1, 1, 1, 0, 9 }, /* U */1828 { 1, 3, 1, 0, 9 }, /* U */
1829 { 1, 1, 3, 0, 9 }, /* V */1829 { 1, 3, 3, 0, 9 }, /* V */
1830 },1830 },
1831 .flags = AV_PIX_FMT_FLAG_PLANAR,1831 .flags = AV_PIX_FMT_FLAG_PLANAR,
1832 },1832 },
@@ -1836,9 +1836,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1836 .log2_chroma_w = 1,1836 .log2_chroma_w = 1,
1837 .log2_chroma_h = 0,1837 .log2_chroma_h = 0,
1838 .comp = {1838 .comp = {
1839 { 0, 0, 1, 0, 9 }, /* Y */1839 { 0, 1, 1, 0, 9 }, /* Y */
1840 { 1, 1, 1, 0, 9 }, /* U */1840 { 1, 3, 1, 0, 9 }, /* U */
1841 { 1, 1, 3, 0, 9 }, /* V */1841 { 1, 3, 3, 0, 9 }, /* V */
1842 },1842 },
1843 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,1843 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,
1844 },1844 },

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