|
|
#1 | |
|
Registered User
|
Will VDPPAU be able to provide decoded frames and presentation times as OpenGL Textures at some point? Or decode directly to a provided texture object?
I haven't read through the API, but the online API docs don't hint at this ability. Regards, Bruce Wheaton |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: May 2004
Posts: 711
|
It can output to X pixmaps, you can use GLX_texture_from_pixmap to create textures out of them, see: http://lists.freedesktop.org/archive...er/040489.html
|
|
|
|
|
|
|
#3 |
|
Registered User
|
Thanks, and pardon my ignorance, but can X pixmaps be resident on the GPU? I can't tolerate a round-trip with the videos I have to deal with.
Bruce |
|
|
|
|
|
#4 | |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
Yes, that's the whole point of GLX_EXT_texture_from_pixmap.
|
|
|
|
|
|
|
#5 |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
I guess when you mix vdpau with opengl using glx_ext_texture_from_pixmap a memory copy needs to happen. Is it possible to prevent this? A friend of mine is considering using nvidia hardware in a broadcast product in which he in the end wants to render 4 720p streams simultaneously. I know right now vdpau offers only one stream, but would the hardware be fast enough for this? (a pci-express 2.0 link would likely be required for the bandwidth)
|
|
|
|
|
|
#6 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
Quote:
As an aside, it sounds like your friend is creating a professional product. I'd advise him/her to contact the NVIDIA professional services group to discuss his/her requirements. That group may be able to help prioritize any engineering effort for his/her project. |
|
|
|
|
|
|
#7 |
|
NVIDIA Corporation
Join Date: Feb 2005
Location: San Jose
Posts: 37
|
Also note the required copy operation would be from video memory -> video memory, which is VERY fast and wouldn't use any PCI-E bus or system memory bandwidth.
|
|
|
|
|
|
#8 |
|
Registered User
|
Hi jamesjones,
Do we have any example for GLX texture from pixmap? We are moving our karaoke player box to HD box, we need to render some special opengl effect with menu and karaoke lyric over HD image. Please give some snippet code examples on rendering vdpau to X pixmap. thank advance, |
|
|
|
![]() |
| Thread Tools | |
|
|