STRUCT CCS_PDAF_PIX_LOC_PIXEL_DESC(9)
π struct ccs_pdaf_pix_loc_pixel_desc β the Kernel API Manual, bestie edition π
okay so real talk: this is a page from the Kernel API Manual, and it's about struct ccs_pdaf_pix_loc_pixel_desc. tiny struct, big "PDAF pixel location block descriptor" energy. she's small but she knows her place (literally, she's a pixel location). π¦
β¨ NAME β¨
struct ccs_pdaf_pix_loc_pixel_desc β the PDAF pixel location block descriptor. that's her! that's the whole thing! she describes where a pixel is at. iconic behavior honestly. π
πΈ SYNOPSIS πΈ
here's the whole vibe, verbatim, no cap:
struct ccs_pdaf_pix_loc_pixel_desc {
u8 pixel_type;
u8 small_offset_x;
u8 small_offset_y;
};
three u8s and a dream. that's it. that's the struct. π
π«Ά Members π«Ά
so like, member by member, because we respect each field's main character moment:
pixel_typeβ the type of the pixel. what kind of pixel is she? the value is one of theCCS_DATA_PDAF_PIXEL_TYPE_*constants. iykyk π₯small_offset_xβ the offset X coordinate. the little x. the horizontal-ish one. βsmall_offset_yβ the offset Y coordinate. the offset Y coordinate. bestie they're siblings, obviously. π
π¦ SEE ALSO π¦
if you liked this struct, may i recommend the rest of the extended universe π:
- Kernel file
./drivers/media/i2c/ccs/ccs-data.hβ that's where this whole struct lives, go say hi struct ccs_data_block_version(9)struct ccs_reg(9)struct ccs_if_rule(9)struct ccs_frame_format_desc(9)struct ccs_frame_format_descs(9)struct ccs_pdaf_readout(9)struct ccs_rule(9)struct ccs_pdaf_pix_loc_block_desc(9)struct ccs_pdaf_pix_loc_block_desc_group(9)struct ccs_pdaf_pix_loc_pixel_desc_group(9)struct ccs_pdaf_pix_loc(9)struct ccs_data_container(9)
that's the whole friend group. a whole friend group of structs. slay. π§
and that's the page!! π it lives at ./drivers/media/i2c/ccs, the version/date stamp says October 2026, and the footer's still repping struct ccs_p...c_pixel_desc(9) because we tr*nc*t* the long name for the header (she's shy). anyway go forth and locate some pixels, you're gonna do amazing πβ¨
π¦ 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