STRUCT TEGRA_VIDEO_FORMAT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the struct tegra_video_format(9) page from the Kernel API Manual πŸ’… this is literally the Tegra video format description β€” struct tegra_video_format - Tegra video format description β€” and it’s giving β€œsmall struct, big main character energy,” no cap.


✨ SYNOPSIS ✨

the whole struct is right here, bestie β€” copy it exactly, don’t freelance:

       struct tegra_video_format {
           enum tegra_image_dt img_dt;
           unsigned int bit_width;
           unsigned int code;
           unsigned int bpp;
           u32 img_fmt;
           u32 fourcc;
        };

πŸŽ€ Members πŸŽ€

here’s the cast, and every field is iconic in its own way:

  • img_dt β€” MIPI CSI-2 data type (for CSI-2 only) πŸ¦‹
  • bit_width β€” format width in bits per component (for CSI/Tegra210 only) ✨
  • code β€” media bus format code πŸ’…
  • bpp β€” bytes per pixel (when stored in memory) πŸ“
  • img_fmt β€” image format (for CSI/Tegra210 only) 🌸
  • fourcc β€” V4L2 pixel format FCC identifier πŸ‘‘

πŸ’… SEE ALSO πŸ’…

go peek at these for the full lore, iykyk:

  • Kernel file ./drivers/staging/media/tegra-video/vi.h
  • struct tegra_vi_ops(9)
  • struct tegra_vi_soc(9)
  • struct tegra_vi(9)
  • struct tegra_vi_channel(9)
  • struct tegra_channel_buffer(9)

mwah πŸ’‹ β€” source/version: ./drivers/staging/media/tegra-...; date: October 2026; page: struct tegra_video_format(9). 🫢✨

πŸ“¦ where this page comes from