STRUCT AMVDEC_CORE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to struct amvdec_core(9) from the Kernel API Manual β€” yes, we're doing kernel structs and we're gonna slay. struct amvdec_core β€” device parameters, singleton. it's giving the one-and-only holding spot for device params, and honestly? iconic.


✨ SYNOPSIS ✨

here's the struct in all its glory, exact and unbothered:

       struct amvdec_core {
           void __iomem *dos_base;
           void __iomem *esparser_base;
           struct regmap *regmap_ao;
           struct device *dev;
           struct device *dev_dec;
           const struct vdec_platform *platform;
           struct meson_canvas *canvas;
           struct clk *dos_parser_clk;
           struct clk *dos_clk;
           struct clk *vdec_1_clk;
           struct clk *vdec_hevc_clk;
           struct clk *vdec_hevcf_clk;
           struct reset_control *esparser_reset;
           struct video_device *vdev_dec;
           struct v4l2_device v4l2_dev;
           struct amvdec_session *cur_sess;
           struct mutex lock;
        };

πŸ’… Members πŸ’…

member-by-member vibe check, no skips:

  • dos_base β€” DOS memory base address. that's the DOS memory base address, periodt.
  • esparser_base β€” PARSER memory base address. the PARSER memory base address, slay.
  • regmap_ao β€” regmap for the AO bus. we love an AO-bus regmap.
  • dev β€” core device. main character energy.
  • dev_dec β€” decoder device. its decoder bestie.
  • platform β€” platform-specific data. very platform-specific.
  • canvas β€” canvas provider reference. art-class reference, cute.
  • dos_parser_clk β€” DOS_PARSER clock. clock check: passed.
  • dos_clk β€” DOS clock. another clock, obsessed.
  • vdec_1_clk β€” VDEC_1 clock. yes bestie, VDEC_1.
  • vdec_hevc_clk β€” VDEC_HEVC clock. HEVC clock representation.
  • vdec_hevcf_clk β€” VDEC_HEVCF clock. and the HEVCF one too.
  • esparser_reset β€” RESET for the PARSER. RESET for the PARSER, literally.
  • vdev_dec β€” video device for the decoder. video device for the decoder, no cap.
  • v4l2_dev β€” v4l2 device. v4l2 device, iconic.
  • cur_sess β€” current decoding session. the current decoding session.
  • lock β€” video device lock. video device lock, keep it safe.

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, linked and everything:

  • Kernel file ./drivers/staging/media/meson/vdec/vdec.h
  • struct amvdec_timestamp(9)
  • struct amvdec_ops(9)
  • struct amvdec_codec_ops(9)
  • struct amvdec_format(9)
  • struct amvdec_session(9)

and that's the tea β˜•: this page came from ./drivers/staging/media/meson/..., version/date October 2026, all about struct amvdec_core(9) β€” periodt πŸ’–

πŸ“¦ where this page comes from