STRUCT AMVDEC_CORE(9)
πΈ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms