Patent ID: 7973802

Claim:
A graphics system for performing color space conversion, comprising: a shader pipeline configured to receive fragment data and produce shaded color data; a raster operation unit configured to receive the shaded color data and perform raster operations to produce processed color data; and a linear to nonlinear color conversion unit configured to receive the shaded color data or the processed color data and produce color data represented in a nonlinear color space, by: selecting one or more color components of the shaded color data or processed color data for conversion to a color component in a nonlinear color space, wherein each of the selected color components include a sign, an exponent, and a mantissa, for each color component selected, generating a corresponding color component in a nonlinear color space by: generating an index to a look-up table based on a portion of the exponent of the selected color component, based on the index, extracting from the look-up table a first color component represented in the nonlinear color space, and clamping the first color component based on the sign and the portion of the exponent of the selected color component to produce a second color component represented in the nonlinear color space, wherein the shader pipeline, the raster operation unit, and the linear to nonlinear color conversion unit are included in a graphics processor.