aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pixdesc.c
diff options
context:
space:
mode:
authorLars Täuber <lars.taeuber@gmx.net>2009-09-05 23:33:25 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-09-05 23:33:25 +0000
commit35f6c154056549a24d9400587c62eb48bd7cad67 (patch)
tree40d94663850448fb15da4868da6fb204197ed638 /libavcodec/pixdesc.c
parent991e579cae838bc5a10ef6346b5b5f2abd0b01cb (diff)
downloadffmpeg-35f6c154056549a24d9400587c62eb48bd7cad67.tar.gz
Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>. Originally committed as revision 19775 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pixdesc.c')
-rw-r--r--libavcodec/pixdesc.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libavcodec/pixdesc.c b/libavcodec/pixdesc.c
index a313c95cf1..d9f2eaac80 100644
--- a/libavcodec/pixdesc.c
+++ b/libavcodec/pixdesc.c
@@ -511,8 +511,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
{0,1,1,0,4}, /* R */
},
},
- [PIX_FMT_YUV420PLE] = {
- .name = "yuv420ple",
+ [PIX_FMT_YUV420P16LE] = {
+ .name = "yuv420p16le",
.nb_channels = 3,
.log2_chroma_w= 1,
.log2_chroma_h= 1,
@@ -522,8 +522,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
{2,1,1,0,15}, /* V */
},
},
- [PIX_FMT_YUV420PBE] = {
- .name = "yuv420pbe",
+ [PIX_FMT_YUV420P16BE] = {
+ .name = "yuv420p16be",
.nb_channels = 3,
.log2_chroma_w= 1,
.log2_chroma_h= 1,
@@ -534,8 +534,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
},
.flags = PIX_FMT_BE,
},
- [PIX_FMT_YUV422PLE] = {
- .name = "yuv422ple",
+ [PIX_FMT_YUV422P16LE] = {
+ .name = "yuv422p16le",
.nb_channels = 3,
.log2_chroma_w= 1,
.log2_chroma_h= 0,
@@ -545,8 +545,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
{2,1,1,0,15}, /* V */
},
},
- [PIX_FMT_YUV422PBE] = {
- .name = "yuv422pbe",
+ [PIX_FMT_YUV422P16BE] = {
+ .name = "yuv422p16be",
.nb_channels = 3,
.log2_chroma_w= 1,
.log2_chroma_h= 0,
@@ -557,8 +557,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
},
.flags = PIX_FMT_BE,
},
- [PIX_FMT_YUV444PLE] = {
- .name = "yuv444ple",
+ [PIX_FMT_YUV444P16LE] = {
+ .name = "yuv444p16le",
.nb_channels = 3,
.log2_chroma_w= 0,
.log2_chroma_h= 0,
@@ -568,8 +568,8 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
{2,1,1,0,15}, /* V */
},
},
- [PIX_FMT_YUV444PBE] = {
- .name = "yuv444pbe",
+ [PIX_FMT_YUV444P16BE] = {
+ .name = "yuv444p16be",
.nb_channels = 3,
.log2_chroma_w= 0,
.log2_chroma_h= 0,