Searched refs:total_error_4 (Results 1 – 5 of 5) sorted by relevance
/external/flac/src/libFLAC/ |
D | fixed.c | 227 …nt32 total_error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_error_4 = 0; in FLAC__fixed_compute_best_predictor() local 249 error -= last_error_3; total_error_4 += local_abs(error); last_error_3 = save; in FLAC__fixed_compute_best_predictor() 258 total_error_4 += local_abs(data[i] - 4 * data[i-1] + 6 * data[i-2] - 4 * data[i-3] + data[i-4]); in FLAC__fixed_compute_best_predictor() 264 …rror_0 <= flac_min(flac_min(flac_min(total_error_1, total_error_2), total_error_3), total_error_4)) in FLAC__fixed_compute_best_predictor() 266 else if(total_error_1 <= flac_min(flac_min(total_error_2, total_error_3), total_error_4)) in FLAC__fixed_compute_best_predictor() 268 else if(total_error_2 <= flac_min(total_error_3, total_error_4)) in FLAC__fixed_compute_best_predictor() 270 else if(total_error_3 <= total_error_4) in FLAC__fixed_compute_best_predictor() 282 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor() 288 …residual_bits_per_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (d… in FLAC__fixed_compute_best_predictor() 294 …residual_bits_per_sample[4] = (total_error_4 > 0) ? local__compute_rbps_integerized(total_error_4,… in FLAC__fixed_compute_best_predictor() [all …]
|
D | fixed_intrin_ssse3.c | 65 FLAC__uint32 total_error_0, total_error_1, total_error_2, total_error_3, total_error_4; in FLAC__fixed_compute_best_predictor_intrin_ssse3() local 127 total_error_4 = data_scalar[0] + data_scalar[1] + data_scalar[2] + data_scalar[3]; in FLAC__fixed_compute_best_predictor_intrin_ssse3() 142 error -= last_error_3; total_error_4 += local_abs(error); last_error_3 = save; in FLAC__fixed_compute_best_predictor_intrin_ssse3() 147 …rror_0 <= flac_min(flac_min(flac_min(total_error_1, total_error_2), total_error_3), total_error_4)) in FLAC__fixed_compute_best_predictor_intrin_ssse3() 149 else if(total_error_1 <= flac_min(flac_min(total_error_2, total_error_3), total_error_4)) in FLAC__fixed_compute_best_predictor_intrin_ssse3() 151 else if(total_error_2 <= flac_min(total_error_3, total_error_4)) in FLAC__fixed_compute_best_predictor_intrin_ssse3() 153 else if(total_error_3 <= total_error_4) in FLAC__fixed_compute_best_predictor_intrin_ssse3() 165 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor_intrin_ssse3() 171 …residual_bits_per_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (d… in FLAC__fixed_compute_best_predictor_intrin_ssse3()
|
D | fixed_intrin_sse2.c | 65 FLAC__uint32 total_error_0, total_error_1, total_error_2, total_error_3, total_error_4; in FLAC__fixed_compute_best_predictor_intrin_sse2() local 142 total_error_4 = data_scalar[0] + data_scalar[1] + data_scalar[2] + data_scalar[3]; in FLAC__fixed_compute_best_predictor_intrin_sse2() 157 error -= last_error_3; total_error_4 += local_abs(error); last_error_3 = save; in FLAC__fixed_compute_best_predictor_intrin_sse2() 162 …rror_0 <= flac_min(flac_min(flac_min(total_error_1, total_error_2), total_error_3), total_error_4)) in FLAC__fixed_compute_best_predictor_intrin_sse2() 164 else if(total_error_1 <= flac_min(flac_min(total_error_2, total_error_3), total_error_4)) in FLAC__fixed_compute_best_predictor_intrin_sse2() 166 else if(total_error_2 <= flac_min(total_error_3, total_error_4)) in FLAC__fixed_compute_best_predictor_intrin_sse2() 168 else if(total_error_3 <= total_error_4) in FLAC__fixed_compute_best_predictor_intrin_sse2() 180 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor_intrin_sse2() 186 …residual_bits_per_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (d… in FLAC__fixed_compute_best_predictor_intrin_sse2()
|
D | fixed_intrin_avx2.c | 59 FLAC__uint64 total_error_0, total_error_1, total_error_2, total_error_3, total_error_4; in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() local 136 total_error_4 = data_scalar[0] + data_scalar[1] + data_scalar[2] + data_scalar[3]; in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 141 …rror_0 <= flac_min(flac_min(flac_min(total_error_1, total_error_2), total_error_3), total_error_4)) in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 143 else if(total_error_1 <= flac_min(flac_min(total_error_2, total_error_3), total_error_4)) in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 145 else if(total_error_2 <= flac_min(total_error_3, total_error_4)) in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 147 else if(total_error_3 <= total_error_4) in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 159 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 165 …residual_bits_per_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (d… in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 189 …error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_error_4 = 0, smallest_… in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2() local 297 total_error_4 += data_scalar[0] + data_scalar[1] + data_scalar[2] + data_scalar[3]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2() [all …]
|
D | fixed_intrin_sse42.c | 70 …error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_error_4 = 0, smallest_… in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() local 176 total_error_4 += data_scalar[0] + data_scalar[1]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 201 total_error_4 += error_4; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42()
|