Patent attributes
Methods and systems are disclosed for preprocessing video display pixel data. A preprocessor is provided with a selectable gamma correction mode and a selectable palette lookup mode. In palette lookup mode, a LUT memory area is used for performing a palette lookup for each of the red, green, and blue components of video pixel data, concatenating the paletted red, green, and blue components, and outputting paletted preprocessed pixel data. In gamma correction mode, the preprocessor uses the same LUT memory area for performing gamma correction on each of the red, green, and blue components of video pixel data, concatenating the gamma-corrected red, green, and blue components, and outputting a gamma-corrected preprocessed pixel data.