Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/media/platform/amphion/
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()
112 int vpu_color_check_primaries(u32 primaries) in vpu_color_check_primaries() argument
114 return vpu_color_cvrt_primaries_v2i(primaries) ? 0 : -EINVAL; in vpu_color_check_primaries()
143 int vpu_color_get_default(u32 primaries, u32 *ptransfers, u32 *pmatrix, u32 *pfull_range) in vpu_color_get_default() argument
149 switch (primaries) { in vpu_color_get_default()
Dvpu_helpers.h55 int vpu_color_check_primaries(u32 primaries);
59 u32 vpu_color_cvrt_primaries_v2i(u32 primaries);
60 u32 vpu_color_cvrt_primaries_i2v(u32 primaries);
67 int vpu_color_get_default(u32 primaries, u32 *ptransfers, u32 *pmatrix, u32 *pfull_range);
Dvpu_codec.h48 u32 primaries; member
Dvenc.c186 f->fmt.pix_mp.colorspace = venc->params.color.primaries; in venc_g_fmt()
255 venc->params.color.primaries = pix_mp->colorspace; in venc_s_fmt()
256 vpu_color_get_default(venc->params.color.primaries, in venc_s_fmt()
269 pix_mp->colorspace = venc->params.color.primaries; in venc_s_fmt()
1229 venc->params.color.primaries, in venc_get_debug_info()
Dvpu_windsor.c1074 vpu_color_cvrt_primaries_v2i(params->color.primaries); in vpu_windsor_set_color()
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dcolorspaces.rst71 phosphors used in the displays. These *color primaries* are part of what
74 Different display devices will have different primaries and some
75 primaries are more suitable for some display technologies than others.
78 to define the three color primaries (these are typically defined as x, y
80 reference: that is the color obtained when all three primaries are at
82 primaries. This is usually chosen to be close to daylight which has been
92 specific chromaticity primaries are linear colorspaces. But neither the
145 primaries, the white reference chromaticity, a transfer function and the
Dext-ctrls-colorimetry.rst49 The mastering display defines the color volume (the color primaries,
67 color primaries, index value c equal to 0 corresponds to the Green
75 color primaries, index value c equal to 0 corresponds to the Green
Dcolorspaces-details.rst80 BT.601 as well, even though BT.601 does not mention any color primaries.
/Linux-v6.1/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc172 chroma values from the color primaries
176 bColorPrimaries color primaries and the reference
/Linux-v6.1/drivers/media/usb/uvc/
Duvc_driver.c57 static enum v4l2_colorspace uvc_colorspace(const u8 primaries) in uvc_colorspace() argument
68 if (primaries < ARRAY_SIZE(colorprimaries)) in uvc_colorspace()
69 return colorprimaries[primaries]; in uvc_colorspace()