Lines Matching refs:to
99 struct bnlm_vmem_params *to, in ia_css_bnlm_vmem_encode() argument
107 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode()
109 bnlm_lut_encode(&to->sad_norm_lut, from->sad_norm_lut_thr, in ia_css_bnlm_vmem_encode()
111 bnlm_lut_encode(&to->sig_detail_lut, from->sig_detail_lut_thr, in ia_css_bnlm_vmem_encode()
113 bnlm_lut_encode(&to->sig_rad_lut, from->sig_rad_lut_thr, from->sig_rad_lut_val, in ia_css_bnlm_vmem_encode()
115 bnlm_lut_encode(&to->rad_pow_lut, from->rad_pow_lut_thr, from->rad_pow_lut_val, in ia_css_bnlm_vmem_encode()
117 bnlm_lut_encode(&to->nl_0_lut, from->nl_0_lut_thr, from->nl_0_lut_val, 16); in ia_css_bnlm_vmem_encode()
118 bnlm_lut_encode(&to->nl_1_lut, from->nl_1_lut_thr, from->nl_1_lut_val, 16); in ia_css_bnlm_vmem_encode()
119 bnlm_lut_encode(&to->nl_2_lut, from->nl_2_lut_thr, from->nl_2_lut_val, 16); in ia_css_bnlm_vmem_encode()
120 bnlm_lut_encode(&to->nl_3_lut, from->nl_3_lut_thr, from->nl_3_lut_val, 16); in ia_css_bnlm_vmem_encode()
123 memset(to->nl_th, 0, sizeof(to->nl_th)); in ia_css_bnlm_vmem_encode()
124 to->nl_th[0][0] = from->nl_th[0]; in ia_css_bnlm_vmem_encode()
125 to->nl_th[0][1] = from->nl_th[1]; in ia_css_bnlm_vmem_encode()
126 to->nl_th[0][2] = from->nl_th[2]; in ia_css_bnlm_vmem_encode()
128 memset(to->match_quality_max_idx, 0, sizeof(to->match_quality_max_idx)); in ia_css_bnlm_vmem_encode()
129 to->match_quality_max_idx[0][0] = from->match_quality_max_idx[0]; in ia_css_bnlm_vmem_encode()
130 to->match_quality_max_idx[0][1] = from->match_quality_max_idx[1]; in ia_css_bnlm_vmem_encode()
131 to->match_quality_max_idx[0][2] = from->match_quality_max_idx[2]; in ia_css_bnlm_vmem_encode()
132 to->match_quality_max_idx[0][3] = from->match_quality_max_idx[3]; in ia_css_bnlm_vmem_encode()
134 bnlm_lut_encode(&to->div_lut, div_lut_nearests, div_lut_slopes, in ia_css_bnlm_vmem_encode()
136 memset(to->div_lut_intercepts, 0, sizeof(to->div_lut_intercepts)); in ia_css_bnlm_vmem_encode()
138 to->div_lut_intercepts[0][i] = div_lut_intercepts[i]; in ia_css_bnlm_vmem_encode()
141 memset(to->power_of_2, 0, sizeof(to->power_of_2)); in ia_css_bnlm_vmem_encode()
143 to->power_of_2[0][i] = 1 << i; in ia_css_bnlm_vmem_encode()
150 struct bnlm_dmem_params *to, in ia_css_bnlm_encode() argument
155 to->rad_enable = from->rad_enable; in ia_css_bnlm_encode()
156 to->rad_x_origin = from->rad_x_origin; in ia_css_bnlm_encode()
157 to->rad_y_origin = from->rad_y_origin; in ia_css_bnlm_encode()
158 to->avg_min_th = from->avg_min_th; in ia_css_bnlm_encode()
159 to->max_min_th = from->max_min_th; in ia_css_bnlm_encode()
161 to->exp_coeff_a = from->exp_coeff_a; in ia_css_bnlm_encode()
162 to->exp_coeff_b = from->exp_coeff_b; in ia_css_bnlm_encode()
163 to->exp_coeff_c = from->exp_coeff_c; in ia_css_bnlm_encode()
164 to->exp_exponent = from->exp_exponent; in ia_css_bnlm_encode()