STRUCT MTK_VIDEO_ENC_BUF(9)
π struct mtk_video_enc_buf(9) π
okay so bestie, welcome to the kernel API manual β¨ β this one lives in section 9 of the man pages and it's literally all about struct mtk_video_enc_buf, no cap. grab a strawberry π and let's get into it.
πΈ NAME πΈ
struct mtk_video_enc_buf β the private data that's attached to each and every VB2 buffer π«Ά
like, every VB2 buffer gets its own little stash of private stuff, and this struct is that stash. iconic behaviour honestly.
π¦ SYNOPSIS π¦
struct mtk_video_enc_buf {
struct v4l2_m2m_buffer m2m_buf;
u32 param_change;
struct mtk_enc_params enc_params;
};
three members, one struct, zero drama π
π Members π
m2m_bufβ the M2M buffer π that's it, that's the whole vibe.param_changeβ tells you the types of encode parameter change that happened before this buffer got encoded π₯ au32holding the deets.enc_paramsβ the actual encode parameters that changed before this buffer gets encoded π the real ones.
β SEE ALSO β
- Kernel file π
./drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.h
go read the source bestie, iykyk π§
aaaaand that's the whole page π no filler, no fluff, just a struct with three members living its main character life. mwah π
this lil gem is from source/version ./drivers/media/platform/media..., dated October 2026, and it's the struct mtk_video_enc_buf(9) page β 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