[vlc-devel] [PATCH 0/2] VDPAU support - failed

Rémi Denis-Courmont remi at remlab.net
Sat Oct 27 12:01:39 CEST 2012


	Hello,

I tried to get VDPAU acceleration to work via libavcodec.
I failed miserably: AVC pictures are totally corrupt.
ASP pictures are black with some noise. MPEG-2 fails completely.
I did not even try VC-1 and MPEG-1.

The libav developers would want VDPAU support to be unified with the
other hardware acceleration methods. I don't think I can do it without
working starting point The libavcodec plugin is really not an area that
I am familiar with, so I have to give up at this point.

The following changes since commit 40d4d0fdf1269e28095e778e2486d9184c1733f1:

  PulseAudio: log buffer attribute changes (2012-10-26 21:34:44 +0300)

are available in the git repository at:

  http://git.remlab.net/git/vlc.git vdpau

for you to fetch changes up to 469583bde7f5c31218f2b3da423e79a0444e2ff4:

  vdpau: hardware decoding with avcodec (NOT WORKING) (2012-10-27 12:50:30 +0300)

----------------------------------------------------------------
Rémi Denis-Courmont (2):
      avcodec: pass whole AVCodecContext instead of hwaccel_context only
      vdpau: hardware decoding with avcodec (NOT WORKING)

 modules/codec/Modules.am      |   10 +
 modules/codec/avcodec/dxva2.c |    6 +-
 modules/codec/avcodec/va.h    |    8 +-
 modules/codec/avcodec/vaapi.c |   11 +-
 modules/codec/avcodec/vda.c   |    8 +-
 modules/codec/avcodec/vdpau.c |  419 +++++++++++++++++++++++++++++++++++++++++
 modules/codec/avcodec/video.c |   10 +-
 7 files changed, 451 insertions(+), 21 deletions(-)
 create mode 100644 modules/codec/avcodec/vdpau.c

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list