| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | colorspaces.rst | 13 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 D | colorspaces-defs.rst | 9 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 D | colorspaces-details.rst | 14 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 D | pixfmt-v4l2.rst | 109 - ``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 D | nal-h264.h | 299 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 D | nal-hevc.h | 432 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 D | visl-trace-fwht.h | 20 __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 D | gl860.c | 227 .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/staging/media/imx/ |
| H A D | imx-media-utils.c | 412 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()
|
| /linux/drivers/media/usb/gspca/ |
| H A D | ov534_9.c | 58 .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 D | sn9c20x.c | 171 .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 D | spca505.c | 31 .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 D | kinect.c | 69 .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 D | ov519.c | 242 .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 D | spca561.c | 48 .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 D | spca508.c | 35 .colorspace = V4L2_COLORSPACE_SRGB, 40 .colorspace = V4L2_COLORSPACE_SRGB, 45 .colorspace = V4L2_COLORSPACE_SRGB, 50 .colorspace = V4L2_COLORSPACE_SRGB,
|
| H A D | sonixb.c | 123 .colorspace = V4L2_COLORSPACE_SRGB, 128 .colorspace = V4L2_COLORSPACE_SRGB, 133 .colorspace = V4L2_COLORSPACE_SRGB, 138 .colorspace = V4L2_COLORSPACE_SRGB, 145 .colorspace = V4L2_COLORSPACE_SRGB, 150 .colorspace = V4L2_COLORSPACE_SRGB, 155 .colorspace = V4L2_COLORSPACE_SRGB, 160 .colorspace = V4L2_COLORSPACE_SRGB, 165 .colorspace = V4L2_COLORSPACE_SRGB, 170 .colorspace = V4L2_COLORSPACE_SRGB,
|
| H A D | sunplus.c | 48 .colorspace = V4L2_COLORSPACE_JPEG, 53 .colorspace = V4L2_COLORSPACE_JPEG, 61 .colorspace = V4L2_COLORSPACE_JPEG, 66 .colorspace = V4L2_COLORSPACE_JPEG, 74 .colorspace = V4L2_COLORSPACE_JPEG, 79 .colorspace = V4L2_COLORSPACE_JPEG, 84 .colorspace = V4L2_COLORSPACE_JPEG, 89 .colorspace = V4L2_COLORSPACE_JPEG,
|
| /linux/drivers/media/test-drivers/vimc/ |
| H A D | vimc-common.c | 296 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()
|
| H A D | vimc-common.h | 56 if ((fmt)->colorspace == V4L2_COLORSPACE_DEFAULT \ 57 || (fmt)->colorspace > V4L2_COLORSPACE_DCI_P3) { \ 58 (fmt)->colorspace = V4L2_COLORSPACE_DEFAULT; \
|
| /linux/drivers/media/i2c/ |
| H A D | alvium-csi2.c | 28 .colorspace = V4L2_COLORSPACE_SRGB, 40 .colorspace = V4L2_COLORSPACE_SRGB, 50 .colorspace = V4L2_COLORSPACE_SRGB, 60 .colorspace = V4L2_COLORSPACE_SRGB, 70 .colorspace = V4L2_COLORSPACE_SRGB, 80 .colorspace = V4L2_COLORSPACE_SRGB, 90 .colorspace = V4L2_COLORSPACE_SRGB, 100 .colorspace = V4L2_COLORSPACE_SRGB, 110 .colorspace = V4L2_COLORSPACE_SRGB, 120 .colorspace = V4L2_COLORSPACE_SRGB, [all …]
|
| H A D | ov772x.c | 402 enum v4l2_colorspace colorspace; member 446 .colorspace = V4L2_COLORSPACE_SRGB, 454 .colorspace = V4L2_COLORSPACE_SRGB, 462 .colorspace = V4L2_COLORSPACE_SRGB, 470 .colorspace = V4L2_COLORSPACE_SRGB, 478 .colorspace = V4L2_COLORSPACE_SRGB, 486 .colorspace = V4L2_COLORSPACE_SRGB, 494 .colorspace = V4L2_COLORSPACE_SRGB, 506 .colorspace = V4L2_COLORSPACE_SRGB, 1208 mf->colorspace = priv->cfmt->colorspace; in ov772x_get_fmt() [all …]
|
| /linux/include/media/tpg/ |
| H A D | v4l2-tpg.h | 161 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/gpu/drm/logicvc/ |
| H A D | logicvc_layer.h | 27 u32 colorspace; member 36 u32 colorspace; member
|
| /linux/drivers/media/platform/sunxi/sun4i-csi/ |
| H A D | sun4i_v4l2.c | 103 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,
|