Home
last modified time | relevance | path

Searched refs:primaries (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/media/platform/amphion/
H A Dvpu_color.c69 u32 vpu_color_cvrt_primaries_v2i(u32 primaries) in vpu_color_cvrt_primaries_v2i() argument
71 return vpu_helper_find_in_array_u8(colorprimaries, ARRAY_SIZE(colorprimaries), primaries); in vpu_color_cvrt_primaries_v2i()
74 u32 vpu_color_cvrt_primaries_i2v(u32 primaries) in vpu_color_cvrt_primaries_i2v() argument
76 return primaries < ARRAY_SIZE(colorprimaries) ? colorprimaries[primaries] : 0; in vpu_color_cvrt_primaries_i2v()
H A Dvpu_helpers.h59 u32 vpu_color_cvrt_primaries_v2i(u32 primaries);
60 u32 vpu_color_cvrt_primaries_i2v(u32 primaries);
H A Dvpu_codec.h48 u32 primaries; member
H A Dvenc.c196 f->fmt.pix_mp.colorspace = venc->params.color.primaries; in venc_g_fmt()
250 venc->params.color.primaries = pix_mp->colorspace; in venc_s_fmt()
256 pix_mp->colorspace = venc->params.color.primaries; in venc_s_fmt()
1231 venc->params.color.primaries, in venc_get_debug_info()
H A Dvpu_windsor.c1081 vpu_color_cvrt_primaries_v2i(params->color.primaries); in vpu_windsor_set_color()
/linux/drivers/media/platform/qcom/iris/
H A Diris_hfi_gen2_packet.c10 u32 iris_hfi_gen2_get_color_primaries(u32 primaries) in iris_hfi_gen2_get_color_primaries() argument
12 switch (primaries) { in iris_hfi_gen2_get_color_primaries()
76 u32 iris_hfi_gen2_get_color_info(u32 matrix_coeff, u32 transfer_char, u32 primaries, in iris_hfi_gen2_get_color_info() argument
82 ((primaries << 16) & 0xFF0000) | in iris_hfi_gen2_get_color_info()
H A Diris_hfi_gen2_packet.h105 u32 iris_hfi_gen2_get_color_primaries(u32 primaries);
108 u32 iris_hfi_gen2_get_color_info(u32 matrix_coeff, u32 transfer_char, u32 primaries,
H A Diris_hfi_gen1_response.c22 u32 primaries, matrix_coeff, transfer_char; in iris_hfi_gen1_read_changed_params() local
116 primaries = FIELD_GET(GENMASK(23, 16), event.colour_space); in iris_hfi_gen1_read_changed_params()
133 iris_hfi_get_v4l2_color_primaries(primaries); in iris_hfi_gen1_read_changed_params()
H A Diris_hfi_gen2_command.c367 u32 primaries = HFI_PRIMARIES_RESERVED; in iris_hfi_gen2_set_colorspace() local
374 primaries = iris_hfi_gen2_get_color_primaries(pixmp->colorspace); in iris_hfi_gen2_set_colorspace()
384 color_info = iris_hfi_gen2_get_color_info(matrix_coeff, transfer_char, primaries, in iris_hfi_gen2_set_colorspace()
/linux/Documentation/userspace-api/media/v4l/
H A Dcolorspaces.rst72 phosphors used in the displays. These *color primaries* are part of what
75 Different display devices will have different primaries and some
76 primaries are more suitable for some display technologies than others.
79 to define the three color primaries (these are typically defined as x, y
81 reference: that is the color obtained when all three primaries are at
83 primaries. This is usually chosen to be close to daylight which has been
93 specific chromaticity primaries are linear colorspaces. But neither the
146 primaries, the white reference chromaticity, a transfer function and the
H A Dext-ctrls-colorimetry.rst50 The mastering display defines the color volume (the color primaries,
68 color primaries, index value c equal to 0 corresponds to the Green
76 color primaries, index value c equal to 0 corresponds to the Green
H A Dcolorspaces-details.rst81 BT.601 as well, even though BT.601 does not mention any color primaries.
/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-uvc202 chroma values from the color primaries
206 bColorPrimaries color primaries and the reference
219 chroma values from the color primaries
223 bColorPrimaries color primaries and the reference
/linux/drivers/media/usb/uvc/
H A Duvc_driver.c61 static enum v4l2_colorspace uvc_colorspace(const u8 primaries) in uvc_colorspace() argument
72 if (primaries < ARRAY_SIZE(colorprimaries)) in uvc_colorspace()
73 return colorprimaries[primaries]; in uvc_colorspace()