aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2017-02-10 07:18:36 -0200
committerMauro Carvalho Chehab <[email protected]>2017-02-13 14:33:56 -0200
commit35879ee4769099905fa3bda0b21e73d434e2df6a (patch)
tree7f6040964025552c31bc3ab8b84761d3522aef46 /tools/perf/scripts/python
parentf9f96fc10c09ca16e336854c08bc1563eed97985 (diff)
[media] videodev2.h: go back to limited range Y'CbCr for SRGB and, ADOBERGB
This reverts 'commit 7e0739cd9c40 ("[media] videodev2.h: fix sYCC/AdobeYCC default quantization range"). The problem is that many drivers can convert R'G'B' content (often from sensors) to Y'CbCr, but they all produce limited range Y'CbCr. To stay backwards compatible the default quantization range for sRGB and AdobeRGB Y'CbCr encoding should be limited range, not full range, even though the corresponding standards specify full range. Update the V4L2_MAP_QUANTIZATION_DEFAULT define accordingly and also update the documentation. Fixes: 7e0739cd9c40 ("[media] videodev2.h: fix sYCC/AdobeYCC default quantization range") Signed-off-by: Hans Verkuil <[email protected]> Cc: <[email protected]> # for v4.9 and up Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions