STRUCT CCS_PDAF_PIX_LOC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ccs_pdaf_pix_loc(9) ✨

okay so bestie, welcome to the Kernel API Manual, section 9 β€” this is the page for struct ccs_pdaf_pix_loc, and yes it's a whole struct about PDAF pixel locations. say it with me: PDAF pixel locations. iconic. let's get into it πŸ’…


πŸŽ€ NAME πŸŽ€

struct ccs_pdaf_pix_loc β€” PDAF pixel locations ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ccs_pdaf_pix_loc {
    u16 main_offset_x;
    u16 main_offset_y;
    u8 global_pdaf_type;
    u8 block_width;
    u8 block_height;
    u16 num_block_desc_groups;
    struct ccs_pdaf_pix_loc_block_desc_group *block_desc_groups;
    u8 num_pixel_desc_grups;
    struct ccs_pdaf_pix_loc_pixel_desc_group *pixel_desc_groups;
 };

like, look at her. every field accounted for, nothing skipped, we do not ghost fields in this house 🫢


🌸 MEMBERS 🌸

  • main_offset_x β€” the start X coordinate of the PDAF pixel blocks πŸ“
  • main_offset_y β€” the start Y coordinate of the PDAF pixel blocks πŸ“ (yes she has both, we love a coordinate pair)
  • global_pdaf_type β€” the PDAF pattern type 🌈
  • block_width β€” width of a block, in pixels πŸ“
  • block_height β€” heigth of a block, in pixels πŸ“ (that spelling is straight from the source, no cap β€” she's canon, leave her alone 😭)
  • num_block_desc_groups β€” number of block descriptor groups πŸ”’
  • block_desc_groups β€” the block descriptor groups themselves πŸ‘‘
  • num_pixel_desc_grups β€” number of pixel descriptor groups πŸ”’ (and yes, grups. that's the actual field name. we stan a typo with main character energy πŸ’€)
  • pixel_desc_groups β€” the pixel descriptor groups πŸ’–
fr fr, if you ever type these field names from memory, double-check num_pixel_desc_grups β€” one letter off and the compiler will be so mean to you 😭

🧚 SEE ALSO 🧚

Kernel file ./drivers/media/i2c/ccs/ccs-data.h 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(9)
  • struct ccs_pdaf_pix_loc_pixel_desc_group(9)
  • struct ccs_data_container(9)

like, go read your siblings too, they're all slaying in their own little struct way πŸ¦‹


and that's the page!! mwah πŸ’œ this whole thing lives over in ./drivers/media/i2c/ccs, dated October 2026, and it's filed under struct ccs_pdaf_pix_loc(9) β€” go off, kernel doc, we love you, periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from