mirror-linux/Documentation/userspace-api/media
Dafna Hirschfeld 62aacfa9bf media: v4l2: extend the CSC API to subdevice.
This patch extends the CSC API in video devices to be supported
also on sub-devices. The flag V4L2_MBUS_FRAMEFMT_SET_CSC set by
the application when calling VIDIOC_SUBDEV_S_FMT ioctl.
The flags:

V4L2_SUBDEV_MBUS_CODE_CSC_COLORSPACE,
V4L2_SUBDEV_MBUS_CODE_CSC_XFER_FUNC,
V4L2_SUBDEV_MBUS_CODE_CSC_YCBCR_ENC/V4L2_SUBDEV_MBUS_CODE_CSC_HSV_ENC
V4L2_SUBDEV_MBUS_CODE_CSC_QUANTIZATION

are set by the driver in the VIDIOC_SUBDEV_ENUM_MBUS_CODE ioctl.

New 'flags' fields were added to the structs
v4l2_subdev_mbus_code_enum, v4l2_mbus_framefmt which are borrowed
from the 'reserved' field

The patch also replaces the 'ycbcr_enc' field in
'struct v4l2_mbus_framefmt' with a union that includes 'hsv_enc'

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-26 10:22:29 +02:00
..
cec media: docs: use the new SPDX header for GFDL-1.1 on *.rst files 2020-09-01 14:13:30 +02:00
drivers media: docs: add an uAPI chapter for driver-specific stuff 2020-04-14 10:36:50 +02:00
dvb media: docs: use SPDX GPL-2.0 OR GFDL-1.1 instead of text on *.svg files 2020-09-01 14:13:30 +02:00
mediactl media: docs: use SPDX GPL-2.0 OR GFDL-1.1 instead of text on *.rst files 2020-09-01 14:13:30 +02:00
rc media: docs: use the new SPDX header for GFDL-1.1 on *.rst files 2020-09-01 14:13:30 +02:00
v4l media: v4l2: extend the CSC API to subdevice. 2020-09-26 10:22:29 +02:00
Makefile
audio.h.rst.exceptions
ca.h.rst.exceptions
cec.h.rst.exceptions
conf_nitpick.py Documentation: media: convert to use i2c_new_client_device() 2020-06-19 09:20:25 +02:00
dmx.h.rst.exceptions
fdl-appendix.rst media: docs: use the new SPDX header for GFDL-1.1 on *.rst files 2020-09-01 14:13:30 +02:00
frontend.h.rst.exceptions
gen-errors.rst media: docs: use the new SPDX header for GFDL-1.1 on *.rst files 2020-09-01 14:13:30 +02:00
glossary.rst media: docs: add glossary.rst with common terms used at V4L2 spec 2020-09-01 14:13:30 +02:00
index.rst media: docs: add glossary.rst with common terms used at V4L2 spec 2020-09-01 14:13:30 +02:00
intro.rst
lirc.h.rst.exceptions
media.h.rst.exceptions
net.h.rst.exceptions
typical_media_device.svg media: docs: use the new SPDX header for GFDL-1.1 on *.svg files 2020-09-01 14:13:30 +02:00
video.h.rst.exceptions
videodev2.h.rst.exceptions media: v4l2: add support for colorspace conversion API (CSC) for video capture 2020-09-26 10:20:57 +02:00