Home
last modified time | relevance | path

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

12345678910>>...18

/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dcolorspaces.rst12 you can accurately display that color. A colorspace defines what it
24 ABCDEFGHIJKL colorspace...
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
72 defines a colorspace.
87 in the CIE xyY colorspace. Based on those a 3x3 matrix can be
89 colorspace.
129 called the quantization. This is *not* part of the colorspace
147 colorspace standards correctly define all four, quite often the
[all …]
H A 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 …]
H A Dcolorspaces-details.rst13 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
91 The :ref:`itu709` standard defines the colorspace used by HDTV in
164 this colorspace:
200 the Rec. 709 colorspace gamut.
242 These chromaticities are identical to the Rec. 709 colorspace.
286 The :ref:`oprgb` standard defines the colorspace used by computer
455 Note that this colorspace standard does not specify a
719 This colorspace defines the colorspace used by most (Motion-)JPEG
[all …]
H A 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 …]
/openbmc/linux/include/media/
H A Dv4l2-mediabus.h186 pix_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format()
208 mbus_fmt->colorspace = pix_fmt->colorspace; in v4l2_fill_mbus_format()
229 pix_mp_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format_mplane()
249 mbus_fmt->colorspace = pix_mp_fmt->colorspace; in v4l2_fill_mbus_format_mplane()
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dxylon,logicvc-display.yaml81 xylon,display-colorspace:
83 # RGB colorspace (C_DISPLAY_COLOR_SPACE == 0)
137 xylon,layer-colorspace:
176 - xylon,layer-colorspace
204 - xylon,display-colorspace
234 xylon,display-colorspace = "rgb";
247 xylon,layer-colorspace = "rgb";
257 xylon,layer-colorspace = "rgb";
266 xylon,layer-colorspace = "rgb";
275 xylon,layer-colorspace = "rgb";
[all …]
/openbmc/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.h431 static inline int nal_hevc_color_primaries(enum v4l2_colorspace colorspace) in nal_hevc_color_primaries() argument
433 switch (colorspace) { in nal_hevc_color_primaries()
457 static inline int nal_hevc_transfer_characteristics(enum v4l2_colorspace colorspace, in nal_hevc_transfer_characteristics() argument
461 xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(colorspace); in nal_hevc_transfer_characteristics()
478 static inline int nal_hevc_matrix_coeffs(enum v4l2_colorspace colorspace, in nal_hevc_matrix_coeffs() argument
482 ycbcr_encoding = V4L2_MAP_YCBCR_ENC_DEFAULT(colorspace); in nal_hevc_matrix_coeffs()
/openbmc/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,
/openbmc/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 …]
/openbmc/linux/drivers/media/pci/zoran/
H A 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,
322 fmt->fmt.pix.colorspace = zr->v4l_settings.format->colorspace; in zoran_g_fmt_vid_cap()
414 fmt->fmt.pix.colorspace = zoran_formats[i].colorspace; in zoran_try_fmt_vid_cap()
[all …]
/openbmc/linux/drivers/staging/media/imx/
H A 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()
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()
507 V4L2_MAP_YCBCR_ENC_DEFAULT(tryfmt->colorspace); in imx_media_try_colorimetry()
514 tryfmt->colorspace, in imx_media_try_colorimetry()
559 pix->colorspace = mbus->colorspace; in imx_media_mbus_fmt_to_pix_fmt()
/openbmc/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 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,},
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,
/openbmc/linux/drivers/media/test-drivers/vimc/
H A Dvimc-common.h56 if ((fmt)->colorspace == V4L2_COLORSPACE_DEFAULT \
57 || (fmt)->colorspace > V4L2_COLORSPACE_DCI_P3) { \
58 (fmt)->colorspace = V4L2_COLORSPACE_DEFAULT; \
H A 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()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c896 switch (avi->colorspace) { in v4l2_hdmi_rx_colorimetry()
903 c.colorspace = V4L2_COLORSPACE_OPRGB; in v4l2_hdmi_rx_colorimetry()
907 c.colorspace = V4L2_COLORSPACE_BT2020; in v4l2_hdmi_rx_colorimetry()
941 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
952 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
959 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
964 c.colorspace = V4L2_COLORSPACE_REC709; in v4l2_hdmi_rx_colorimetry()
969 c.colorspace = V4L2_COLORSPACE_SRGB; in v4l2_hdmi_rx_colorimetry()
974 c.colorspace = V4L2_COLORSPACE_OPRGB; in v4l2_hdmi_rx_colorimetry()
979 c.colorspace = V4L2_COLORSPACE_BT2020; in v4l2_hdmi_rx_colorimetry()
[all …]
/openbmc/linux/drivers/media/i2c/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.h27 u32 colorspace; member
36 u32 colorspace; member
/openbmc/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()
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-isp.c459 sink_fmt->colorspace = V4L2_COLORSPACE_RAW; in rkisp1_isp_init_config()
475 src_fmt->colorspace = V4L2_COLORSPACE_SRGB; in rkisp1_isp_init_config()
548 src_fmt->colorspace = sink_fmt->colorspace; in rkisp1_isp_set_src_fmt()
578 if (format->colorspace != V4L2_COLORSPACE_DEFAULT) in rkisp1_isp_set_src_fmt()
579 src_fmt->colorspace = format->colorspace; in rkisp1_isp_set_src_fmt()
699 sink_fmt->colorspace = format->colorspace ? : in rkisp1_isp_set_sink_fmt()
703 V4L2_MAP_XFER_FUNC_DEFAULT(sink_fmt->colorspace); in rkisp1_isp_set_sink_fmt()
706 V4L2_MAP_YCBCR_ENC_DEFAULT(sink_fmt->colorspace); in rkisp1_isp_set_sink_fmt()
708 V4L2_MAP_QUANTIZATION_DEFAULT(false, sink_fmt->colorspace, in rkisp1_isp_set_sink_fmt()

12345678910>>...18