linux/Documentation/media
Hans Verkuil 79e92dc0ec [media] videodev2.h: map xvYCC601/709 to limited range quantization
The xvYCC601/709 encodings were mapped by default to full range quantization.
This is actually wrong since these encodings use limited range quantization,
but accept values outside of the limited range.

This makes sense since for values within the limited range it behaves exactly
the same as BT.601 or Rec. 709. The only difference is that with the xvYCC
encodings the values outside of the limited range also produce value colors.

Talking to people who know a lot more about this than I do made me realize
that mapping xvYCC to full range quantization was wrong, so this patch corrects
this and also improves the documentation.

These formats are very rare, and since the formula for decoding these Y'CbCr
encodings is actually fixed and independent of the quantization field value
it is safe to make this change.

The main advantage is that keeps the V4L2 specification in sync with the
corresponding colorspace, HDMI and CEA861 standards when it comes to these
xvYCC formats.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-03-22 10:13:26 -03:00
..
dvb-drivers scripts/spelling.txt: add "an user" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
kapi [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
uapi [media] videodev2.h: map xvYCC601/709 to limited range quantization 2017-03-22 10:13:26 -03:00
v4l-drivers Linux 4.11-rc1 2017-03-06 06:49:34 -03:00
.gitignore docs-rst: media: build SVG from graphviz files 2016-11-30 17:07:54 -07:00
audio.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
ca.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
cec.h.rst.exceptions [media] docs-rst: fix cec bad cross-references 2016-09-09 09:54:21 -03:00
conf_nitpick.py [media] conf_nitpick.py: ignore C domain data used on vb2 2016-09-09 10:18:07 -03:00
conf.py doc-rst: define PDF's of the media folder 2016-09-01 08:49:33 -06:00
dmx.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
frontend.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
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
Makefile Add a target to check broken external links in the Documentation 2017-02-15 15:22:47 -07:00
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 [media] doc-rst: better organize the media books 2016-07-23 08:03:24 -03:00
media.h.rst.exceptions
net.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
typical_media_device.svg Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
video.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
videodev2.h.rst.exceptions [media] vidioc-g-dv-timings.rst: document the new dv_timings flags 2016-11-16 14:37:57 -02:00