STRUCT MTK_MDP_PIX_LIMIT(9)
π NAME π
struct mtk_mdp_pix_limit β image pixel size limits β¨
Okay so bestie, welcome to section 9 of the Kernel API Manual, where we meet this little struct that is literally just here to hold the pixel size limits for the MediaTek MDP situation. No cap, that's the whole job. π
π SYNOPSIS π
struct mtk_mdp_pix_limit {
u16 org_w;
u16 org_h;
u16 target_rot_dis_w;
u16 target_rot_dis_h;
u16 target_rot_en_w;
u16 target_rot_en_h;
};
Six u16 fields, all in a row, all matching, we love a tidy struct. π«Ά
π¦ Members π¦
Lowkey the most important part, so pay attention bestie:
org_wβ source pixel width πorg_hβ source pixel height πΈtarget_rot_dis_wβ pixel dst scaled width with the rotator is off πtarget_rot_dis_hβ pixel dst scaled height with the rotator is off πtarget_rot_en_wβ pixel dst scaled width with the rotator is on π₯target_rot_en_hβ pixel dst scaled height with the rotator is on π₯
So yeah β org_* is your source, and the target_* crew is your dst scaled size, split into a rotator-off pair and a rotator-on pair. Main character energy from a struct that's just six numbers, honestly. π
π SEE ALSO π
- Kernel file
./drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.cβ go read it, iykyk π
fr fr that's the entire page, no hidden lore, no surprises. The vibe check passed. β
And that's a wrap, bestie! π This was struct mtk_mdp_pix_limit(9) from the Kernel API Manual, page source ./drivers/media/platform/media..., dated October 2026. Slay, go forth and scale some pixels. π
β¨
π¦ 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