diff options
author | NVIDIA Corporation <> | 2009-01-16 02:14:07 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-01-16 02:14:07 +0000 |
commit | d37edddc09527fbeba3099d8af123a2af879e112 (patch) | |
tree | 5c27a764447b09e82bb2eea8a6f0bdef99bcef22 /libavutil | |
parent | 3700d8002809defe16f555490007fa69c3ddcfc9 (diff) | |
download | ffmpeg-d37edddc09527fbeba3099d8af123a2af879e112.tar.gz |
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/avutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h index 7366718579..ad5af25703 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -122,6 +122,8 @@ enum PixelFormat { PIX_FMT_YUVJ440P, ///< Planar YUV 4:4:0 full scale (jpeg) PIX_FMT_YUVA420P, ///< Planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples) PIX_FMT_VDPAU_H264,///< H264 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers + PIX_FMT_VDPAU_MPEG1,///< MPEG1 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers + PIX_FMT_VDPAU_MPEG2,///< MPEG2 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions }; |