|
|
#1 | |
|
Registered User
Join Date: May 2010
Posts: 1
|
Hello there,
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. |
|
|
|
|
|
|
#2 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
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. |
|
|
|
|
![]() |
| Thread Tools | |
|
|