aboutsummaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorStefano Sabatini2009-11-05 23:45:15 +0000
committerStefano Sabatini2009-11-05 23:45:15 +0000
commit3fa70a3bc86bbd39b689ae04a8076cf285e7317f (patch)
treecde27f4b7275d25b41944396da13f0b183c790c0 /libavutil
parent64de20d18bdf3b799236f7d2b468692a355a1edc (diff)
Add pixel format descriptors for the HW-accelerated formats.
This completes the list of all descriptors in av_pix_fmt_descriptors. Originally committed as revision 20467 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/pixdesc.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index e86e32cf02..a462b07810 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -183,6 +183,14 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
{2,0,1,0,7}, /* V */
},
},
+ [PIX_FMT_XVMC_MPEG2_MC] = {
+ .name = "xvmc_mpeg2_mc",
+ .flags = PIX_FMT_HWACCEL,
+ },
+ [PIX_FMT_XVMC_MPEG2_IDCT] = {
+ .name = "xvmc_mpeg2_idct",
+ .flags = PIX_FMT_HWACCEL,
+ },
[PIX_FMT_UYVY422] = {
.name = "uyvy422",
.nb_channels = 3,
@@ -400,6 +408,36 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
{3,0,1,0,7}, /* A */
},
},
+ [PIX_FMT_VDPAU_H264] = {
+ .name = "vdpau_h264",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
+ [PIX_FMT_VDPAU_MPEG1] = {
+ .name = "vdpau_mpeg1",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
+ [PIX_FMT_VDPAU_MPEG2] = {
+ .name = "vdpau_mpeg2",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
+ [PIX_FMT_VDPAU_WMV3] = {
+ .name = "vdpau_wmv3",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
+ [PIX_FMT_VDPAU_VC1] = {
+ .name = "vdpau_vc1",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
[PIX_FMT_RGB48BE] = {
.name = "rgb48be",
.nb_channels = 3,
@@ -515,6 +553,24 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
{0,1,1,0,4}, /* R */
},
},
+ [PIX_FMT_VAAPI_MOCO] = {
+ .name = "vaapi_moco",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
+ [PIX_FMT_VAAPI_IDCT] = {
+ .name = "vaapi_idct",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
+ [PIX_FMT_VAAPI_VLD] = {
+ .name = "vaapi_vld",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
[PIX_FMT_YUV420P16LE] = {
.name = "yuv420p16le",
.nb_channels = 3,