Lines Matching refs:data_len
217 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__floa… in FLAC__fixed_compute_best_predictor() argument
219 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixe… in FLAC__fixed_compute_best_predictor()
230 for(i = 0; i < data_len; i++) { in FLAC__fixed_compute_best_predictor()
252 FLAC__ASSERT(data_len > 0 || total_error_0 == 0); in FLAC__fixed_compute_best_predictor()
253 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor()
254 FLAC__ASSERT(data_len > 0 || total_error_2 == 0); in FLAC__fixed_compute_best_predictor()
255 FLAC__ASSERT(data_len > 0 || total_error_3 == 0); in FLAC__fixed_compute_best_predictor()
256 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor()
258 …al_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor()
259 …al_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor()
260 …al_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_error_2 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor()
261 …al_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_error_3 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor()
262 …al_error_4 > 0) ? log(M_LN2 * (FLAC__double)total_error_4 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor()
264 …per_sample[0] = (total_error_0 > 0) ? local__compute_rbps_integerized(total_error_0, data_len) : 0; in FLAC__fixed_compute_best_predictor()
265 …per_sample[1] = (total_error_1 > 0) ? local__compute_rbps_integerized(total_error_1, data_len) : 0; in FLAC__fixed_compute_best_predictor()
266 …per_sample[2] = (total_error_2 > 0) ? local__compute_rbps_integerized(total_error_2, data_len) : 0; in FLAC__fixed_compute_best_predictor()
267 …per_sample[3] = (total_error_3 > 0) ? local__compute_rbps_integerized(total_error_3, data_len) : 0; in FLAC__fixed_compute_best_predictor()
268 …per_sample[4] = (total_error_4 > 0) ? local__compute_rbps_integerized(total_error_4, data_len) : 0; in FLAC__fixed_compute_best_predictor()
275 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC_… in FLAC__fixed_compute_best_predictor_wide() argument
277 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC_… in FLAC__fixed_compute_best_predictor_wide()
292 for(i = 0; i < data_len; i++) { in FLAC__fixed_compute_best_predictor_wide()
314 FLAC__ASSERT(data_len > 0 || total_error_0 == 0); in FLAC__fixed_compute_best_predictor_wide()
315 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor_wide()
316 FLAC__ASSERT(data_len > 0 || total_error_2 == 0); in FLAC__fixed_compute_best_predictor_wide()
317 FLAC__ASSERT(data_len > 0 || total_error_3 == 0); in FLAC__fixed_compute_best_predictor_wide()
318 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor_wide()
320 …al_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_wide()
321 …al_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_wide()
322 …al_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_error_2 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_wide()
323 …al_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_error_3 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_wide()
324 …al_error_4 > 0) ? log(M_LN2 * (FLAC__double)total_error_4 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_wide()
326 …ample[0] = (total_error_0 > 0) ? local__compute_rbps_wide_integerized(total_error_0, data_len) : 0; in FLAC__fixed_compute_best_predictor_wide()
327 …ample[1] = (total_error_1 > 0) ? local__compute_rbps_wide_integerized(total_error_1, data_len) : 0; in FLAC__fixed_compute_best_predictor_wide()
328 …ample[2] = (total_error_2 > 0) ? local__compute_rbps_wide_integerized(total_error_2, data_len) : 0; in FLAC__fixed_compute_best_predictor_wide()
329 …ample[3] = (total_error_3 > 0) ? local__compute_rbps_wide_integerized(total_error_3, data_len) : 0; in FLAC__fixed_compute_best_predictor_wide()
330 …ample[4] = (total_error_4 > 0) ? local__compute_rbps_wide_integerized(total_error_4, data_len) : 0; in FLAC__fixed_compute_best_predictor_wide()
336 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC… in FLAC__fixed_compute_residual() argument
338 const int idata_len = (int)data_len; in FLAC__fixed_compute_residual()
344 memcpy(residual, data, sizeof(residual[0])*data_len); in FLAC__fixed_compute_residual()
379 void FLAC__fixed_restore_signal(const FLAC__int32 residual[], unsigned data_len, unsigned order, FL… in FLAC__fixed_restore_signal() argument
381 int i, idata_len = (int)data_len; in FLAC__fixed_restore_signal()
386 memcpy(data, residual, sizeof(residual[0])*data_len); in FLAC__fixed_restore_signal()