Home
last modified time | relevance | path

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

12345678910>>...16

/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-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 …]
Dcolorspaces-details.rst13 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
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.
216 The :ref:`srgb` standard defines the colorspace used by most webcams
254 These chromaticities are identical to the Rec. 709 colorspace.
298 The :ref:`oprgb` standard defines the colorspace used by computer
[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()
/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/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()
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 …]
/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/
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 …]
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,},
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 …]
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,
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,
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 …]
Dspca508.c35 .colorspace = V4L2_COLORSPACE_SRGB,
40 .colorspace = V4L2_COLORSPACE_SRGB,
45 .colorspace = V4L2_COLORSPACE_SRGB,
50 .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()
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()
Dvimc-common.h49 if ((fmt)->colorspace == V4L2_COLORSPACE_DEFAULT \
50 || (fmt)->colorspace > V4L2_COLORSPACE_DCI_P3) { \
51 (fmt)->colorspace = V4L2_COLORSPACE_DEFAULT; \
/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/
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()
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 …]
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()
/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/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,

12345678910>>...16