STRUCT CCS_PDAF_PIX_LOC_PIXEL_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the CCS_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