/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
D | colorspaces.rst | 12 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 …]
|
D | colorspaces-details.rst | 4 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 …]
|
D | colorspaces-defs.rst | 8 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 …]
|
D | pixfmt-v4l2.rst | 108 - ``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-v6.1/Documentation/devicetree/bindings/display/ |
D | xylon,logicvc-display.yaml | 81 xylon,display-colorspace: 83 # RGB colorspace (C_DISPLAY_COLOR_SPACE == 0) 85 # YUV 4:2:2 colorspace (C_DISPLAY_COLOR_SPACE == 1) 87 # YUV 4:4:4 colorspace (C_DISPLAY_COLOR_SPACE == 2) 89 description: Display output colorspace (C_DISPLAY_COLOR_SPACE). 137 xylon,layer-colorspace: 139 # RGB colorspace (C_LAYER_X_TYPE == 0) 141 # YUV packed colorspace (C_LAYER_X_TYPE == 0) 143 description: Layer colorspace (C_LAYER_X_TYPE). 176 - xylon,layer-colorspace [all …]
|
/Linux-v6.1/drivers/media/platform/allegro-dvt/ |
D | nal-h264.h | 291 * nal_h264_color_primaries() - Get color_primaries for v4l2 colorspace 292 * @colorspace: the color space as &enum v4l2_colorspace 297 * Return: the color_primaries value for the passed colorspace 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() 327 * @colorspace: the color space as &enum v4l2_colorspace 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() 358 * @colorspace: the color space as &enum v4l2_colorspace 366 static inline int nal_h264_matrix_coeffs(enum v4l2_colorspace colorspace, in nal_h264_matrix_coeffs() argument [all …]
|
D | nal-hevc.h | 431 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()
|
/Linux-v6.1/include/media/ |
D | v4l2-mediabus.h | 185 pix_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format() 207 mbus_fmt->colorspace = pix_fmt->colorspace; in v4l2_fill_mbus_format() 228 pix_mp_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format_mplane() 248 mbus_fmt->colorspace = pix_mp_fmt->colorspace; in v4l2_fill_mbus_format_mplane()
|
D | v4l2-dv-timings.h | 228 * @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-v6.1/drivers/media/test-drivers/vimc/ |
D | vimc-common.c | 294 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-v6.1/drivers/media/pci/zoran/ |
D | zoran_driver.c | 64 .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-v6.1/drivers/staging/media/imx/ |
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() 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 …]
|
D | imx-media-csc-scaler.c | 226 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-v6.1/Documentation/devicetree/bindings/display/bridge/ |
D | adi,adv7511.yaml | 82 adi,input-colorspace: 136 # adi,input-colorspace and adi,input-clock are required except in 142 adi,input-colorspace: 165 - adi,input-colorspace 204 adi,input-colorspace = "yuv422";
|
/Linux-v6.1/drivers/media/usb/gspca/gl860/ |
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-v6.1/Documentation/admin-guide/media/ |
D | imx7.rst | 117 … [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]
|
D | vivid.rst | 27 - 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-v6.1/drivers/gpu/drm/sti/ |
D | sti_hdmi.h | 59 * @colorspace: current colorspace selected 85 enum hdmi_colorspace colorspace; member
|
/Linux-v6.1/drivers/media/i2c/ |
D | mt9m001.c | 54 /* 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()
|
D | noon010pc30.c | 112 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, 526 mf->colorspace = info->curr_fmt->colorspace; in noon010_get_fmt() 559 fmt->format.colorspace = V4L2_COLORSPACE_JPEG; in noon010_set_fmt() 653 mf->colorspace = V4L2_COLORSPACE_JPEG; in noon010_open()
|
/Linux-v6.1/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-lite.c | 44 .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-v6.1/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d.c | 291 ctx->colorspace = V4L2_COLORSPACE_REC709; in dma2d_open() 372 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_g_fmt() 409 if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT && !f->fmt.pix.colorspace) { in vidioc_try_fmt() 410 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt() 412 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_try_fmt() 447 ctx->colorspace = f->fmt.pix.colorspace; in vidioc_s_fmt()
|
/Linux-v6.1/include/uapi/linux/ |
D | v4l2-mediabus.h | 27 * @colorspace: colorspace of the data (from enum v4l2_colorspace) 40 __u32 colorspace; member
|
/Linux-v6.1/drivers/media/platform/sunxi/sun4i-csi/ |
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,
|
/Linux-v6.1/include/media/tpg/ |
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()
|