]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-tpg: don't clamp XV601/709 to lim range
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 10 Apr 2017 07:54:30 +0000 (04:54 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 10 Apr 2017 17:58:06 +0000 (14:58 -0300)
commit4aed35ca73f6d9cfd5f7089ba5d04f5fb8623080
treed3bd2500617c8e9f534a65ad0c5f4ac613636649
parent86c7eb411b2450dafee3b0ec5c4c191f83e6511f
[media] v4l2-tpg: don't clamp XV601/709 to lim range

The XV601/709 encodings are special: they signal limited range, but use the full range
to encode a larger gamut with R', G' and B' values outside the [0-1] range.

So don't clamp to limited range for these two encodings.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c