STRUCT MTK_STATELESS_CONTROL(9)
π 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
- 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