Home
last modified time | relevance | path

Searched refs:total_error_1 (Results 1 – 5 of 5) sorted by relevance

/external/flac/src/libFLAC/
Dfixed.c227 …FLAC__uint32 total_error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_err… in FLAC__fixed_compute_best_predictor() local
246 error -= last_error_0; total_error_1 += local_abs(error); last_error_0 = save; save = error; in FLAC__fixed_compute_best_predictor()
255 total_error_1 += local_abs(data[i] - data[i-1]); in FLAC__fixed_compute_best_predictor()
264 …if(total_error_0 <= flac_min(flac_min(flac_min(total_error_1, total_error_2), total_error_3), tota… 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()
279 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor()
285 …residual_bits_per_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (d… in FLAC__fixed_compute_best_predictor()
291 …residual_bits_per_sample[1] = (total_error_1 > 0) ? local__compute_rbps_integerized(total_error_1,… in FLAC__fixed_compute_best_predictor()
306 …FLAC__uint64 total_error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_err… in FLAC__fixed_compute_best_predictor_wide() local
312 total_error_1 += local_abs(data[i] - data[i-1]); in FLAC__fixed_compute_best_predictor_wide()
[all …]
Dfixed_intrin_ssse3.c65 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
121 total_error_1 = data_scalar[0] + data_scalar[1] + data_scalar[2] + data_scalar[3]; in FLAC__fixed_compute_best_predictor_intrin_ssse3()
139 error -= last_error_0; total_error_1 += local_abs(error); last_error_0 = save; save = error; in FLAC__fixed_compute_best_predictor_intrin_ssse3()
147 …if(total_error_0 <= flac_min(flac_min(flac_min(total_error_1, total_error_2), total_error_3), tota… 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()
162 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
168 …residual_bits_per_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (d… in FLAC__fixed_compute_best_predictor_intrin_ssse3()
Dfixed_intrin_sse2.c65 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
136 total_error_1 = data_scalar[0] + data_scalar[1] + data_scalar[2] + data_scalar[3]; in FLAC__fixed_compute_best_predictor_intrin_sse2()
154 error -= last_error_0; total_error_1 += local_abs(error); last_error_0 = save; save = error; in FLAC__fixed_compute_best_predictor_intrin_sse2()
162 …if(total_error_0 <= flac_min(flac_min(flac_min(total_error_1, total_error_2), total_error_3), tota… 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()
177 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
183 …residual_bits_per_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (d… in FLAC__fixed_compute_best_predictor_intrin_sse2()
Dfixed_intrin_avx2.c59 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
130 total_error_1 = data_scalar[0] + data_scalar[1] + data_scalar[2] + data_scalar[3]; in FLAC__fixed_compute_best_predictor_wide_intrin_avx2()
141 …if(total_error_0 <= flac_min(flac_min(flac_min(total_error_1, total_error_2), total_error_3), tota… 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()
156 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor_wide_intrin_avx2()
162 …residual_bits_per_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (d… in FLAC__fixed_compute_best_predictor_wide_intrin_avx2()
189 …FLAC__uint64 total_error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_err… in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2() local
223 total_error_1 += error_1; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2()
291 total_error_1 += data_scalar[0] + data_scalar[1] + data_scalar[2] + data_scalar[3]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2()
318 total_error_1 += error_1; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2()
Dfixed_intrin_sse42.c70 …FLAC__uint64 total_error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_err… in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() local
104 total_error_1 += error_1; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42()
170 total_error_1 += data_scalar[0] + data_scalar[1]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42()
198 total_error_1 += error_1; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42()