vimc_pix_map_by_pixelformat(9)
π vimc_pix_map_by_pixelformat β like, the Kernel API Manual page you've been waiting for
okay bestie, gather round, because today we're looking up a struct and we're gonna do it correctly β¨ This one's straight outta the Kernel API Manual, so you know it's official.
πΈ NAME πΈ
vimc_pix_map_by_pixelformat β literally just "gimme the vimc_pix_map struct that matches this v4l2 pixel format", no cap π
β¨ SYNOPSIS β¨
const struct vimc_pix_map * vimc_pix_map_by_pixelformat (u32 pixelformat
);
likeβ¦ it takes one thing and hands you back a pointer to a const struct vimc_pix_map, and honestly? iconic behavior π«Ά
π¦ ARGUMENTS π¦
pixelformatβ the pixel format, defined by theV4L2_PIX_FMT_*macros. yes, those macros. you know the ones π
π SEE ALSO π
first up, the kernel file this whole thing lives near:
./drivers/media/test-drivers/vimc/vimc-common.h
and then the whole friend group β go say hi to all of them:
vimc_colorimetry_clamp(9)struct vimc_pix_map(9)struct vimc_ent_device(9)struct vimc_device(9)struct vimc_ent_type(9)struct vimc_ent_config(9)vimc_is_source(9)vimc_pix_map_by_index(9)vimc_mbus_code_by_index(9)vimc_pix_map_by_code(9)vimc_ent_sd_register(9)vimc_vdev_link_validate(9)
and that's the whole page, bestie β short, sweet, and to the point ππ
this lil' beauty comes to you from./drivers/media/test-drivers/vimc, dated October 2026, and it's filed undervimc_pix_map_by_pixelformat(9)if you ever need to find it again. mwah πβ¨
π¦ 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