[vlc-devel] VDPAU decoder

Etienne Membrives etienne at membrives.fr
Fri Aug 14 09:02:41 CEST 2009


Hello,

As a university project, we implemented a VDPAU decoder for VLC, working
for H.264 videos. The enclosed patch provides the decoder and the
modifications to the build system to compile it.

This decoder is based on avcodec; like current VAAPI support by Laurent
Aimar in the VLC source tree, this VDPAU decoder uses API calls to
decode pictures and retrieve them from the graphic card. The output is
I420 pictures. Thus, this is fully compatible with OSD or any filter.
However, it doesn't make use of the VDPAU presentation API to speed up
display.

It should be noted that this patch is experimental. Some values
(explained in the code) are hardcoded, even if they shouldn't in our
opinion. Additionally, in order to integrate VDPAU support in VLC, it
may be useful to merge this decoder into the regular avcodec decoder, to
simplify maintenance.

One example of a working video is the "nature" clip from MPlayer samples
[1].

Regards,
-- 
Kevin Keraudren, Etienne Membrives, Tilo Van Ekeris

[1]http://samples.mplayerhq.hu.nyud.net/V-codecs/h264/nature_704x576_25Hz_1500kbits.h264
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdpau-20090812.diff
Type: text/x-diff
Size: 97011 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090814/b47b1f8c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090814/b47b1f8c/attachment.sig>


More information about the vlc-devel mailing list