摘要 |
A method and apparatus for improving the quality of video data when displayed on a display device that uses YUV output data to produce a display includes processing that begins by generating expanded RGB data from received RGB data. For example, the RGB data may be 8-bit data and the expanded data is generated by adding bits to it. The processing continues by generating RGB representative data from received YUV data. The RGB representative data is of the same format as the expanded RGB data and has a value range that includes and exceeds the normalized value range of the perceived RGB data. For example, the RGB representative data may have values less than zero and/or greater than 1, or normalized values outside of the zero to 1 range. The processing then continues by mixing the RGB representative data and the expanded RGB data to produce resulting RGB data, which has a similar format as both the expanded RGB data and the RGB representative data. The processing continues by converting the resulting RGB data into RGB output data. Such a conversion involves removing extra bits such that the RGB output data has a normalized value range of the received RGB data (i.e., having RGB component values in the range of zero to 1). The processing then continues by converting the resulting RGB data, which has the expanded RGB format, into YUV output data.
|