Home
last modified time | relevance | path

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

12345678910>>...17

/Linux-v5.15/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
43 SMPTE C set, so this colorspace is sometimes called SMPTE C as well.
79 the :ref:`itu601` standard and this colorspace is sometimes called
88 Colorspace Rec. 709 (V4L2_COLORSPACE_REC709)
91 The :ref:`itu709` standard defines the colorspace used by HDTV in
160 this colorspace, but it can be overridden with ``V4L2_YCBCR_ENC_601``,
164 this colorspace:
200 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.15/include/media/
Dv4l2-mediabus.h143 pix_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format()
165 mbus_fmt->colorspace = pix_fmt->colorspace; in v4l2_fill_mbus_format()
186 pix_mp_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format_mplane()
206 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.15/drivers/staging/media/imx/
Dimx-media-utils.c412 mbus->colorspace = V4L2_COLORSPACE_SRGB; in imx_media_init_mbus_fmt()
413 mbus->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt()
414 mbus->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(mbus->colorspace); in imx_media_init_mbus_fmt()
417 mbus->colorspace, in imx_media_init_mbus_fmt()
457 * Default the colorspace in tryfmt to SRGB if set to an unsupported
458 * colorspace or not initialized. Then set the remaining colorimetry
459 * parameters based on the colorspace if they are uninitialized.
481 switch (tryfmt->colorspace) { in imx_media_try_colorimetry()
492 tryfmt->colorspace = V4L2_COLORSPACE_SRGB; in imx_media_try_colorimetry()
498 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.15/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()
/Linux-v5.15/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.15/Documentation/devicetree/bindings/display/bridge/
Dadi,adv7511.yaml83 adi,input-colorspace:
139 # adi,input-colorspace and adi,input-clock are required except in
145 adi,input-colorspace:
168 - adi,input-colorspace
207 adi,input-colorspace = "yuv422";
/Linux-v5.15/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.15/drivers/gpu/drm/sti/
Dsti_hdmi.h59 * @colorspace: current colorspace selected
85 enum hdmi_colorspace colorspace; member
/Linux-v5.15/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.15/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.15/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.15/drivers/media/i2c/
Dmt9m001.c54 /* MT9M001 has only one fixed colorspace per pixelcode */
57 enum v4l2_colorspace colorspace; member
342 mf->colorspace = mt9m001->fmt->colorspace; in mt9m001_get_fmt()
373 mf->colorspace = fmt->colorspace; in mt9m001_s_fmt()
406 mf->colorspace = fmt->colorspace; in mt9m001_set_fmt()
670 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()
554 fmt->format.colorspace = V4L2_COLORSPACE_JPEG; in noon010_set_fmt()
648 mf->colorspace = V4L2_COLORSPACE_JPEG; in noon010_open()
/Linux-v5.15/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,
569 mf->colorspace = fmt->colorspace; in fimc_lite_subdev_try_fmt()
582 mf->colorspace = sink_fmt->colorspace; in fimc_lite_subdev_try_fmt()
589 mf->colorspace = sink->fmt->colorspace; in fimc_lite_subdev_try_fmt()
[all …]
/Linux-v5.15/include/uapi/linux/
Dv4l2-mediabus.h27 * @colorspace: colorspace of the data (from enum v4l2_colorspace)
40 __u32 colorspace; member
/Linux-v5.15/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()
267 .colorspace = V4L2_COLORSPACE_RAW,
/Linux-v5.15/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.15/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.15/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()
908 pix->colorspace = ctx->state.colorspace; in vidioc_try_fmt_vid_cap()
919 pix_mp->colorspace = ctx->state.colorspace; in vidioc_try_fmt_vid_cap()
949 if (!pix->colorspace) in vidioc_try_fmt_vid_out()
950 pix->colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
962 if (!pix_mp->colorspace) in vidioc_try_fmt_vid_out()
963 pix_mp->colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
[all …]

12345678910>>...17