STRUCT V4L2_HDMI_COLORIMETRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 NAME ✨

okay so welcome to the Kernel API Manual bestie, and today's main character is struct v4l2_hdmi_colorimetry β€” literally the struct that describes the HDMI colorimetry information πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

no cap, here's the whole shape of it, character for character:

struct v4l2_hdmi_colorimetry {
    enum v4l2_colorspace colorspace;
    enum v4l2_ycbcr_encoding ycbcr_enc;
    enum v4l2_quantization quantization;
    enum v4l2_xfer_func xfer_func;
 };

πŸ’– Members πŸ’–

four members, four little icons, all serving their own vibe:

  • colorspace β€” it's an enum v4l2_colorspace, and it's the colorspace 🌈
  • ycbcr_enc β€” it's an enum v4l2_ycbcr_encoding, aka the Y'CbCr encoding πŸ¦‹
  • quantization β€” it's an enum v4l2_quantization, and it holds the colorspace quantization ⭐
  • xfer_func β€” it's an enum v4l2_xfer_func, holding the colorspace transfer function ✨

🫢 SEE ALSO 🫢

heads up, all of this lives in the kernel file ./include/media/v4l2-dv-timings.h β€” and the whole friend group is:


go read them, iykyk πŸ‘‘

and that's the whole page, bestie β€” this one came from ./include/media, dated October 2026, and it's filed under struct v4l2_..._colorimetry(9). periodt πŸ’œπŸŒΈ

πŸ“¦ where this page comes from