summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/rkisp1/rkisp1-isp.c
diff options
context:
space:
mode:
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>2020-08-27 21:46:10 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-26 10:22:29 +0200
commit62aacfa9bf93f94f6949338e0c7a2ed4c4bd2c2a (patch)
treebba478331fb3590a37bccde2b99af18e62ce99ae /drivers/staging/media/rkisp1/rkisp1-isp.c
parent2f491463497ad43bc06968a334747c6b6b20fc74 (diff)
downloadlinux-62aacfa9bf93f94f6949338e0c7a2ed4c4bd2c2a.tar.bz2
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>
Diffstat (limited to 'drivers/staging/media/rkisp1/rkisp1-isp.c')
0 files changed, 0 insertions, 0 deletions