STRUCT MTK_STATELESS_CONTROL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mtk_stateless_control(9) β€” like, the CID control type bestie

okay so we're in the Kernel API Manual today, and this page is literally about one tiny struct: struct mtk_stateless_control. it's giving "small but iconic" energy ngl 🌸


✨ NAME ✨

struct mtk_stateless_control β€” the CID control type. that's it, that's the vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing, no cap, copy it exactly:

struct mtk_stateless_control {
    struct v4l2_ctrl_config cfg;
    int codec_type;
 };

two members. that's the entire struct. short king behavior honestly πŸ‘‘


🌈 Members 🌈

πŸ“ cfg

the control configuration. yeah bestie, that's the whole description β€” it's a struct v4l2_ctrl_config and it's doing control configuration things πŸ’–

🧚 codec_type

the codec type, and plot twist: it's a V4L2 pixel format πŸŽ€ it's what tells you the codec type for the CID control type. iykyk.


πŸ‘‘ SEE ALSO πŸ‘‘

go look at the source, bestie, it's all right there in the kernel file:

  • ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c

and also this one, which is, um, literally truncated in the original but we're keeping it exactly as-is because facts don't change πŸ™ˆ:

  • ./drivers/media/platform/media...

πŸ’€ real talk: don't go "fixing" the truncated path or the spacing in that struct block. we keep it character for character, always. periodt.

that's the whole page, bestie 🫢 sign-off time: this was pulled from the kernel source bits shown as ./drivers/media/platform/media..., dated October 2026, and it's still called struct mtk_stateless_control(9) in the header because some things never change ✨ mwah πŸ’œ

πŸ“¦ where this page comes from