2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/Documentation/media/uapi/v4l
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
..
app-pri.rst
async.rst
audio.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
bayer.svg docs-rst: replace bayer.png by a SVG image 2016-11-30 17:07:48 -07:00
biblio.rst [media] doc-rst: linux_tv CEC part, DocBook to reST migration 2016-07-08 17:38:55 -03:00
buffer.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
capture-example.rst
capture.c.rst Revert "[media] docs-rst: escape [] characters" 2016-07-13 08:43:30 -03:00
colorspaces.rst
common-defs.rst
common.rst
compat.rst
constraints.svg docs-rst: auto-generate PDF image files 2016-11-16 15:20:59 -07:00
control.rst [media] control.rst: improve the queryctrl code examples 2016-11-16 15:27:11 -02:00
crop.rst convert more media images to SVG 2016-11-30 17:01:33 -07:00
crop.svg svg files: cleanup them 2016-11-30 17:01:57 -07:00
depth-formats.rst
dev-capture.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
dev-codec.rst [media] v4l: Document that m2m devices have a file handle specific context 2016-11-16 13:29:44 -02:00
dev-effect.rst [media] doc-rst: improve display of notes and warnings 2016-07-10 12:06:28 -03:00
dev-event.rst
dev-osd.rst [media] docs-rst: fix some broken struct references 2016-09-09 09:55:18 -03:00
dev-output.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
dev-overlay.rst [media] docs-rst: simplify c:type: cross references 2016-09-09 09:54:54 -03:00
dev-radio.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
dev-raw-vbi.rst convert more media images to SVG 2016-11-30 17:01:33 -07:00
dev-rds.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
dev-sdr.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
dev-sliced-vbi.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
dev-subdev.rst docs-rst: convert pipeline to SVG format 2016-11-30 17:07:29 -07:00
dev-teletext.rst
dev-touch.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
devices.rst [media] Documentation: add support for V4L touch devices 2016-08-23 16:39:23 -03:00
diff-v4l.rst docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
dmabuf.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
driver.rst
dv-timings.rst
extended-controls.rst [media] extended-controls.rst: fix typo 2016-11-23 19:38:28 -02:00
field-order.rst convert more media images to SVG 2016-11-30 17:01:33 -07:00
fieldseq_bt.svg svg files: cleanup them 2016-11-30 17:01:57 -07:00
fieldseq_tb.svg svg files: cleanup them 2016-11-30 17:01:57 -07:00
format.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
func-close.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
func-ioctl.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
func-mmap.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
func-munmap.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
func-open.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
func-poll.rst [media] docs-rst: fix two wrong :name: tags 2016-09-09 09:58:26 -03:00
func-read.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
func-select.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
func-write.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
hist-v4l2.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
hsv-formats.rst [media] Documentation: Add HSV format 2016-10-21 15:46:17 -02:00
io.rst
libv4l-introduction.rst [media] libv4l-introduction.rst: improve crossr-references 2016-09-09 09:56:33 -03:00
libv4l.rst
mmap.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
nv12mt_example.svg docs-rst: nv12mt zigzag images: replace by SVG images 2016-11-30 17:03:23 -07:00
nv12mt.svg docs-rst: nv12mt zigzag images: replace by SVG images 2016-11-30 17:03:23 -07:00
open.rst [media] doc-rst: use the right markup for footnotes 2016-07-12 15:15:23 -03:00
pipeline.dot docs-rst: convert pipeline to SVG format 2016-11-30 17:07:29 -07:00
pixfmt-002.rst [media] Documentation: Add HSV encodings 2016-10-21 15:53:19 -02:00
pixfmt-003.rst [media] Documentation: Add HSV encodings 2016-10-21 15:53:19 -02:00
pixfmt-004.rst
pixfmt-006.rst [media] Documentation: Add HSV encodings 2016-10-21 15:53:19 -02:00
pixfmt-007.rst [media] videodev2.h: map xvYCC601/709 to limited range quantization 2017-03-22 10:13:26 -03:00
pixfmt-008.rst
pixfmt-013.rst [media] Add documentation for V4L2_PIX_FMT_VP9 2016-10-21 12:09:31 -02:00
pixfmt-grey.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-indexed.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-m420.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-nv12.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-nv12m.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-nv12mt.rst docs-rst: nv12mt zigzag images: replace by SVG images 2016-11-30 17:03:23 -07:00
pixfmt-nv16.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-nv16m.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-nv24.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-packed-hsv.rst [media] Documentation: Add HSV encodings 2016-10-21 15:53:19 -02:00
pixfmt-packed-rgb.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-packed-yuv.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-reserved.rst [media] pixfmt-reserved.rst: Improve MT21C documentation 2016-10-21 12:09:52 -02:00
pixfmt-rgb.rst [media] v4l: Add 16-bit raw bayer pixel formats 2016-11-23 20:04:22 -02:00
pixfmt-sdr-cs08.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-sdr-cs14le.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-sdr-cu08.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-sdr-cu16le.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-sdr-ru12le.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-srggb8.rst [media] doc-rst: Specify raw bayer format variant used in the examples 2016-11-23 20:05:25 -02:00
pixfmt-srggb10.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-srggb10alaw8.rst [media] docs-rst: remove width hints from pixfmt byte order tables 2016-08-22 10:16:18 -03:00
pixfmt-srggb10dpcm8.rst
pixfmt-srggb10p.rst [media] doc-rst: Specify raw bayer format variant used in the examples 2016-11-23 20:05:25 -02:00
pixfmt-srggb12.rst [media] doc-rst: Specify raw bayer format variant used in the examples 2016-11-23 20:05:25 -02:00
pixfmt-srggb16.rst [media] doc-rst: Specify raw bayer format variant used in the examples 2016-11-23 20:05:25 -02:00
pixfmt-tch-td08.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-tch-td16.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-tch-tu08.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-tch-tu16.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-uv8.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-uyvy.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-vyuy.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-y8i.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-y10.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-y10b.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-y12.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-y12i.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-y16-be.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-y16.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-y41p.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yuv410.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yuv411p.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yuv420.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yuv420m.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yuv422m.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yuv422p.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yuv444m.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yuyv.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-yvyu.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt-z16.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
pixfmt.rst [media] Documentation: Add HSV format 2016-10-21 15:46:17 -02:00
planar-apis.rst [media] docs-rst: fix cross-references for videodev2.h 2016-09-09 09:57:23 -03:00
querycap.rst
rw.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
sdr-formats.rst
selection-api-002.rst
selection-api-003.rst docs-rst: replace the selection.png by a SVG image 2016-11-30 17:07:44 -07:00
selection-api-004.rst
selection-api-005.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
selection-api-006.rst [media] doc-rst: Don't use captions for examples 2016-07-10 08:31:24 -03:00
selection-api.rst
selection.svg docs-rst: replace the selection.png by a SVG image 2016-11-30 17:07:44 -07:00
selections-common.rst
standard.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
streaming-par.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
subdev-formats.rst docs-rst: replace bayer.png by a SVG image 2016-11-30 17:07:48 -07:00
subdev-image-processing-crop.svg Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
subdev-image-processing-full.svg Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
subdev-image-processing-scaling-multi-source.svg Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
tch-formats.rst [media] Documentation: add support for V4L touch devices 2016-08-23 16:39:23 -03:00
tuner.rst [media] docs-rst: fix cross-references for videodev2.h 2016-09-09 09:57:23 -03:00
user-func.rst
userp.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
v4l2-selection-flags.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
v4l2-selection-targets.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
v4l2.rst [media] Documentation: Add Ricardo Ribalda 2016-10-21 15:46:42 -02:00
v4l2grab-example.rst
v4l2grab.c.rst Revert "[media] docs-rst: escape [] characters" 2016-07-13 08:43:30 -03:00
vbi_525.svg svg files: cleanup them 2016-11-30 17:01:57 -07:00
vbi_625.svg svg files: cleanup them 2016-11-30 17:01:57 -07:00
vbi_hsync.svg svg files: cleanup them 2016-11-30 17:01:57 -07:00
video.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
videodev.rst
vidioc-create-bufs.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-cropcap.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-dbg-g-chip-info.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-dbg-g-register.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-decoder-cmd.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-dqevent.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-dv-timings-cap.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-encoder-cmd.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-enum-dv-timings.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-enum-fmt.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-enum-frameintervals.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-enum-framesizes.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-enum-freq-bands.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-enumaudio.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
vidioc-enumaudioout.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
vidioc-enuminput.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-enumoutput.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-enumstd.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-expbuf.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-audio.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-audioout.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-crop.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-ctrl.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-dv-timings.rst [media] vidioc-g-dv-timings.rst: update v4l2_bt_timings struct 2017-03-03 07:24:27 -03:00
vidioc-g-edid.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-enc-index.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-ext-ctrls.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-fbuf.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-fmt.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-frequency.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-input.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
vidioc-g-jpegcomp.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-modulator.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-output.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
vidioc-g-parm.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-priority.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-selection.rst docs-rst: auto-generate PDF image files 2016-11-16 15:20:59 -07:00
vidioc-g-sliced-vbi-cap.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-g-std.rst [media] docs-rst: simplify c:type: cross references 2016-09-09 09:54:54 -03:00
vidioc-g-tuner.rst [media] v4l: doc: Fix typo in vidioc-g-tuner.rst 2016-11-16 13:22:02 -02:00
vidioc-log-status.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
vidioc-overlay.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
vidioc-prepare-buf.rst [media] docs-rst: simplify c:type: cross references 2016-09-09 09:54:54 -03:00
vidioc-qbuf.rst [media] docs-rst: simplify c:type: cross references 2016-09-09 09:54:54 -03:00
vidioc-query-dv-timings.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
vidioc-querybuf.rst [media] docs-rst: simplify c:type: cross references 2016-09-09 09:54:54 -03:00
vidioc-querycap.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-queryctrl.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-querystd.rst [media] docs-rst: Convert V4L2 uAPI to use C function references 2016-08-22 21:23:27 -03:00
vidioc-reqbufs.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-s-hw-freq-seek.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-streamon.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
vidioc-subdev-enum-frame-interval.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-subdev-enum-frame-size.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-subdev-enum-mbus-code.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-subdev-g-crop.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-subdev-g-fmt.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-subdev-g-frame-interval.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-subdev-g-selection.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
vidioc-subscribe-event.rst [media] v4l: doc: Remove row numbers from tables 2016-09-22 07:03:14 -03:00
yuv-formats.rst