STRUCT CCS_PDAF_PIX_LOC(9)
β¨ 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
- 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