STRUCT FDP1_FMT(9)
π struct fdp1_fmt(9) β the inside scoop
okay so bestie, welcome to struct fdp1_fmt(9)</kbd></pink> β no wait, it's just struct fdp1_fmt(9)`, the manual page for The FDP1 internal format data. yes that's the whole vibe: it's a C struct that holds the tea on how the FDP1 hardware wants its formats laid out. internal format data, main character energy only π
β¨ NAME β¨
struct fdp1_fmt β the FDP1 internal format data π¦
like, the format struct. the one that knows things. iykyk.
πΈ SYNOPSIS πΈ
here's the whole struct, character for character, do not touch:
struct fdp1_fmt {
u32 fourcc;
u8 bpp[3];
u8 num_planes;
u8 hsub;
u8 vsub;
u8 fmt;
bool swap_yc;
bool swap_uv;
u8 swap;
u8 types;
};
look at her. ten fields. iconic. π
π§ Members π§
okay so let's go through every single one because we do NOT skip members in this house:
fourccβ the fourcc code, and its whole job is to match the V4L2 API. like it's the ID that lets V4L2 recognise her πbppβ bits per pixel per plane. yes, per plane, so it's an array of 3. maths girlie πnum_planesβ number of planes. how many planes we're dealing with, fr fr.hsubβ horizontal subsampling factor. the horizontal situation β¨vsubβ vertical subsampling factor. and the vertical one. balanced, as all things should be πfmtβ a 7-bit format code for the fdp1 hardware. seven bits. not eight. seven. don't come for me, that's just what it is πswap_ycβ the Y and C components are swapped, aka Y comes before C. order matters bestie π«Άswap_uvβ the U and V components are swapped, aka V comes before U. same energy, different letters πswapβ swap register control. that's it, that's the description, she's mysterious like that πtypesβ types of queue this format is applicable to. plural types. queue applicability. very demure πΈ
π SEE ALSO π
- Kernel file
./drivers/media/platform/renesas/rcar_fdp1.cβ go read the source, that's where she lives π
lowkey reminder: every field above is doing real work in the FDP1 driver, so if you're poking at this struct, keep the names and types exactly as written. no cap. π₯
and that's the page!! π this lil manual comes from ./drivers/media/platform/renesas, dated October 2026, and it's page struct fdp1_fmt(9) of the Kernel API Manual β mwah, slay, bye bestie π
β¨
π¦ 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