Lines Matching refs:i4_k
859 WORD32 i4_k; in ihevce_calc_variance_for_diff_weights() local
874 for(i4_k = 0; i4_k < u1_num_parts; i4_k++) in ihevce_calc_variance_for_diff_weights()
876 u4_wd = ps_result[i4_k].pu.b4_wd + 1; in ihevce_calc_variance_for_diff_weights()
877 u4_ht = ps_result[i4_k].pu.b4_ht + 1; in ihevce_calc_variance_for_diff_weights()
883 u1_index = pe_part_id[i4_k]; in ihevce_calc_variance_for_diff_weights()
887 u1_index = i4_k; in ihevce_calc_variance_for_diff_weights()
890 u8_temp_sigmaXsquared[i4_k] = pu8_sigmaXSquared[u1_index] / u4_num_pixels_in_part; in ihevce_calc_variance_for_diff_weights()
891 u8_temp_sigmaX[i4_k] = pu8_sigmaX[u1_index]; in ihevce_calc_variance_for_diff_weights()
895 if(pi4_inv_wt[i4_k] != i4_default_src_wt) in ihevce_calc_variance_for_diff_weights()
897 pi4_inv_wt[i4_k] = pi4_inv_wt[i4_k] >> pi4_inv_wt_shift_val[i4_k]; in ihevce_calc_variance_for_diff_weights()
898 u8_temp_sigmaX[i4_k] = SHR_NEG( in ihevce_calc_variance_for_diff_weights()
899 (u8_temp_sigmaX[i4_k] * pi4_inv_wt[i4_k]), in ihevce_calc_variance_for_diff_weights()
900 (15 - pi4_inv_wt_shift_val[i4_k] - i4_wpred_log_wdc)); in ihevce_calc_variance_for_diff_weights()
901 u8_temp_sigmaXsquared[i4_k] = SHR_NEG( in ihevce_calc_variance_for_diff_weights()
902 (u8_temp_sigmaXsquared[i4_k] * pi4_inv_wt[i4_k] * pi4_inv_wt[i4_k]), in ihevce_calc_variance_for_diff_weights()
903 (30 - (2 * pi4_inv_wt_shift_val[i4_k]) - i4_wpred_log_wdc * 2)); in ihevce_calc_variance_for_diff_weights()