STRUCT MTK_MDP_FRAME(9)
π¦ struct mtk_mdp_frame(9) π¦
okay bestie, welcome to the Kernel API Manual page for struct mtk_mdp_frame(9) β it's giving source/target frame properties, and every single field is lowkey doing main character work. no cap, this is the struct blueprint. π
π NAME π
struct mtk_mdp_frame β source/target frame properties β¨
π¦ SYNOPSIS π¦
struct mtk_mdp_frame {
u32 width;
u32 height;
struct v4l2_rect crop;
unsigned long payload[VIDEO_MAX_PLANES];
unsigned int pitch[VIDEO_MAX_PLANES];
struct mtk_mdp_addr addr;
const struct mtk_mdp_fmt *fmt;
u8 alpha;
};
that's the whole shape of it, bestie β literally every field right there, no edits, no skipping π«Ά
πΈ Members πΈ
widthβSRC : SRCIMG_WIDTH, DST : OUTPUTDMA_WHOLE_IMG_WIDTHβ yes bestie, width is out here knowing both sides of the story β¨heightβSRC : SRCIMG_HEIGHT, DST : OUTPUTDMA_WHOLE_IMG_HEIGHTβ same energy, but vertical πcropβ cropped(source)/scaled(destination) size πpayloadβ image size in bytes(w x h x bpp)πpitchβ bytes per line of image in memory π¦addrβ image frame buffer physical addresses π₯fmtβ color format pointer πalphaβ frame's alpha value π
π SEE ALSO π
- Kernel file
./drivers/media/platform/mediatek/mdp/mtk_mdp_core.h struct mtk_mdp_pix_align(9),struct mtk_mdp_fmt(9),struct mtk_mdp_addr(9),struct mtk_mdp_variant(9),struct mtk_mdp_dev(9),struct mtk_mdp_ctx(9)β go read these too, iykyk π
signed off with source/version ./drivers/media/platform/media... and date October 2026 β bye bestie, go slay those frames π
β¨
π¦ 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