Home
last modified time | relevance | path

Searched full:colorspace (Results 1 – 25 of 406) sorted by relevance

12345678910>>...17

/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dcolorspaces.rst12 you can accurately display that color. A colorspace defines what it
24 ABCDEFGHIJKL colorspace...
48 The Y value in the CIE XYZ colorspace corresponds to luminance. Often
49 the CIE XYZ colorspace is transformed to the normalized CIE xyY
50 colorspace:
60 colorspace is used. Upper case 'X' and 'Y' refer to the CIE XYZ
61 colorspace. Also, y has nothing to do with luminance. Together x and y
72 defines a colorspace.
77 different display technologies or uses. To define a colorspace you need
79 chromaticity coordinates from the CIE xyY colorspace) but also the white
[all …]
Dcolorspaces-details.rst4 Detailed Colorspace Descriptions
10 Colorspace SMPTE 170M (V4L2_COLORSPACE_SMPTE170M)
13 The :ref:`smpte170m` standard defines the colorspace used by NTSC and
47 SMPTE C set, so this colorspace is sometimes called SMPTE C as well.
83 the :ref:`itu601` standard and this colorspace is sometimes called
92 Colorspace Rec. 709 (V4L2_COLORSPACE_REC709)
95 The :ref:`itu709` standard defines the colorspace used by HDTV in
168 this colorspace, but it can be overridden with ``V4L2_YCBCR_ENC_601``,
172 this colorspace:
208 the Rec. 709 colorspace gamut.
[all …]
Dcolorspaces-defs.rst8 colorspace identifier (enum :c:type:`v4l2_colorspace`)
18 colorspace field of struct :c:type:`v4l2_pix_format`
22 .. _hsv-colorspace:
45 - The default colorspace. This can be used by applications to let
46 the driver fill in the colorspace.
68 - The raw colorspace. This is used for raw image capture where the
69 image is minimally processed and is using the internal colorspace
71 'colorspace' will have to know the internals of the capture
87 - Use the default transfer function as defined by the colorspace.
116 - Use the default Y'CbCr encoding as defined by the colorspace.
[all …]
Dpixfmt-v4l2.rst108 - ``colorspace``
109 - Image colorspace, from enum :c:type:`v4l2_colorspace`.
114 this field for a capture stream to request a specific colorspace
116 conversion, it will return another supported colorspace.
117 The driver indicates that colorspace conversion is supported by setting
154 This information supplements the ``colorspace`` and must be set by
168 This information supplements the ``colorspace`` and must be set by
184 This information supplements the ``colorspace`` and must be set by
197 This information supplements the ``colorspace`` and must be set by
230 colorspace conversion from the received colorspace to the requested
[all …]
/Linux-v5.10/include/media/
Dv4l2-mediabus.h141 pix_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format()
163 mbus_fmt->colorspace = pix_fmt->colorspace; in v4l2_fill_mbus_format()
184 pix_mp_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format_mplane()
204 mbus_fmt->colorspace = pix_mp_fmt->colorspace; in v4l2_fill_mbus_format_mplane()
Dv4l2-dv-timings.h228 * @colorspace: enum v4l2_colorspace, the colorspace
230 * @quantization: enum v4l2_quantization, colorspace quantization
231 * @xfer_func: enum v4l2_xfer_func, colorspace transfer function
234 enum v4l2_colorspace colorspace; member
/Linux-v5.10/drivers/staging/media/imx/
Dimx-media-utils.c391 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()
436 * Default the colorspace in tryfmt to SRGB if set to an unsupported
437 * colorspace or not initialized. Then set the remaining colorimetry
438 * parameters based on the colorspace if they are uninitialized.
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()
[all …]
Dimx-media-csc-scaler.c226 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,
/Linux-v5.10/drivers/media/test-drivers/vimc/
Dvimc-common.c294 source_fmt.pixelformat, source_fmt.colorspace, in vimc_vdev_link_validate()
300 sink_fmt.pixelformat, sink_fmt.colorspace, in vimc_vdev_link_validate()
320 * If colorspace is DEFAULT, then assume all the colorimetry is also 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()
327 /* Colorspace must match. */ in vimc_vdev_link_validate()
328 if (source_fmt.colorspace != sink_fmt.colorspace) in vimc_vdev_link_validate()
Dvimc-capture.c40 .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()
/Linux-v5.10/drivers/staging/media/zoran/
Dzoran_driver.c64 .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 …]
/Linux-v5.10/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 …]
/Linux-v5.10/drivers/gpu/drm/sti/
Dsti_hdmi.h65 * @colorspace: current colorspace selected
91 enum hdmi_colorspace colorspace; member
/Linux-v5.10/Documentation/admin-guide/media/
Dvivid.rst27 - Full colorspace support, including limited/full RGB range
339 The initially selected colorspace when you switch to the webcam input will be
369 The initially selected colorspace when you switch to the TV or S-Video input
408 The initially selected colorspace when you switch to the HDMI input or
410 less than or equal to 720x576 the colorspace is set to SMPTE-170M, for
453 The initially selected colorspace when you switch to the TV or S-Video input
464 The initially selected colorspace when you switch to the HDMI output or
466 less than or equal to 720x576 the colorspace is set to SMPTE-170M, for
676 testing colorspace conversions: the colors used in that test pattern
677 map to valid colors in all colorspaces. The colorspace conversion
[all …]
/Linux-v5.10/include/media/tpg/
Dv4l2-tpg.h161 u32 colorspace; member
353 static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace) in tpg_s_colorspace() argument
355 if (tpg->colorspace == colorspace) in tpg_s_colorspace()
357 tpg->colorspace = colorspace; in tpg_s_colorspace()
363 return tpg->colorspace; in tpg_g_colorspace()
/Linux-v5.10/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 …]
/Linux-v5.10/drivers/media/i2c/
Dmt9m001.c54 /* MT9M001 has only one fixed colorspace per pixelcode */
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()
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()
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dfimc-lite.c44 .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,
568 mf->colorspace = fmt->colorspace; in fimc_lite_subdev_try_fmt()
580 mf->colorspace = sink_fmt->colorspace; in fimc_lite_subdev_try_fmt()
586 mf->colorspace = sink->fmt->colorspace; in fimc_lite_subdev_try_fmt()
[all …]
/Linux-v5.10/include/uapi/linux/
Dv4l2-mediabus.h27 * @colorspace: colorspace of the data (from enum v4l2_colorspace)
40 __u32 colorspace; member
/Linux-v5.10/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()
269 .colorspace = V4L2_COLORSPACE_RAW,
/Linux-v5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_core.h188 * @colorspace: enum v4l2_colorspace; supplemental to pixelformat
190 * @xfer_func: enum v4l2_xfer_func, colorspace transfer function
191 * @quant: enum v4l2_quantization, colorspace quantization
212 enum v4l2_colorspace colorspace; member
/Linux-v5.10/drivers/media/usb/gspca/
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,
/Linux-v5.10/drivers/media/test-drivers/vicodec/
Dvicodec-core.c247 ctx->state.colorspace = ntohl(p_hdr->colorspace); in update_state_from_header()
543 ctx->state.colorspace = ntohl(p_hdr->colorspace); in update_capture_data_from_header()
791 pix->colorspace = ctx->state.colorspace; in vidioc_g_fmt()
810 pix_mp->colorspace = ctx->state.colorspace; in vidioc_g_fmt()
913 pix->colorspace = ctx->state.colorspace; in vidioc_try_fmt_vid_cap()
924 pix_mp->colorspace = ctx->state.colorspace; in vidioc_try_fmt_vid_cap()
954 if (!pix->colorspace) in vidioc_try_fmt_vid_out()
955 pix->colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
967 if (!pix_mp->colorspace) in vidioc_try_fmt_vid_out()
968 pix_mp->colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
[all …]

12345678910>>...17