summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorNVIDIA Corporation <>2009-01-04 23:55:27 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-01-04 23:55:27 +0000
commit369122dd775c906be06b9c96f03eaedaedb91658 (patch)
tree98cfb62add0d54a64873bff18b270924b71a5c4e /libavutil
parentbc1d2afb3757ef89d23fd3f91202a3400e3c76da (diff)
Add VDPAU hardware accelerated decoding for H264 which can be used by
video players. Original patch by NVIDIA corporation. Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/avutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index a21a8a475f..7366718579 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -121,6 +121,7 @@ enum PixelFormat {
PIX_FMT_YUV440P, ///< Planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
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_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
};