From: Hans Verkuil Date: Tue, 27 Jan 2015 16:46:17 +0000 (-0300) Subject: [media] vivid: Y offset should depend on quant. range X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~131^2~186 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afad4dd50acbe6457413ec6a68708433d9824d37;p=pandora-kernel.git [media] vivid: Y offset should depend on quant. range When converting to or from Y'CbCr and R'G'B' the Y offset depends on the quantization range: it's 0 for full and 16 for limited range. But in the code it was hardcoded to 16. This messed up the brightness of the generated pattern. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed