[vlc-devel] [PATCH] DXVA2: output opaque GPU surfaces that can be used directly by D3D9

Jean-Baptiste Kempf jb at videolan.org
Tue Apr 28 13:27:11 CEST 2015


On 28 Apr, Steve Lhomme wrote :
>  include/vlc_fourcc.h                 |   3 +
>  src/misc/fourcc.c                    |   2 +-

This needs to be in a different commit.

>  modules/video_chroma/copy.c          |  40 ++++--

Idem. And should not have switches on this place. Use different
functions.

>  modules/codec/Makefile.am            |   3 +-
>  modules/codec/avcodec/dxva2.c        | 153 ++++++++++++++-------
>  modules/codec/avcodec/va.c           |   2 +-

This needs to be in one commit.

>  modules/video_output/Makefile.am     |   3 +-
>  modules/video_output/msw/direct3d9.c | 153 ++++++++++-----------

idem.

>  src/video_output/vout_wrapper.c      |  15 ++-
>  src/win32/direct3d9_pool.c           | 248 +++++++++++++++++++++++++++++++++++
>  src/win32/direct3d9_pool.h           |  39 ++++++

idem.

Moreover, why do you need to have the direct3d9_pool part in the core?
It's not really portable, and is a bit weird to have there, especially
when D3D11 is arriving.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list