Lines Matching refs:pdaf
588 static int ccs_data_parse_pdaf(struct bin_container *bin, struct ccs_pdaf_pix_loc **pdaf, in ccs_data_parse_pdaf() argument
604 *pdaf = bin_alloc(bin, sizeof(**pdaf)); in ccs_data_parse_pdaf()
605 if (!*pdaf) in ccs_data_parse_pdaf()
608 bin_reserve(bin, sizeof(**pdaf)); in ccs_data_parse_pdaf()
616 (*pdaf)->main_offset_x = in ccs_data_parse_pdaf()
619 (*pdaf)->main_offset_y = in ccs_data_parse_pdaf()
622 (*pdaf)->global_pdaf_type = __pdaf->global_pdaf_type; in ccs_data_parse_pdaf()
623 (*pdaf)->block_width = __pdaf->block_width; in ccs_data_parse_pdaf()
624 (*pdaf)->block_height = __pdaf->block_height; in ccs_data_parse_pdaf()
625 (*pdaf)->num_block_desc_groups = num_block_desc_groups; in ccs_data_parse_pdaf()
631 (*pdaf)->block_desc_groups = in ccs_data_parse_pdaf()
635 if (!(*pdaf)->block_desc_groups) in ccs_data_parse_pdaf()
655 (*pdaf)->block_desc_groups[i].repeat_y = in ccs_data_parse_pdaf()
657 (*pdaf)->block_desc_groups[i].num_block_descs = in ccs_data_parse_pdaf()
664 (*pdaf)->block_desc_groups[i].block_descs = in ccs_data_parse_pdaf()
668 if (!(*pdaf)->block_desc_groups[i].block_descs) in ccs_data_parse_pdaf()
687 bdesc = &(*pdaf)->block_desc_groups[i].block_descs[j]; in ccs_data_parse_pdaf()
704 (*pdaf)->pixel_desc_groups = in ccs_data_parse_pdaf()
708 if (!(*pdaf)->pixel_desc_groups) in ccs_data_parse_pdaf()
710 (*pdaf)->num_pixel_desc_grups = max_block_type_id; in ccs_data_parse_pdaf()
724 pdgroup = &(*pdaf)->pixel_desc_groups[i]; in ccs_data_parse_pdaf()