WSL2-Linux-Kernel/Documentation/media
Hans Verkuil 35879ee476 [media] videodev2.h: go back to limited range Y'CbCr for SRGB and, ADOBERGB
This reverts 'commit 7e0739cd9c ("[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: 7e0739cd9c ("[media] videodev2.h: fix sYCC/AdobeYCC default quantization range")
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org>      # for v4.9 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-02-13 14:33:56 -02:00
..
dvb-drivers Doc: Correct typo, "Introdution" => "Introduction" 2016-12-01 10:44:08 -07:00
kapi [media] cec: pass parent device in register(), not allocate() 2016-11-29 12:07:17 -02:00
uapi [media] videodev2.h: go back to limited range Y'CbCr for SRGB and, ADOBERGB 2017-02-13 14:33:56 -02:00
v4l-drivers Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
.gitignore docs-rst: media: build SVG from graphviz files 2016-11-30 17:07:54 -07:00
Makefile Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
audio.h.rst.exceptions
ca.h.rst.exceptions
cec.h.rst.exceptions
conf.py
conf_nitpick.py
dmx.h.rst.exceptions
frontend.h.rst.exceptions
index.rst docs-rst: fix LaTeX \DURole renewcommand with Sphinx 1.3+ 2016-11-16 15:20:12 -07:00
intro.rst docs-rst: auto-generate PDF image files 2016-11-16 15:20:59 -07:00
lirc.h.rst.exceptions
media.h.rst.exceptions
media_kapi.rst [media] doc-rst: v4l: Add documentation on CSI-2 bus configuration 2016-11-18 13:27:03 -02:00
media_uapi.rst
net.h.rst.exceptions
typical_media_device.svg Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
video.h.rst.exceptions
videodev2.h.rst.exceptions [media] vidioc-g-dv-timings.rst: document the new dv_timings flags 2016-11-16 14:37:57 -02:00