Lines Matching refs:atomisp_params
79 const struct atomisp_parameters &atomisp_params, in translate_atomisp_parameters() argument
87 if (atomisp_params.wb_config) { in translate_atomisp_parameters()
93 coefficient = pow (2, (16 - atomisp_params.wb_config->integer_bits)); in translate_atomisp_parameters()
94 wb->r_gain = atomisp_params.wb_config->r / coefficient; in translate_atomisp_parameters()
95 wb->gr_gain = atomisp_params.wb_config->gr / coefficient; in translate_atomisp_parameters()
96 wb->gb_gain = atomisp_params.wb_config->gb / coefficient; in translate_atomisp_parameters()
97 wb->b_gain = atomisp_params.wb_config->b / coefficient; in translate_atomisp_parameters()
103 if (atomisp_params.ob_config) { in translate_atomisp_parameters()
109 if (atomisp_params.ob_config->mode == atomisp_ob_mode_fixed) { in translate_atomisp_parameters()
110 blc->r_level = atomisp_params.ob_config->level_r / (double)65536; in translate_atomisp_parameters()
111 blc->gr_level = atomisp_params.ob_config->level_gr / (double)65536; in translate_atomisp_parameters()
112 blc->gb_level = atomisp_params.ob_config->level_gb / (double)65536; in translate_atomisp_parameters()
113 blc->b_level = atomisp_params.ob_config->level_b / (double)65536; in translate_atomisp_parameters()
120 if (atomisp_params.yuv2rgb_cc_config) { in translate_atomisp_parameters()
139 coefficient = pow (2, atomisp_params.yuv2rgb_cc_config->fraction_bits); in translate_atomisp_parameters()
141 tmp_matrix [i] = atomisp_params.yuv2rgb_cc_config->matrix [i] / coefficient; in translate_atomisp_parameters()
151 if (atomisp_params.g_gamma_table) { in translate_atomisp_parameters()
158 gt->table[i] = (double)atomisp_params.g_gamma_table->data.vamem_2[i] / 16; in translate_atomisp_parameters()
165 if (atomisp_params.macc_config) { in translate_atomisp_parameters()
171 coefficient = pow (2, (13 - atomisp_params.macc_config->color_effect)); in translate_atomisp_parameters()
173 macc->table[i] = (double)atomisp_params.macc_table->data[i] / coefficient; in translate_atomisp_parameters()
180 if (atomisp_params.dp_config) { in translate_atomisp_parameters()
187 dpc->gr_threshold = atomisp_params.dp_config->threshold / coefficient; in translate_atomisp_parameters()
188 dpc->r_threshold = atomisp_params.dp_config->threshold / coefficient; in translate_atomisp_parameters()
189 dpc->b_threshold = atomisp_params.dp_config->threshold / coefficient; in translate_atomisp_parameters()
190 dpc->gb_threshold = atomisp_params.dp_config->threshold / coefficient; in translate_atomisp_parameters()
198 if (atomisp_params.nr_config) { in translate_atomisp_parameters()
204 bnr->bnr_gain = (double)atomisp_params.nr_config->bnr_gain / pow(2, 16); in translate_atomisp_parameters()
205 bnr->direction = (double)atomisp_params.nr_config->direction / pow(2, 16); in translate_atomisp_parameters()
240 const struct atomisp_parameters &atomisp_params = isp_3a_all->get_isp_config (); in translate_3a_results_to_xcam() local
241 …result_count += translate_atomisp_parameters (atomisp_params, &results[result_count], max_count - … in translate_3a_results_to_xcam()