摘要 |
A method and system are provided in which color channel information may be stored in a multimedia processor. The color channel information may comprise information for each of the color filter positions in a color filter pattern. The color channel information may be stored in a plurality of registers, wherein each register may correspond to a color channel. The color channel information may be dynamically stored in the multimedia processor. Based on the color channel information, a color channel may be assigned to each color filter position. The color channel assigned to a color filter position may be one of red, green, blue, white, cyan, yellow, and/or magenta. When an indication of the color filter pattern is received, the assignment may be based on both the color channel information and the received indication. Pixel values associated with the color filter pattern may be processed based on the color channel assignment. |