Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 05-30-10, 10:50 AM   #1
Registered User
Join Date: May 2010
Posts: 1
Default VDPAU VdpOutputSurface and YCbCr

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.
mINA87 is offline   Reply With Quote
Old 06-01-10, 11:06 AM   #2
Stephen Warren
Stephen Warren's Avatar
Join Date: Aug 2005
Posts: 1,327
Default 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.
Stephen Warren is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 08:14 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.