vsp1_get_format_info(9)
β¨ vsp1_get_format_info β¨
okay so bestie, welcome to section 9 of the Kernel API Manual β this is vsp1_get_format_info(9) and it's literally the lookup girlie of the VSP1 world π
she finds your format info and she does it fast.
πΈ SYNOPSIS πΈ
const struct vsp1_format_info * vsp1_get_format_info (struct vsp1_device
*vsp1 , u32 fourcc );
no cap, that's the whole signature β she takes a device and a 4CC and hands you back a const struct vsp1_format_info * π
π¦ ARGUMENTS π¦
vsp1β the VSP1 device, aka the main character you're asking about πfourccβ the format 4CC, the little four-character code that tells her which format you're obsessing over π₯
π DESCRIPTION π
so here's the vibe: she returns a pointer to the format information structure that corresponds to the V4L2 format 4CC you passed in π«Ά
and if there's no corresponding format to be found? she gives you NULL. respectfully. no format, no pointer, no drama π
π SEE ALSO π
- the kernel file
./drivers/media/platform/renesas/vsp1/vsp1_pipe.cβ yes that's where she lives, go visit her π§ vsp1_get_format_info_by_index(9)β the index-based sibling, iykykvsp1_adjust_color_space(9)β her color-space-adjusting bestie πΈ
and that's the page!! this icon was brought to you by ./drivers/media/platform/renes... (the source/version, bestie, it's in the footer) and dated October 2026 β periodt, see you in the next lookup πβ
π¦ 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