Home
last modified time | relevance | path

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

/openbmc/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()
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()
H A Dvpu_helpers.h57 int vpu_color_check_primaries(u32 primaries);
61 u32 vpu_color_cvrt_primaries_v2i(u32 primaries);
62 u32 vpu_color_cvrt_primaries_i2v(u32 primaries);
69 int vpu_color_get_default(u32 primaries, u32 *ptransfers, u32 *pmatrix, u32 *pfull_range);
H A Dvpu_codec.h48 u32 primaries; member
H A Dvenc.c197 f->fmt.pix_mp.colorspace = venc->params.color.primaries; in venc_g_fmt()
253 venc->params.color.primaries = pix_mp->colorspace; in venc_s_fmt()
259 pix_mp->colorspace = venc->params.color.primaries; in venc_s_fmt()
1221 venc->params.color.primaries, in venc_get_debug_info()
H A Dvpu_windsor.c1079 vpu_color_cvrt_primaries_v2i(params->color.primaries); in vpu_windsor_set_color()
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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
H A 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
H A Dcolorspaces-details.rst80 BT.601 as well, even though BT.601 does not mention any color primaries.
/openbmc/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
/openbmc/linux/drivers/media/usb/uvc/
H A Duvc_driver.c59 static enum v4l2_colorspace uvc_colorspace(const u8 primaries) in uvc_colorspace() argument
70 if (primaries < ARRAY_SIZE(colorprimaries)) in uvc_colorspace()
71 return colorprimaries[primaries]; in uvc_colorspace()
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch5983 + fmt->primaries = COLOR_PRIMARIES_BT709;
5986 + fmt->primaries = COLOR_PRIMARIES_BT601_625;
5990 + fmt->primaries = COLOR_PRIMARIES_BT601_525;
5993 + fmt->primaries = COLOR_PRIMARIES_BT2020;
6614 + p_pic->format.mastering.primaries[ST2086_RED*2 + 0] =
6616 + p_pic->format.mastering.primaries[ST2086_RED*2 + 1] =
6618 + p_pic->format.mastering.primaries[ST2086_GREEN*2 + 0] =
6620 + p_pic->format.mastering.primaries[ST2086_GREEN*2 + 1] =
6622 + p_pic->format.mastering.primaries[ST2086_BLUE*2 + 0] =
6624 + p_pic->format.mastering.primaries[ST2086_BLUE*2 + 1] =
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch27283 + // Mastering primaries