# HG changeset patch # User cehoyos # Date 1231113327 0 # Node ID db847fe502b59ae13de09fcd686980a63f65c5ff # Parent 1f3b92c985eb3feb162ad4b7f7550b1768bf306c Add VDPAU hardware accelerated decoding for H264 which can be used by video players. Original patch by NVIDIA corporation. diff -r 1f3b92c985eb -r db847fe502b5 avutil.h --- a/avutil.h Sun Jan 04 17:48:54 2009 +0000 +++ b/avutil.h Sun Jan 04 23:55:27 2009 +0000 @@ -121,6 +121,7 @@ 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 };