summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Tunnissen <Marcel.Tuennissen@stericsson.com>2011-05-04 11:02:38 +0200
committerHenrik Aberg <henrik.aberg@stericsson.com>2011-05-18 09:40:14 +0200
commita792344db36847880ddfe430b5e91f6b60a14bcf (patch)
tree0567f3f6f1f4aba43c4cf9c767fb4f15d9a11888
parent9b6a84e2b85e9ff5bdd85a2e3db222f287f3e30e (diff)
video: av8100: Fix colors for HDMI with a YUV port
This patch changes the matrix that is used for HDMI out with a YUV 422 pixel format from MCDE. The effect was e.g. that yellow colors appeared a bit greenish. ST-Ericsson ID: 338207 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic4e3c17bbe54d89fd060b682202cc9ea853c7989 Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22275 Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: QATEST Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
-rw-r--r--drivers/video/av8100/av8100.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/av8100/av8100.c b/drivers/video/av8100/av8100.c
index d1d77b3bf16..911ce24e1ed 100644
--- a/drivers/video/av8100/av8100.c
+++ b/drivers/video/av8100/av8100.c
@@ -433,10 +433,10 @@ const struct color_conversion_cmd col_trans_yuv_to_rgb_v1 = {
};
const struct color_conversion_cmd col_trans_yuv_to_rgb_v2 = {
- .c0 = 0x0204, .c1 = 0x012a, .c2 = 0x0000,
- .c3 = 0xff9c, .c4 = 0x012a, .c5 = 0xff30,
- .c6 = 0x0000, .c7 = 0x012a, .c8 = 0x0198,
- .aoffset = 0xfeeb, .boffset = 0x0088, .coffset = 0xff21,
+ .c0 = 0x0198, .c1 = 0x012a, .c2 = 0x0000,
+ .c3 = 0xff30, .c4 = 0x012a, .c5 = 0xff9c,
+ .c6 = 0x0000, .c7 = 0x012a, .c8 = 0x0204,
+ .aoffset = 0xff21, .boffset = 0x0088, .coffset = 0xfeeb,
.lmax = 0xff,
.lmin = 0x00,
.cmax = 0xff,