On Mon, Jan 05, 2009 at 12:55:28AM +0100, cehoyos wrote:
Log: Add VDPAU hardware accelerated decoding for H264 which will be used by MPlayer.
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/libavcodec/vdpau_render.h Mon Jan 5 00:55:27 2009 (r16431) @@ -0,0 +1,86 @@ + +/** + * \brief This structure is used as a CALL-BACK between the ffmpeg + * decoder (vd_) and presentation (vo_) module.
This comment makes no sense at all and refers to MPlayer internals.
+ union _VdpPictureInfo {
illegal identifier
+ /** Describe size/location of the compressed video data */ + int bitstreamBuffersAlloced;
allocated
+ int bitstreamBuffersUsed; + VdpBitstreamBuffer *bitstreamBuffers;
All these camel-cased variable names are plenty ugly. This code was committed prematurely. I know that Michael had given his OK already, but there were still outstanding comments. Also, this code is based on a low-quality crufty part of FFmpeg (xvmc) and inherits its problems, i.e. only usable through internal API. I'm starting to think it might be better to revert this and subject it to closer scrutiny before we make it part of the external API. Diego