# HG changeset patch # User cehoyos # Date 1232072047 0 # Node ID 69a03cf910a038d41aa5ae7e9149eed4d5a151eb # Parent 5d605aafa09dd4102e7e99b4046ccea66da21862 Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can be used by video players. Original patch by NVIDIA corporation. diff -r 5d605aafa09d -r 69a03cf910a0 avutil.h --- a/avutil.h Thu Jan 15 23:01:26 2009 +0000 +++ b/avutil.h Fri Jan 16 02:14:07 2009 +0000 @@ -122,6 +122,8 @@ 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 };