/drivers/media/usb/gspca/gl860/ |
D | gl860.c | 227 .colorspace = V4L2_COLORSPACE_SRGB, 233 .colorspace = V4L2_COLORSPACE_SRGB, 239 .colorspace = V4L2_COLORSPACE_SRGB, 245 .colorspace = V4L2_COLORSPACE_SRGB, 254 .colorspace = V4L2_COLORSPACE_SRGB, 260 .colorspace = V4L2_COLORSPACE_SRGB, 266 .colorspace = V4L2_COLORSPACE_SRGB, 272 .colorspace = V4L2_COLORSPACE_SRGB, 281 .colorspace = V4L2_COLORSPACE_SRGB, 287 .colorspace = V4L2_COLORSPACE_SRGB, [all …]
|
/drivers/staging/media/imx/ |
D | imx-media-utils.c | 391 mbus->colorspace = V4L2_COLORSPACE_SRGB; in imx_media_init_mbus_fmt() 392 mbus->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt() 393 mbus->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt() 396 mbus->colorspace, in imx_media_init_mbus_fmt() 460 switch (tryfmt->colorspace) { in imx_media_try_colorimetry() 471 tryfmt->colorspace = V4L2_COLORSPACE_SRGB; in imx_media_try_colorimetry() 477 V4L2_MAP_XFER_FUNC_DEFAULT(tryfmt->colorspace); in imx_media_try_colorimetry() 486 V4L2_MAP_YCBCR_ENC_DEFAULT(tryfmt->colorspace); in imx_media_try_colorimetry() 493 tryfmt->colorspace, in imx_media_try_colorimetry() 538 pix->colorspace = mbus->colorspace; in imx_media_mbus_fmt_to_pix_fmt() [all …]
|
D | imx-media-csc-scaler.c | 226 f->fmt.pix.colorspace = q_data->cur_fmt.colorspace; in ipu_csc_scaler_try_fmt() 230 } else if (f->fmt.pix.colorspace == V4L2_COLORSPACE_DEFAULT) { in ipu_csc_scaler_try_fmt() 231 f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in ipu_csc_scaler_try_fmt() 276 q_data->cur_fmt.colorspace = f->fmt.pix.colorspace; in ipu_csc_scaler_s_fmt() 282 q_data->cur_fmt.colorspace = f->fmt.pix.colorspace; in ipu_csc_scaler_s_fmt() 495 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data() 497 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data() 741 .colorspace = V4L2_COLORSPACE_SRGB,
|
/drivers/staging/media/zoran/ |
D | zoran_driver.c | 64 .colorspace = V4L2_COLORSPACE_SRGB, 72 .colorspace = V4L2_COLORSPACE_SRGB, 79 .colorspace = V4L2_COLORSPACE_SRGB, 87 .colorspace = V4L2_COLORSPACE_SRGB, 94 .colorspace = V4L2_COLORSPACE_SRGB, 101 .colorspace = V4L2_COLORSPACE_SRGB, 108 .colorspace = V4L2_COLORSPACE_SRGB, 115 .colorspace = V4L2_COLORSPACE_SMPTE170M, 122 .colorspace = V4L2_COLORSPACE_SMPTE170M, 129 .colorspace = V4L2_COLORSPACE_SMPTE170M, [all …]
|
/drivers/media/usb/gspca/ |
D | ov534_9.c | 58 .colorspace = V4L2_COLORSPACE_JPEG}, 63 .colorspace = V4L2_COLORSPACE_JPEG}, 68 .colorspace = V4L2_COLORSPACE_JPEG}, 73 .colorspace = V4L2_COLORSPACE_JPEG}, 78 .colorspace = V4L2_COLORSPACE_JPEG}, 85 .colorspace = V4L2_COLORSPACE_SRGB 93 .colorspace = V4L2_COLORSPACE_SRGB 111 .colorspace = V4L2_COLORSPACE_SRGB}, 115 .colorspace = V4L2_COLORSPACE_SRGB}, 119 .colorspace = V4L2_COLORSPACE_SRGB}, [all …]
|
D | sn9c20x.c | 168 .colorspace = V4L2_COLORSPACE_JPEG, 173 .colorspace = V4L2_COLORSPACE_SRGB, 178 .colorspace = V4L2_COLORSPACE_SRGB, 183 .colorspace = V4L2_COLORSPACE_JPEG, 188 .colorspace = V4L2_COLORSPACE_SRGB, 193 .colorspace = V4L2_COLORSPACE_SRGB, 198 .colorspace = V4L2_COLORSPACE_JPEG, 203 .colorspace = V4L2_COLORSPACE_SRGB, 208 .colorspace = V4L2_COLORSPACE_SRGB, 216 .colorspace = V4L2_COLORSPACE_JPEG, [all …]
|
D | spca505.c | 31 .colorspace = V4L2_COLORSPACE_SRGB, 36 .colorspace = V4L2_COLORSPACE_SRGB, 41 .colorspace = V4L2_COLORSPACE_SRGB, 46 .colorspace = V4L2_COLORSPACE_SRGB, 51 .colorspace = V4L2_COLORSPACE_SRGB,
|
D | vicam.c | 46 .colorspace = V4L2_COLORSPACE_SRGB,}, 51 .colorspace = V4L2_COLORSPACE_SRGB,}, 55 .colorspace = V4L2_COLORSPACE_SRGB,}, 60 .colorspace = V4L2_COLORSPACE_SRGB,}, 65 .colorspace = V4L2_COLORSPACE_SRGB,},
|
D | kinect.c | 69 .colorspace = V4L2_COLORSPACE_SRGB, 77 .colorspace = V4L2_COLORSPACE_SRGB, 82 .colorspace = V4L2_COLORSPACE_SRGB, 87 .colorspace = V4L2_COLORSPACE_SRGB, 92 .colorspace = V4L2_COLORSPACE_SRGB, 97 .colorspace = V4L2_COLORSPACE_SRGB,
|
D | ov519.c | 242 .colorspace = V4L2_COLORSPACE_JPEG, 247 .colorspace = V4L2_COLORSPACE_JPEG, 254 .colorspace = V4L2_COLORSPACE_JPEG, 259 .colorspace = V4L2_COLORSPACE_JPEG, 264 .colorspace = V4L2_COLORSPACE_JPEG, 269 .colorspace = V4L2_COLORSPACE_JPEG, 283 .colorspace = V4L2_COLORSPACE_JPEG, 288 .colorspace = V4L2_COLORSPACE_JPEG, 295 .colorspace = V4L2_COLORSPACE_JPEG, 300 .colorspace = V4L2_COLORSPACE_JPEG, [all …]
|
D | spca561.c | 48 .colorspace = V4L2_COLORSPACE_SRGB, 53 .colorspace = V4L2_COLORSPACE_SRGB, 58 .colorspace = V4L2_COLORSPACE_SRGB, 63 .colorspace = V4L2_COLORSPACE_SRGB, 71 .colorspace = V4L2_COLORSPACE_SRGB, 76 .colorspace = V4L2_COLORSPACE_SRGB, 81 .colorspace = V4L2_COLORSPACE_SRGB, 86 .colorspace = V4L2_COLORSPACE_SRGB,
|
D | spca508.c | 35 .colorspace = V4L2_COLORSPACE_SRGB, 40 .colorspace = V4L2_COLORSPACE_SRGB, 45 .colorspace = V4L2_COLORSPACE_SRGB, 50 .colorspace = V4L2_COLORSPACE_SRGB,
|
D | sonixb.c | 123 .colorspace = V4L2_COLORSPACE_SRGB, 128 .colorspace = V4L2_COLORSPACE_SRGB, 133 .colorspace = V4L2_COLORSPACE_SRGB, 138 .colorspace = V4L2_COLORSPACE_SRGB, 145 .colorspace = V4L2_COLORSPACE_SRGB, 150 .colorspace = V4L2_COLORSPACE_SRGB, 155 .colorspace = V4L2_COLORSPACE_SRGB, 160 .colorspace = V4L2_COLORSPACE_SRGB, 165 .colorspace = V4L2_COLORSPACE_SRGB, 170 .colorspace = V4L2_COLORSPACE_SRGB,
|
/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 896 switch (avi->colorspace) { in v4l2_hdmi_rx_colorimetry() 903 c.colorspace = V4L2_COLORSPACE_OPRGB; in v4l2_hdmi_rx_colorimetry() 907 c.colorspace = V4L2_COLORSPACE_BT2020; in v4l2_hdmi_rx_colorimetry() 938 c.colorspace = V4L2_COLORSPACE_SMPTE170M; in v4l2_hdmi_rx_colorimetry() 941 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry() 947 c.colorspace = V4L2_COLORSPACE_SMPTE170M; in v4l2_hdmi_rx_colorimetry() 952 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry() 959 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry() 964 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry() 969 c.colorspace = V4L2_COLORSPACE_SRGB; in v4l2_hdmi_rx_colorimetry() [all …]
|
/drivers/media/test-drivers/vimc/ |
D | vimc-common.c | 294 source_fmt.pixelformat, source_fmt.colorspace, in vimc_vdev_link_validate() 300 sink_fmt.pixelformat, sink_fmt.colorspace, in vimc_vdev_link_validate() 323 if (source_fmt.colorspace == V4L2_COLORSPACE_DEFAULT || in vimc_vdev_link_validate() 324 sink_fmt.colorspace == V4L2_COLORSPACE_DEFAULT) in vimc_vdev_link_validate() 328 if (source_fmt.colorspace != sink_fmt.colorspace) in vimc_vdev_link_validate()
|
D | vimc-common.h | 49 if ((fmt)->colorspace == V4L2_COLORSPACE_DEFAULT \ 50 || (fmt)->colorspace > V4L2_COLORSPACE_DCI_P3) { \ 51 (fmt)->colorspace = V4L2_COLORSPACE_DEFAULT; \
|
D | vimc-capture.c | 40 .colorspace = V4L2_COLORSPACE_SRGB, 110 if (format->colorspace == V4L2_COLORSPACE_DEFAULT) in vimc_cap_try_fmt_vid_cap() 111 format->colorspace = fmt_default.colorspace; in vimc_cap_try_fmt_vid_cap() 135 vcap->format.pixelformat, vcap->format.colorspace, in vimc_cap_s_fmt_vid_cap() 140 f->fmt.pix.pixelformat, f->fmt.pix.colorspace, in vimc_cap_s_fmt_vid_cap()
|
/drivers/media/i2c/ |
D | mt9t112.c | 85 enum v4l2_colorspace colorspace; member 109 .colorspace = V4L2_COLORSPACE_SRGB, 114 .colorspace = V4L2_COLORSPACE_SRGB, 119 .colorspace = V4L2_COLORSPACE_SRGB, 124 .colorspace = V4L2_COLORSPACE_SRGB, 129 .colorspace = V4L2_COLORSPACE_SRGB, 134 .colorspace = V4L2_COLORSPACE_SRGB, 927 mf->colorspace = priv->format->colorspace; in mt9t112_get_fmt() 950 mf->colorspace = priv->format->colorspace; in mt9t112_s_fmt() 973 mf->colorspace = V4L2_COLORSPACE_JPEG; in mt9t112_set_fmt() [all …]
|
D | vs6624.c | 37 enum v4l2_colorspace colorspace; member 41 .colorspace = V4L2_COLORSPACE_JPEG, 45 .colorspace = V4L2_COLORSPACE_JPEG, 49 .colorspace = V4L2_COLORSPACE_SRGB, 58 .colorspace = V4L2_COLORSPACE_JPEG, 587 fmt->colorspace = vs6624_formats[index].colorspace; in vs6624_set_fmt()
|
D | noon010pc30.c | 112 enum v4l2_colorspace colorspace; member 175 .colorspace = V4L2_COLORSPACE_JPEG, 179 .colorspace = V4L2_COLORSPACE_JPEG, 183 .colorspace = V4L2_COLORSPACE_JPEG, 187 .colorspace = V4L2_COLORSPACE_JPEG, 191 .colorspace = V4L2_COLORSPACE_JPEG, 521 mf->colorspace = info->curr_fmt->colorspace; in noon010_get_fmt() 553 fmt->format.colorspace = V4L2_COLORSPACE_JPEG; in noon010_set_fmt() 645 mf->colorspace = V4L2_COLORSPACE_JPEG; in noon010_open()
|
D | sr030pc30.c | 165 enum v4l2_colorspace colorspace; member 201 .colorspace = V4L2_COLORSPACE_JPEG, 205 .colorspace = V4L2_COLORSPACE_JPEG, 209 .colorspace = V4L2_COLORSPACE_JPEG, 213 .colorspace = V4L2_COLORSPACE_JPEG, 217 .colorspace = V4L2_COLORSPACE_JPEG, 500 mf->colorspace = info->curr_fmt->colorspace; in sr030pc30_get_fmt()
|
D | ov772x.c | 401 enum v4l2_colorspace colorspace; member 445 .colorspace = V4L2_COLORSPACE_SRGB, 453 .colorspace = V4L2_COLORSPACE_SRGB, 461 .colorspace = V4L2_COLORSPACE_SRGB, 469 .colorspace = V4L2_COLORSPACE_SRGB, 477 .colorspace = V4L2_COLORSPACE_SRGB, 485 .colorspace = V4L2_COLORSPACE_SRGB, 493 .colorspace = V4L2_COLORSPACE_SRGB, 505 .colorspace = V4L2_COLORSPACE_SRGB, 1173 mf->colorspace = priv->cfmt->colorspace; in ov772x_get_fmt() [all …]
|
D | mt9m001.c | 57 enum v4l2_colorspace colorspace; member 341 mf->colorspace = mt9m001->fmt->colorspace; in mt9m001_get_fmt() 372 mf->colorspace = fmt->colorspace; in mt9m001_s_fmt() 405 mf->colorspace = fmt->colorspace; in mt9m001_set_fmt() 669 try_fmt->colorspace = mt9m001->fmts[0].colorspace; in mt9m001_init_cfg()
|
/drivers/media/platform/exynos4-is/ |
D | fimc-lite.c | 44 .colorspace = V4L2_COLORSPACE_JPEG, 52 .colorspace = V4L2_COLORSPACE_JPEG, 60 .colorspace = V4L2_COLORSPACE_JPEG, 68 .colorspace = V4L2_COLORSPACE_JPEG, 76 .colorspace = V4L2_COLORSPACE_SRGB, 84 .colorspace = V4L2_COLORSPACE_SRGB, 92 .colorspace = V4L2_COLORSPACE_SRGB, 569 mf->colorspace = fmt->colorspace; in fimc_lite_subdev_try_fmt() 581 mf->colorspace = sink_fmt->colorspace; in fimc_lite_subdev_try_fmt() 587 mf->colorspace = sink->fmt->colorspace; in fimc_lite_subdev_try_fmt() [all …]
|
/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_v4l2.c | 107 pix->colorspace = V4L2_COLORSPACE_SRGB; in _sun4i_csi_try_fmt() 108 pix->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt() 109 pix->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt() 110 pix->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, pix->colorspace, in _sun4i_csi_try_fmt() 269 .colorspace = V4L2_COLORSPACE_RAW,
|