Sample code in order to use VDPAU and libAV

Hi everyone,

I’m looking for an example code which indicates how to use VDPAU with libAV (C or C++) in order to decode a H264 stream with hardware acceleration.
Each code that I’ve found uses undefined/deprecated functions.
Is someone has any working sample code or documentation ?

Thanks in advance,


Vince