147-2
06-18-2007, 10:38 AM
I am using OpenGL to convert YUV to RGB. I don't use Xv because it has some pretty awful tearing artifacts, and I need to be able to run a lot of video through my application.
I am wondering if there's a way I can convince my Linux implementation to allow me to use a 1 component texture. I don't want this deal where OpenGL fans out the values, for example,
GL_RED { R }
becomes
GL_RGBA { R 0 0 1 }
This conversion happens on the "CPU side" of the bus, the number and size of textures I am pushing each frame can be prohibitively expensive.
I have full control over my application's environment, so any X setting adjustments or tricks are perfectly acceptable.
Thank you very much
Rob
I am wondering if there's a way I can convince my Linux implementation to allow me to use a 1 component texture. I don't want this deal where OpenGL fans out the values, for example,
GL_RED { R }
becomes
GL_RGBA { R 0 0 1 }
This conversion happens on the "CPU side" of the bus, the number and size of textures I am pushing each frame can be prohibitively expensive.
I have full control over my application's environment, so any X setting adjustments or tricks are perfectly acceptable.
Thank you very much
Rob