Home
last modified time | relevance | path

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

12345678

/linux/Documentation/userspace-api/media/v4l/
H A Dcolorspaces.rst13 you can accurately display that color. A colorspace defines what it
25 ABCDEFGHIJKL colorspace...
49 The Y value in the CIE XYZ colorspace corresponds to luminance. Often
50 the CIE XYZ colorspace is transformed to the normalized CIE xyY
51 colorspace:
61 colorspace is used. Upper case 'X' and 'Y' refer to the CIE XYZ
62 colorspace. Also, y has nothing to do with luminance. Together x and y
73 defines a colorspace.
78 different display technologies or uses. To define a colorspace you need
80 chromaticity coordinates from the CIE xyY colorspace) but also the white
[all …]
H A Dcolorspaces-defs.rst9 colorspace identifier (enum :c:type:`v4l2_colorspace`)
19 colorspace field of struct :c:type:`v4l2_pix_format`
23 .. _hsv-colorspace:
46 - The default colorspace. This can be used by applications to let
47 the driver fill in the colorspace.
69 - The raw colorspace. This is used for raw image capture where the
70 image is minimally processed and is using the internal colorspace
72 'colorspace' will have to know the internals of the capture
88 - Use the default transfer function as defined by the colorspace.
117 - Use the default Y'CbCr encoding as defined by the colorspace.
[all …]
H A Dcolorspaces-details.rst14 The :ref:`smpte170m` standard defines the colorspace used by NTSC and
44 SMPTE C set, so this colorspace is sometimes called SMPTE C as well.
80 the :ref:`itu601` standard and this colorspace is sometimes called
92 The :ref:`itu709` standard defines the colorspace used by HDTV in
161 this colorspace, but it can be overridden with ``V4L2_YCBCR_ENC_601``,
165 this colorspace:
201 the Rec. 709 colorspace gamut.
209 The :ref:`srgb` standard defines the colorspace used by most webcams
243 These chromaticities are identical to the Rec. 709 colorspace.
287 The :ref:`oprgb` standard defines the colorspace used by computer
[all …]
H A Dpixfmt-v4l2.rst109 - ``colorspace``
110 - Image colorspace, from enum :c:type:`v4l2_colorspace`.
115 this field for a capture stream to request a specific colorspace
117 conversion, it will return another supported colorspace.
118 The driver indicates that colorspace conversion is supported by setting
155 This information supplements the ``colorspace`` and must be set by
169 This information supplements the ``colorspace`` and must be set by
185 This information supplements the ``colorspace`` and must be set by
198 This information supplements the ``colorspace`` and must be set by
231 colorspace conversion from the received colorspace to the requested
[all …]
/linux/drivers/media/platform/allegro-dvt/
H A Dnal-h264.h299 static inline int nal_h264_color_primaries(enum v4l2_colorspace colorspace) in nal_h264_color_primaries() argument
301 switch (colorspace) { in nal_h264_color_primaries()
335 static inline int nal_h264_transfer_characteristics(enum v4l2_colorspace colorspace, in nal_h264_transfer_characteristics() argument
339 xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(colorspace); in nal_h264_transfer_characteristics()
366 static inline int nal_h264_matrix_coeffs(enum v4l2_colorspace colorspace, in nal_h264_matrix_coeffs() argument
370 ycbcr_encoding = V4L2_MAP_YCBCR_ENC_DEFAULT(colorspace); in nal_h264_matrix_coeffs()
H A Dnal-hevc.h432 static inline int nal_hevc_color_primaries(enum v4l2_colorspace colorspace) in nal_hevc_color_primaries() argument
434 switch (colorspace) { in nal_hevc_color_primaries()
458 static inline int nal_hevc_transfer_characteristics(enum v4l2_colorspace colorspace, in nal_hevc_transfer_characteristics() argument
462 xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(colorspace); in nal_hevc_transfer_characteristics()
479 static inline int nal_hevc_matrix_coeffs(enum v4l2_colorspace colorspace, in nal_hevc_matrix_coeffs() argument
483 ycbcr_encoding = V4L2_MAP_YCBCR_ENC_DEFAULT(colorspace); in nal_hevc_matrix_coeffs()
/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-fwht.h20 __field(u32, colorspace)
31 __entry->colorspace = p->colorspace;
51 __entry->colorspace, __entry->xfer_func, __entry->ycbcr_enc,
/linux/drivers/media/usb/gspca/gl860/
H A 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/drivers/media/usb/gspca/
H A 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 …]
H A 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,
H A Dsn9c20x.c171 .colorspace = V4L2_COLORSPACE_JPEG,
176 .colorspace = V4L2_COLORSPACE_SRGB,
181 .colorspace = V4L2_COLORSPACE_SRGB,
186 .colorspace = V4L2_COLORSPACE_JPEG,
191 .colorspace = V4L2_COLORSPACE_SRGB,
196 .colorspace = V4L2_COLORSPACE_SRGB,
201 .colorspace = V4L2_COLORSPACE_JPEG,
206 .colorspace = V4L2_COLORSPACE_SRGB,
211 .colorspace = V4L2_COLORSPACE_SRGB,
219 .colorspace = V4L2_COLORSPACE_JPEG,
[all …]
H A 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,
H A 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,
H A 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 …]
H A Dspca508.c35 .colorspace = V4L2_COLORSPACE_SRGB,
40 .colorspace = V4L2_COLORSPACE_SRGB,
45 .colorspace = V4L2_COLORSPACE_SRGB,
50 .colorspace = V4L2_COLORSPACE_SRGB,
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-common.c296 source_fmt.pixelformat, source_fmt.colorspace, in vimc_vdev_link_validate()
302 sink_fmt.pixelformat, sink_fmt.colorspace, in vimc_vdev_link_validate()
325 if (source_fmt.colorspace == V4L2_COLORSPACE_DEFAULT || in vimc_vdev_link_validate()
326 sink_fmt.colorspace == V4L2_COLORSPACE_DEFAULT) in vimc_vdev_link_validate()
330 if (source_fmt.colorspace != sink_fmt.colorspace) in vimc_vdev_link_validate()
/linux/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c908 switch (avi->colorspace) { in v4l2_hdmi_rx_colorimetry()
915 c.colorspace = V4L2_COLORSPACE_OPRGB; in v4l2_hdmi_rx_colorimetry()
919 c.colorspace = V4L2_COLORSPACE_BT2020; in v4l2_hdmi_rx_colorimetry()
950 c.colorspace = V4L2_COLORSPACE_SMPTE170M; in v4l2_hdmi_rx_colorimetry()
953 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
959 c.colorspace = V4L2_COLORSPACE_SMPTE170M; in v4l2_hdmi_rx_colorimetry()
964 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
971 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
976 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
981 c.colorspace = V4L2_COLORSPACE_SRGB; in v4l2_hdmi_rx_colorimetry()
[all …]
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.h27 u32 colorspace; member
36 u32 colorspace; member
/linux/include/media/tpg/
H A Dv4l2-tpg.h161 u32 colorspace; member
354 static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace) in tpg_s_colorspace() argument
356 if (tpg->colorspace == colorspace) in tpg_s_colorspace()
358 tpg->colorspace = colorspace; in tpg_s_colorspace()
364 return tpg->colorspace; in tpg_g_colorspace()
/linux/drivers/media/test-drivers/
H A Dvim2m.c226 enum v4l2_colorspace colorspace; member
740 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_g_fmt()
763 f->fmt.pix_mp.colorspace = ctx->colorspace; in vidioc_g_fmt_mplane()
862 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_try_fmt_vid_cap()
891 f->fmt.pix_mp.colorspace = ctx->colorspace; in vidioc_try_fmt_vid_cap_mplane()
920 if (!f->fmt.pix.colorspace) in vidioc_try_fmt_vid_out()
921 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
947 if (!f->fmt.pix_mp.colorspace) in vidioc_try_fmt_vid_out_mplane()
948 f->fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out_mplane()
1046 ctx->colorspace = f->fmt.pix.colorspace; in vidioc_s_fmt_vid_out()
[all …]
/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c103 pix->colorspace = V4L2_COLORSPACE_SRGB; in _sun4i_csi_try_fmt()
104 pix->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt()
105 pix->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt()
106 pix->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, pix->colorspace, in _sun4i_csi_try_fmt()
263 .colorspace = V4L2_COLORSPACE_RAW,
/linux/drivers/media/platform/st/stm32/dma2d/
H A Ddma2d.c292 ctx->colorspace = V4L2_COLORSPACE_REC709; in dma2d_open()
367 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_g_fmt()
404 if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT && !f->fmt.pix.colorspace) { in vidioc_try_fmt()
405 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt()
407 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_try_fmt()
442 ctx->colorspace = f->fmt.pix.colorspace; in vidioc_s_fmt()
/linux/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c229 f->fmt.pix.colorspace = q_data->cur_fmt.colorspace; in ipu_csc_scaler_try_fmt()
233 } else if (f->fmt.pix.colorspace == V4L2_COLORSPACE_DEFAULT) { in ipu_csc_scaler_try_fmt()
234 f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in ipu_csc_scaler_try_fmt()
279 q_data->cur_fmt.colorspace = f->fmt.pix.colorspace; in ipu_csc_scaler_s_fmt()
285 q_data->cur_fmt.colorspace = f->fmt.pix.colorspace; in ipu_csc_scaler_s_fmt()
498 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
500 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
742 .colorspace = V4L2_COLORSPACE_SRGB,
/linux/drivers/media/platform/ti/vpe/
H A Dcsc.c30 struct colorspace { struct
36 struct colorspace r601; argument
37 struct colorspace r709;
/linux/Documentation/admin-guide/media/
H A Dimx7.rst117 … [fmt:SBGGR10_1X10/800x600 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
120 … [fmt:SBGGR10_1X10/800x600 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
155 [fmt:SBGGR10_1X10/800x600@1/30 field:none colorspace:srgb]
199 … [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
202 … [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
215 …[fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]

12345678