VDPAU VdpOutputSurface and YCbCr
I would like to ask if it's possible to fetch VdpOutputSurface pixel data in VDP_YCBCR_FORMAT_YV12 format, or in any other VDP_YCBCR_*. In other words - does the VdpVideoMixer has possibility to output YCbCr format or it just performs color space conversion and works on RGB then?
I would like to benefit from hardware decoding, deinterlacing, scaling and even overlaying using VDPAU and I would like to feed another codec with output from VDPAU. It accepts only YUV.
Of course I can perform RGB->YUV color space conversion on my own, but it would be nice if I could skip this step for higher performance of overall system.
Thanks and regards.
Re: VDPAU VdpOutputSurface and YCbCr
mINA87, the VdpVideoMixer can only output to a VdpOutputSurface, which always contains RGB data.
With the recently added VDPAU <-> OpenGL/CUDA interop, you could still use the GPU to HW-accelerate de-interlacing, scaling, etc., but you'd have to write your own shader algorithms to do this.
|All times are GMT -5. The time now is 08:52 PM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.