[cairo] [glitz] Patch for IMC2 format

Patrick Pailhes patrick.pailhes at gmail.com
Thu Mar 16 08:40:18 PST 2006


Attached is a patch that implements the IMC2 format in the functions
_glitz_pixel_transform and glitz_set_pixels (in file glitz_pixel.c).
The code in the function _glitz_pixel_transform deals with "isolating"
the Y, U (Cb), V (Cr) components of given IMC2 data. The code in the
function glitz_set_pixels loads IMC2 data to a texture via
glTexSubImage2D.

Regards

Patrick Pailhes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imc2.diff
Type: text/x-patch
Size: 5260 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060316/1a69e961/imc2.bin


More information about the cairo mailing list