Home
last modified time | relevance | path

Searched refs:colorspace (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/drivers/media/usb/gspca/gl860/
Dgl860.c227 .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/media/usb/gspca/
Dov534_9.c58 .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 …]
Dsn9c20x.c168 .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 …]
Dspca505.c31 .colorspace = V4L2_COLORSPACE_SRGB,
36 .colorspace = V4L2_COLORSPACE_SRGB,
41 .colorspace = V4L2_COLORSPACE_SRGB,
46 .colorspace = V4L2_COLORSPACE_SRGB,
51 .colorspace = V4L2_COLORSPACE_SRGB,
Dvicam.c46 .colorspace = V4L2_COLORSPACE_SRGB,},
51 .colorspace = V4L2_COLORSPACE_SRGB,},
55 .colorspace = V4L2_COLORSPACE_SRGB,},
60 .colorspace = V4L2_COLORSPACE_SRGB,},
65 .colorspace = V4L2_COLORSPACE_SRGB,},
Dkinect.c69 .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,
Dov519.c242 .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 …]
Dspca561.c48 .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,
Dspca508.c35 .colorspace = V4L2_COLORSPACE_SRGB,
40 .colorspace = V4L2_COLORSPACE_SRGB,
45 .colorspace = V4L2_COLORSPACE_SRGB,
50 .colorspace = V4L2_COLORSPACE_SRGB,
Dsonixb.c123 .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/staging/media/imx/
Dimx-media-utils.c224 mbus->colorspace = (fmt->cs == IPUV3_COLORSPACE_RGB) ? in init_mbus_colorimetry()
226 mbus->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(mbus->colorspace); in init_mbus_colorimetry()
227 mbus->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(mbus->colorspace); in init_mbus_colorimetry()
230 mbus->colorspace, in init_mbus_colorimetry()
536 switch (tryfmt->colorspace) { in imx_media_try_colorimetry()
547 tryfmt->colorspace = V4L2_COLORSPACE_SRGB; in imx_media_try_colorimetry()
553 V4L2_MAP_XFER_FUNC_DEFAULT(tryfmt->colorspace); in imx_media_try_colorimetry()
562 V4L2_MAP_YCBCR_ENC_DEFAULT(tryfmt->colorspace); in imx_media_try_colorimetry()
569 tryfmt->colorspace, in imx_media_try_colorimetry()
613 pix->colorspace = mbus->colorspace; in imx_media_mbus_fmt_to_pix_fmt()
[all …]
Dimx-media-csc-scaler.c223 f->fmt.pix.colorspace = q_data->cur_fmt.colorspace; in ipu_csc_scaler_try_fmt()
227 } else if (f->fmt.pix.colorspace == V4L2_COLORSPACE_DEFAULT) { in ipu_csc_scaler_try_fmt()
228 f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in ipu_csc_scaler_try_fmt()
273 q_data->cur_fmt.colorspace = f->fmt.pix.colorspace; in ipu_csc_scaler_s_fmt()
279 q_data->cur_fmt.colorspace = f->fmt.pix.colorspace; in ipu_csc_scaler_s_fmt()
492 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
494 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
738 .colorspace = V4L2_COLORSPACE_SRGB,
/drivers/media/v4l2-core/
Dv4l2-dv-timings.c874 switch (avi->colorspace) { in v4l2_hdmi_rx_colorimetry()
881 c.colorspace = V4L2_COLORSPACE_OPRGB; in v4l2_hdmi_rx_colorimetry()
885 c.colorspace = V4L2_COLORSPACE_BT2020; in v4l2_hdmi_rx_colorimetry()
916 c.colorspace = V4L2_COLORSPACE_SMPTE170M; in v4l2_hdmi_rx_colorimetry()
919 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
925 c.colorspace = V4L2_COLORSPACE_SMPTE170M; in v4l2_hdmi_rx_colorimetry()
930 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
937 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
942 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
947 c.colorspace = V4L2_COLORSPACE_SRGB; in v4l2_hdmi_rx_colorimetry()
[all …]
/drivers/media/platform/vimc/
Dvimc-common.h40 if ((fmt)->colorspace == V4L2_COLORSPACE_DEFAULT \
41 || (fmt)->colorspace > V4L2_COLORSPACE_DCI_P3) { \
42 (fmt)->colorspace = V4L2_COLORSPACE_DEFAULT; \
Dvimc-common.c305 source_fmt.format.code, source_fmt.format.colorspace, in vimc_link_validate()
311 sink_fmt.format.code, sink_fmt.format.colorspace, in vimc_link_validate()
334 if (source_fmt.format.colorspace == V4L2_COLORSPACE_DEFAULT in vimc_link_validate()
335 || sink_fmt.format.colorspace == V4L2_COLORSPACE_DEFAULT) in vimc_link_validate()
339 if (source_fmt.format.colorspace != sink_fmt.format.colorspace) in vimc_link_validate()
/drivers/media/i2c/
Dmt9t112.c85 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 …]
Dvs6624.c37 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()
Dnoon010pc30.c112 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()
Dsr030pc30.c165 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()
Dov772x.c401 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 …]
Dmt9m001.c57 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/
Dfimc-lite.c43 .colorspace = V4L2_COLORSPACE_JPEG,
51 .colorspace = V4L2_COLORSPACE_JPEG,
59 .colorspace = V4L2_COLORSPACE_JPEG,
67 .colorspace = V4L2_COLORSPACE_JPEG,
75 .colorspace = V4L2_COLORSPACE_SRGB,
83 .colorspace = V4L2_COLORSPACE_SRGB,
91 .colorspace = V4L2_COLORSPACE_SRGB,
567 mf->colorspace = fmt->colorspace; in fimc_lite_subdev_try_fmt()
579 mf->colorspace = sink_fmt->colorspace; in fimc_lite_subdev_try_fmt()
585 mf->colorspace = sink->fmt->colorspace; in fimc_lite_subdev_try_fmt()
[all …]
/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_v4l2.c107 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()
270 .colorspace = V4L2_COLORSPACE_RAW,
/drivers/staging/media/soc_camera/
Dimx074.c71 enum v4l2_colorspace colorspace; member
171 mf->colorspace = imx074_colour_fmts[0].colorspace; in imx074_set_fmt()
200 mf->colorspace = fmt->colorspace; in imx074_get_fmt()
/drivers/media/platform/vicodec/
Dvicodec-core.c252 ctx->state.colorspace = ntohl(p_hdr->colorspace); in update_state_from_header()
548 ctx->state.colorspace = ntohl(p_hdr->colorspace); in update_capture_data_from_header()
796 pix->colorspace = ctx->state.colorspace; in vidioc_g_fmt()
815 pix_mp->colorspace = ctx->state.colorspace; in vidioc_g_fmt()
918 pix->colorspace = ctx->state.colorspace; in vidioc_try_fmt_vid_cap()
929 pix_mp->colorspace = ctx->state.colorspace; in vidioc_try_fmt_vid_cap()
959 if (!pix->colorspace) in vidioc_try_fmt_vid_out()
960 pix->colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
972 if (!pix_mp->colorspace) in vidioc_try_fmt_vid_out()
973 pix_mp->colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
[all …]

12345678910>>...13