OSDN Git Service

st/vdpau: add new formats to OutputSurface rendering
authorGrigori Goronzy <greg@chown.ath.cx>
Wed, 9 Oct 2013 00:23:51 +0000 (02:23 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 9 Oct 2013 11:02:40 +0000 (13:02 +0200)
commit48563bd45c546a7759d6f739607b9f0906b4c8ad
tree0b68f34dfe3d694421e50412bf63df62cdcdcfbf
parent1a5bac2149fa2c6224b40c0b40839c2025414e79
st/vdpau: add new formats to OutputSurface rendering

OutputSurfaces have simple YCbCr rendering functionality built in,
but so far only 4:2:0 subsampling worked correctly. This fixes 4:2:2
and 4:4:4 formats.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/vdpau/output.c
src/gallium/state_trackers/vdpau/vdpau_private.h