/external/flac/src/libFLAC/ |
D | lpc.c | 75 void FLAC__lpc_window_data_wide(const FLAC__int64 in[], const FLAC__real window[], FLAC__real out[]… in FLAC__lpc_window_data_wide() 96 void FLAC__lpc_window_data_partial_wide(const FLAC__int64 in[], const FLAC__real window[], FLAC__re… in FLAC__lpc_window_data_partial_wide() 324 FLAC__int64 sumo; in FLAC__lpc_compute_residual_from_qlp_coefficients() 343 sumo += (FLAC__int64)qlp_coeff[j] * (FLAC__int64)(*history); in FLAC__lpc_compute_residual_from_qlp_coefficients() 586 FLAC__int64 sum; in FLAC__lpc_compute_residual_from_qlp_coefficients_wide() 601 sum += (FLAC__int64)qlp_coeff[j] * (FLAC__int64)(*(--history)); in FLAC__lpc_compute_residual_from_qlp_coefficients_wide() 602 if(FLAC__bitmath_silog2((FLAC__int64)(*data) - (sum >> lp_quantization)) > 32) { in FLAC__lpc_compute_residual_from_qlp_coefficients_wide() 603 …esidual=%" PRId64 "\n", i, *data, (int64_t)(sum >> lp_quantization), ((FLAC__int64)(*data) - (sum … in FLAC__lpc_compute_residual_from_qlp_coefficients_wide() 612 FLAC__int64 sum; 628 sum += qlp_coeff[11] * (FLAC__int64)data[i-12]; [all …]
|
D | fixed_intrin_sse42.c | 79 FLAC__int64 data_scalar[2]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 80 FLAC__int64 prev_err0_scalar[2]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 81 FLAC__int64 prev_err1_scalar[2]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 82 FLAC__int64 prev_err2_scalar[2]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 83 FLAC__int64 prev_err3_scalar[2]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 98 error_0 = local_abs64((FLAC__int64)data[i]); in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 99 error_1 = (i > -4) ? local_abs64((FLAC__int64)data[i] - data[i-1]) : 0 ; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 100 …error_2 = (i > -3) ? local_abs64((FLAC__int64)data[i] - 2 * (FLAC__int64)data[i-1] + data[i-2]) : … in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 101 …error_3 = (i > -2) ? local_abs64((FLAC__int64)data[i] - 3 * (FLAC__int64)data[i-1] + 3 * (FLAC__in… in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() 116 prev_err1_scalar[i] = (FLAC__int64)(data[-1+i*(data_len_int/2)]) - data[-2+i*(data_len_int/2)]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_sse42() [all …]
|
D | fixed.c | 389 error_0 = local_abs64((FLAC__int64)data[i]); in FLAC__fixed_compute_best_predictor_limit_residual() 390 error_1 = (i > -4) ? local_abs64((FLAC__int64)data[i] - data[i-1]) : 0 ; in FLAC__fixed_compute_best_predictor_limit_residual() 391 …error_2 = (i > -3) ? local_abs64((FLAC__int64)data[i] - 2 * (FLAC__int64)data[i-1] + data[i-2]) : … in FLAC__fixed_compute_best_predictor_limit_residual() 392 …error_3 = (i > -2) ? local_abs64((FLAC__int64)data[i] - 3 * (FLAC__int64)data[i-1] + 3 * (FLAC__in… in FLAC__fixed_compute_best_predictor_limit_residual() 393 …4 = (i > -1) ? local_abs64((FLAC__int64)data[i] - 4 * (FLAC__int64)data[i-1] + 6 * (FLAC__int64)da… in FLAC__fixed_compute_best_predictor_limit_residual() 424 uint32_t FLAC__fixed_compute_best_predictor_limit_residual_33bit(const FLAC__int64 data[], uint32_t… in FLAC__fixed_compute_best_predictor_limit_residual_33bit() 426 uint32_t FLAC__fixed_compute_best_predictor_limit_residual_33bit(const FLAC__int64 data[], uint32_t… in FLAC__fixed_compute_best_predictor_limit_residual_33bit() 513 residual[i] = (FLAC__int64)data[i] - data[i-1]; in FLAC__fixed_compute_residual_wide() 517 residual[i] = (FLAC__int64)data[i] - 2*(FLAC__int64)data[i-1] + data[i-2]; in FLAC__fixed_compute_residual_wide() 521 …residual[i] = (FLAC__int64)data[i] - 3*(FLAC__int64)data[i-1] + 3*(FLAC__int64)data[i-2] - data[i-… in FLAC__fixed_compute_residual_wide() [all …]
|
D | fixed_intrin_avx2.c | 65 FLAC__int64 data_scalar[4]; in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 66 FLAC__int64 prev_err0_scalar[4]; in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 67 FLAC__int64 prev_err1_scalar[4]; in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 68 FLAC__int64 prev_err2_scalar[4]; in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 69 FLAC__int64 prev_err3_scalar[4]; in FLAC__fixed_compute_best_predictor_wide_intrin_avx2() 198 FLAC__int64 data_scalar[4]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2() 199 FLAC__int64 prev_err0_scalar[4]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2() 200 FLAC__int64 prev_err1_scalar[4]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2() 201 FLAC__int64 prev_err2_scalar[4]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2() 202 FLAC__int64 prev_err3_scalar[4]; in FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2() [all …]
|
D | lpc_intrin_neon.c | 668 FLAC__int64 sum; in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1177 sum += qlp_coeff[11] * (FLAC__int64)data[i - 12]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1179 sum += qlp_coeff[10] * (FLAC__int64)data[i - 11]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1181 sum += qlp_coeff[9] * (FLAC__int64)data[i - 10]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1183 sum += qlp_coeff[8] * (FLAC__int64)data[i - 9]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1185 sum += qlp_coeff[7] * (FLAC__int64)data[i - 8]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1187 sum += qlp_coeff[6] * (FLAC__int64)data[i - 7]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1189 sum += qlp_coeff[5] * (FLAC__int64)data[i - 6]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1191 sum += qlp_coeff[4] * (FLAC__int64)data[i - 5]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() 1193 sum += qlp_coeff[3] * (FLAC__int64)data[i - 4]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_neon() [all …]
|
D | lpc_intrin_sse41.c | 549 FLAC__int64 sum; in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 553 case 32: sum += qlp_coeff[31] * (FLAC__int64)data[i-32]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 554 case 31: sum += qlp_coeff[30] * (FLAC__int64)data[i-31]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 555 case 30: sum += qlp_coeff[29] * (FLAC__int64)data[i-30]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 556 case 29: sum += qlp_coeff[28] * (FLAC__int64)data[i-29]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 557 case 28: sum += qlp_coeff[27] * (FLAC__int64)data[i-28]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 558 case 27: sum += qlp_coeff[26] * (FLAC__int64)data[i-27]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 559 case 26: sum += qlp_coeff[25] * (FLAC__int64)data[i-26]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 560 case 25: sum += qlp_coeff[24] * (FLAC__int64)data[i-25]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 561 case 24: sum += qlp_coeff[23] * (FLAC__int64)data[i-24]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() [all …]
|
D | lpc_intrin_avx2.c | 766 FLAC__int64 sum; in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1060 case 12: sum += qlp_coeff[11] * (FLAC__int64)data[i-12]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1061 case 11: sum += qlp_coeff[10] * (FLAC__int64)data[i-11]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1062 case 10: sum += qlp_coeff[ 9] * (FLAC__int64)data[i-10]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1063 case 9: sum += qlp_coeff[ 8] * (FLAC__int64)data[i- 9]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1064 case 8: sum += qlp_coeff[ 7] * (FLAC__int64)data[i- 8]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1065 case 7: sum += qlp_coeff[ 6] * (FLAC__int64)data[i- 7]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1066 case 6: sum += qlp_coeff[ 5] * (FLAC__int64)data[i- 6]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1067 case 5: sum += qlp_coeff[ 4] * (FLAC__int64)data[i- 5]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() 1068 case 4: sum += qlp_coeff[ 3] * (FLAC__int64)data[i- 4]; /* Falls through. */ in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_avx2() [all …]
|
D | memory.c | 121 …AC__memory_alloc_aligned_int64_array(size_t elements, FLAC__int64 **unaligned_pointer, FLAC__int64… in FLAC__memory_alloc_aligned_int64_array() 123 FLAC__int64 *pu; /* unaligned pointer */ in FLAC__memory_alloc_aligned_int64_array() 125 FLAC__int64 *pa; /* aligned pointer */ in FLAC__memory_alloc_aligned_int64_array()
|
D | bitmath.c | 63 uint32_t FLAC__bitmath_silog2(FLAC__int64 v) in FLAC__bitmath_silog2()
|
D | stream_decoder.c | 136 FLAC__int64 *side_subframe; 1283 decoder->private_->side_subframe = safe_malloc_mul_2op_p(sizeof(FLAC__int64), /*times (*/size); in allocate_output_() 2671 FLAC__int64 x; in read_subframe_constant_() 2688 FLAC__int64 *output = decoder->private_->side_subframe; in read_subframe_constant_() 2701 FLAC__int64 i64; in read_subframe_fixed_() 2765 memcpy(decoder->private_->side_subframe, subframe->warmup, sizeof(FLAC__int64) * order); in read_subframe_fixed_() 2777 FLAC__int64 i64; in read_subframe_lpc_() 2869 memcpy(decoder->private_->side_subframe, subframe->warmup, sizeof(FLAC__int64) * order); in read_subframe_lpc_() 2901 FLAC__int64 x, *side = decoder->private_->side_subframe; in read_subframe_verbatim_() 3119 FLAC__int64 mid; in undo_channel_coding() [all …]
|
D | stream_encoder.c | 192 const FLAC__int64 signal, 298 static uint32_t get_wasted_bits_wide_(FLAC__int64 signal_wide[], FLAC__int32 signal[], uint32_t sam… 339 FLAC__int64 *integer_signal_33bit_side; /* 33-bit side for 32-bit stereo decorrelation */ 417 FLAC__int64 *integer_signal_33bit_side_unaligned; 2292 …encoder->private_->integer_signal_33bit_side[i] = (FLAC__int64)buffer[0][j] - (FLAC__int64)buffer[… in FLAC__stream_encoder_process() 2293 …encoder->private_->integer_signal_mid_side[0][i] = ((FLAC__int64)buffer[0][j] + (FLAC__int64)buffe… in FLAC__stream_encoder_process() 2365 …>private_->integer_signal_33bit_side[i] = (FLAC__int64)encoder->private_->integer_signal[0][i] - (… in FLAC__stream_encoder_process_interleaved() 2366 …rivate_->integer_signal_mid_side[0][i] = ((FLAC__int64)encoder->private_->integer_signal[0][i] + (… in FLAC__stream_encoder_process_interleaved() 3563 …guess_fixed_order = FLAC__fixed_compute_best_predictor_limit_residual_33bit(((FLAC__int64 *)intege… in process_subframe_() 3587 const FLAC__int64 *integer_signal_ = integer_signal; in process_subframe_() [all …]
|
/external/flac/src/libFLAC/include/private/ |
D | float.h | 70 #define FLAC__fixedpoint_mul(x, y) ( (FLAC__fixedpoint) ( ((FLAC__int64)(x)*(FLAC__int64)(y)) >> 16… 72 #define FLAC__fixedpoint_div(x, y) ( (FLAC__fixedpoint) ( ( ((FLAC__int64)(x)<<32) / (FLAC__int64)(…
|
D | fixed.h | 60 uint32_t FLAC__fixed_compute_best_predictor_limit_residual_33bit(const FLAC__int64 data[], uint32_t… 82 uint32_t FLAC__fixed_compute_best_predictor_limit_residual_33bit(const FLAC__int64 data[], uint32_t… 98 void FLAC__fixed_compute_residual_wide_33bit(const FLAC__int64 data[], uint32_t data_len, uint32_t … 115 …al_wide_33bit(const FLAC__int32 residual[], uint32_t data_len, uint32_t order, FLAC__int64 data[]);
|
D | memory.h | 51 …AC__memory_alloc_aligned_int64_array(size_t elements, FLAC__int64 **unaligned_pointer, FLAC__int64…
|
D | lpc.h | 58 void FLAC__lpc_window_data_wide(const FLAC__int64 in[], const FLAC__real window[], FLAC__real out[]… 60 void FLAC__lpc_window_data_partial_wide(const FLAC__int64 in[], const FLAC__real window[], FLAC__re… 158 FLAC__bool FLAC__lpc_compute_residual_from_qlp_coefficients_limit_residual_33bit(const FLAC__int64 … 204 … data_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int64 data[]);
|
D | bitmath.h | 208 uint32_t FLAC__bitmath_silog2(FLAC__int64 v);
|
D | bitwriter.h | 85 FLAC__bool FLAC__bitwriter_write_raw_int64(FLAC__BitWriter *bw, FLAC__int64 val, uint32_t bits);
|
/external/flac/src/share/grabbag/ |
D | cuesheet.c | 65 static FLAC__int64 local__parse_int64_(const char *s) in local__parse_int64_() 67 FLAC__int64 ret = 0; in local__parse_int64_() 86 static FLAC__int64 local__parse_msf_(const char *s, uint32_t sample_rate) in local__parse_msf_() 88 FLAC__int64 ret, field; in local__parse_msf_() 155 static FLAC__int64 local__parse_ms_(const char *s, uint32_t sample_rate) in local__parse_ms_() 157 FLAC__int64 ret, field; in local__parse_ms_() 184 ret += (FLAC__int64)(x * sample_rate); in local__parse_ms_() 311 FLAC__int64 xx; in local__cuesheet_parse_() 494 FLAC__int64 xx; in local__cuesheet_parse_() 512 FLAC__int64 offset; in local__cuesheet_parse_()
|
D | seektable.c | 88 const FLAC__int64 n = (FLAC__int64)strtoll(pt, &endptr, 10); in grabbag__seektable_convert_specification_to_template()
|
/external/flac/src/share/replaygain_synthesis/ |
D | replaygain_synthesis.c | 223 d->Dither = 0.01f*default_dither[indx] / (((FLAC__int64)1) << bits); in FLAC__replaygain_synthesis__init_dither_context() 303 static const FLAC__int64 hard_clip_factors_[33] = { in FLAC__replaygain_synthesis__apply_gain() 336 (FLAC__int64)(-1073741824) * 2 /* 32 bits-per-sample */ in FLAC__replaygain_synthesis__apply_gain() 339 const FLAC__int64 hard_clip_factor = hard_clip_factors_[target_bps]; in FLAC__replaygain_synthesis__apply_gain() 355 FLAC__int64 val64; in FLAC__replaygain_synthesis__apply_gain()
|
/external/flac/include/FLAC/ |
D | callback.h | 128 typedef int (*FLAC__IOCallback_Seek) (FLAC__IOHandle handle, FLAC__int64 offset, int whence); 139 typedef FLAC__int64 (*FLAC__IOCallback_Tell) (FLAC__IOHandle handle);
|
D | format.h | 282 FLAC__int64 value; /**< The constant signal value. */ 297 const FLAC__int64 *int64; /**< A FLAC__int64 pointer to verbatim signal. */ 312 FLAC__int64 warmup[FLAC__MAX_FIXED_ORDER]; 338 FLAC__int64 warmup[FLAC__MAX_LPC_ORDER];
|
D | ordinals.h | 46 typedef int64_t FLAC__int64; typedef
|
/external/flac/src/flac/ |
D | utils.h | 42 FLAC__int64 samples;
|
D | utils.c | 303 spec->value.samples = (FLAC__int64)val; in flac__utils_parse_skip_until_specification() 325 spec->value.samples = (FLAC__int64)(spec->value.seconds * (double)sample_rate); in flac__utils_canonicalize_skip_until_specification()
|