[vlc-devel] [PATCH] DXVA2: output an opaque pixel format with D3D9 surfaces internally

Jean-Baptiste Kempf jb at videolan.org
Mon Apr 20 16:18:19 CEST 2015


On 20 Apr, Steve Lhomme wrote :
> +/* DXVA2 opaque video surface for use with D3D9 */
> +#define VLC_CODEC_DXVA_N_OPAQUE  VLC_FOURCC('D','X','A','9')
> +#define VLC_CODEC_DXVA_Y_OPAQUE  VLC_FOURCC('D','X','Y','9')
> +#define VLC_CODEC_DXVA_I_OPAQUE  VLC_FOURCC('D','X','I','9')

I don't see the need of that.

Opaque is opaque, not tied to a pixel format.
It should hold something for IDirect3D9Surface *, nothing pixel
specific.

> +    { { VLC_CODEC_DXVA_N_OPAQUE, VLC_CODEC_DXVA_Y_OPAQUE, VLC_CODEC_DXVA_I_OPAQUE, },
> +                                                FAKE_FMT() },
> +

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