STRUCT AMVDEC_FORMAT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct amvdec_format(9) Β· Kernel API Manual πŸŽ€

okay bestie, this is struct amvdec_format(9) from the Kernel API Manual, and it's literally the struct that describes one of the OUTPUT (src) formats supported. it's giving β€œformat blueprint” energy, no cap. πŸ’…

πŸ’– NAME πŸ’–

struct amvdec_format β€” describes one of the OUTPUT (src) format supported. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

       struct amvdec_format {
           u32 pixfmt;
           u32 min_buffers;
           u32 max_buffers;
           u32 max_width;
           u32 max_height;
           u32 flags;
           struct amvdec_ops *vdec_ops;
           struct amvdec_codec_ops *codec_ops;
           char *firmware_path;
           u32 pixfmts_cap[4];
        };

🌸 Members 🌸

okay so here's the whole cast of fields, bestie β€” every single one is important, so don't skip a single icon. 🫢

  • pixfmt β€” V4L2 pixel format. πŸŽ€
  • min_buffers β€” minimum amount of CAPTURE (dst) buffers. πŸ’–
  • max_buffers β€” maximum amount of CAPTURE (dst) buffers. πŸ¦‹
  • max_width β€” maximum picture width supported. πŸ“
  • max_height β€” maximum picture height supported. πŸ“
  • flags β€” enum flags associated with this pixfmt. 🚩
  • vdec_ops β€” the VDEC operations that support this format. 🎬
  • codec_ops β€” the codec operations that support this format. 🧚
  • firmware_path β€” Path to the firmware that supports this format. πŸ“
  • pixfmts_cap β€” list of CAPTURE pixel formats available with pixfmt. 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

go peek at these, bestie β€” they're the supporting cast:

  • Kernel file ./drivers/staging/media/meson/vdec/vdec.h β€” struct amvdec_timestamp(9), struct amvdec_core(9), struct amvdec_ops(9), struct amvdec_codec_ops(9), struct amvdec_session(9).

mwah πŸ’‹ β€” source/version: ./drivers/staging/media/meson/...; date: October 2026. periodt. πŸ’œ

πŸ“¦ where this page comes from