From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 06/02/2001 16:52:41
Performer textures support any internal/external format that OpenGL
textures support. Take a look at glTexImage2D; you will be ably to use any
of the formats listed there and pfTexture accepts them as parameters.
Off the top of my head, I do not think OpenGL can accept YUV textures. On
a machine with the ARB_Imaging extensions, or any sgi hardware, you could
set up a matrix that will convert your texture colors with a color
matrix. I think that YUV or YCrCb conversion to RGB can be done with a 3x3
matrix. I'm sure you will find what the matrix is if you do a search on
the web.
-- Marcin
On Sat, 2 Jun 2001, Gernot Ziegler wrote:
> Hej guys !
>
> Eerm, maybe a silly question:
> How can I feed a texture in YUV-format to Performer ?
>
> Is there maybe even a possibility to feed it with, say, two Y-bytes and
> one U and V-byte and still get two texture pixels out of it ?
>
> That would reduce the conversion time even further ...
>
> thanks for your help ! :-)
>
> Servus,
> Gernot
>
> /-----------------------------W-E-L-C-O-M-E------------------------------\
> T The Austria <=> Sweden connection..... T
> | E-Mail: gz++at++lysator.liu.se H
> O Homepage: http://www.lysator.liu.se/~gz E
> \------------------------------F-U-T-U-R-E-------------------------------/
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
This archive was generated by hypermail 2b29 : Sat Jun 02 2001 - 16:52:45 PDT