fimc_lite_find_format(9)
π fimc_lite_find_format(9) β from the Kernel API Manual β¨
okay so bestie, this one lives in the Kernel API Manual, and it's basically the little matchmaker function that goes looking for a fimc color format by its fourcc or media bus code. think of it as the vibe-check bouncer for pixel formats π«Ά
πΈ NAME πΈ
fimc_lite_find_format β lookup fimc color format by fourcc or media bus code
like, literally. it finds formats. that's the whole job. no cap. π
β¨ SYNOPSIS β¨
const struct fimc_fmt * fimc_lite_find_format (const u32 *pixelformat ,
const u32 *mbus_code , unsigned int mask , int index );
she returns a const struct fimc_fmt * and takes four args β we're gonna go through every single one, don't worry π
π¦ ARGUMENTS π¦
pixelformatβ the fourcc to match. it's a pointer, and if it's null it's just ignored, like genuinely not invited to the function's party πmbus_codeβ the media bus code to match. also a pointer, also ignored if null. equal treatment, we love to see it πmaskβ the color format flags to match. this is the strictness setting, iykyk βindexβ index into thefimc_lite_formatsarray. key detail bestie: ignored if negative π so like, negative numbers get no say here
π SEE ALSO π
Kernel file ./drivers/media/platform/samsung/exynos4-is/fimc-lite.c β that's the main character, go read it π₯
fr fr the one rule of this function: null pointer? ignored. negative index? ignored. she's very chill about it, but mask still expects an actual match, so don't get it twisted π
and that's the whole page, bestie β slay π
cute little sign-off sign-off: this one's sourced from <green>./drivers/media/platform/samsu...</green> and dated October 2026 ππ¦β¨
π¦ 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