STRUCT MTK_MDP_PIX_LIMIT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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