Patent ID: 8165393

Claim:
A method for compressing a high dynamic range (HDR) texture, comprising: transforming a first block of texels of the HDR texture in a red-green-blue (RGB) space to a second block of texels in a luminance-chrominance space, the first block having red values, green values and blue values and the second block having luminance values and chrominance values, the chrominance values being based on a sum of the red values, a sum of the green values and a sum of the blue values, wherein transforming the first block of texels comprises: selecting channels from the RGB space corresponding to two lowest sums of the sum of the red values, the sum of the green values and the sum of the blue values; and determining the chrominance values based on the RGB values of the selected channels; converting the luminance values and the chrominance values to an 8-bit integer format; modifying the luminance values to restore a local linearity property to the second block; and compressing the second block.