Re: [PATCH v2 16/28] drm/i2c: tda998x: change the videoquantization

From: Russell King - ARM Linux
Date: Sat Jan 11 2014 - 13:23:09 EST


On Thu, Jan 09, 2014 at 12:05:00PM +0100, Jean-Francois Moine wrote:
> This patch changes the video quantization to RGB/YUV.

Strong NAK, this patch is definitely incorrect.

The Cubox (which I assume is the platform you're generating these patches
for) produces RGB at it's output, which are the RGB values from the
framebuffer. Being a computer-like "IT" source, these RGB values have the
full range, from zero to 255, rather than the limited range of 16 to 235.

With limited range, a value of 16 is black and 235 is white. However, the
values in the framebuffer will be zero for black and 255 for white.

A VQR value of 1 gives limited range of 16 to 235, whereas zero gives
full range. The value of zero is correct here.

--
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/