STRUCT MTK_MDP_PIX_ALIGN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct mtk_mdp_pix_align(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– this one's a little struct that literally just holds alignment info for an image β€” that's it, that's the whole vibe. no cap, it's giving "small but mighty" πŸŽ€


🌸 NAME 🌸

struct mtk_mdp_pix_align β€” alignment of image πŸ–ΌοΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

lowkey the whole thing is just four u16s hanging out together:

struct mtk_mdp_pix_align {
    u16 org_w;
    u16 org_h;
    u16 target_w;
    u16 target_h;
 };

πŸ’… Members πŸ’…

bestie, meet the four main characters πŸ‘‘

  • org_w β€” source alignment of width πŸ“
  • org_h β€” source alignment of height πŸ“
  • target_w β€” dst alignment of width 🎯
  • target_h β€” dst alignment of height 🎯

so like, source side gets org_*, destination side gets target_*, and everyone's aligned. slay. periodt. πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/media/platform/mediatek/mdp/mtk_mdp_core.h
  • struct mtk_mdp_fmt(9)
  • struct mtk_mdp_addr(9)
  • struct mtk_mdp_frame(9)
  • struct mtk_mdp_variant(9)
  • struct mtk_mdp_dev(9)
  • struct mtk_mdp_ctx(9)

like, go read the whole friend group iykyk 🫢🌈


ngl this page is short and that's iconic of it. no warnings, no weird edge cases, just vibes and alignment. πŸ§šβ€β™€οΈ

and that's the tea, bestie πŸ’€ this came from ./drivers/media/platform/media... and it's dated October 2026 β€” fr fr, mark your calendar, the struct mtk_mdp_pix_align(9) girlies stay booked and busy πŸ‘‘πŸŒΈπŸ’–

πŸ“¦ where this page comes from