Views
there are 3 color-spaces
greyscale
8bit per pixel
all platforms
- format:
GL_LUMINANCE
- type:
GL_UNSIGNED_BYTE
- {chGrey} = {0}
YUV
actually this is Y'UV422 (aka UYVY)
32bit for 2 pixels
OSX (ppc)
- format:
GL_YCBCR_422_APPLE
- type:
GL_UNSIGNED_SHORT_8_8_REV_APPLE
- {chU, chY0, chV, chY1} = {0,1,2,3}
OSX (i686)
- format:
GL_YCBCR_422_APPLE
- type:
GL_UNSIGNED_SHORT_8_8_APPLE
- {chU, chY0, chV, chY1} = {0,1,2,3}
other (i686)
- format:
GL_YCBCR_422_APPLE
- type:
GL_UNSIGNED_BYTE
- {chU, chY0, chV, chY1} = {0,1,2,3}
RGBA
32bit (4*8bit) per pixel
OSX (ppc)
- format:
GL_BGRA_EXT
- type:
GL_UNSIGNED_INT_8_8_8_8_REV
- {chRed, chGreen, chBlue, chAlpha} = {1,2,3,0} ?
- QuickTime: k32ARGBPixelFormat
OSX (i686)
- format:
GL_BGRA_EXT
- type:
GL_UNSIGNED_INT_8_8_8_8
- {chRed, chGreen, chBlue, chAlpha} = {1,2,3,0} ?
- QuickTime: k32ARGBPixelFormat ?
linux (i686)
- format:
GL_RGBA
- type:
GL_UNSIGNED_BYTE
- {chRed, chGreen, chBlue, chAlpha} = {0,1,2,3}
w32 (i686)
- format:
GL_RGBA
- type:
GL_UNSIGNED_BYTE
- {chRed, chGreen, chBlue, chAlpha} = {0,1,2,3}
- QuickTime: k32RGBAPixelFormat ?