]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DISPC: Configure color conversion coefficients for writeback
authorArchit Taneja <archit@ti.com>
Tue, 11 Sep 2012 06:34:47 +0000 (12:04 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:51 +0000 (14:58 +0300)
commit7d577b1e8b3d192b94d20d61815081f58aa8cfd7
treee09e075957c7e9b8299e57883d50eb3cff6ee3b2
parentff8988c17ea8ec79710fbbc6d9de3430b48f796f
OMAPDSS: DISPC: Configure color conversion coefficients for writeback

Writeback pipeline receives RGB data from one of the overlays or one of the
overlay managers. If the target color mode is YUV422 or NV12, we need to convert
the RGB pixels to YUV. The scaler in WB then converts it to the target color
mode.

Hence, the color conversion coefficients that need to be programmed are the ones
which convert a RGB24 pixel to YUV444. Program these coefficients for writeback
pipeline.

Rearrange the code a bit to configure different coefficients for overlays and
writeback.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c