st/vdpau: add format conversions for GetBitsYCbCr

Graphics / Mesa 3D Graphics Library / Mesa - Grigori Goronzy [chown.ath.cx] - 13 October 2013 13:09 UTC

Add simple plain C routines for NV12<->YV12 and YUYV<->UYVY conversions. The NV12->YV12 conversion is commonly used, for instance by VLC.

e6c2afa st/vdpau: add format conversions for GetBitsYCbCr
src/gallium/state_trackers/vdpau/surface.c | 125 ++++++++++++++++++++++++++--
1 file changed, 117 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share