/external/flac/libFLAC/ |
D | lpc.c | 166 …nst FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift) in FLAC__lpc_quantize_coefficients() argument 226 qlp_coeff[i] = q; in FLAC__lpc_quantize_coefficients() 254 qlp_coeff[i] = q; in FLAC__lpc_quantize_coefficients() 267 …lac_restrict data, unsigned data_len, const FLAC__int32 * flac_restrict qlp_coeff, unsigned order,… in FLAC__lpc_compute_residual_from_qlp_coefficients() argument 278 fprintf(stderr,", q[%u]=%d",i,qlp_coeff[i]); in FLAC__lpc_compute_residual_from_qlp_coefficients() 288 sum += qlp_coeff[j] * (*(--history)); in FLAC__lpc_compute_residual_from_qlp_coefficients() 289 sumo += (FLAC__int64)qlp_coeff[j] * (FLAC__int64)(*history); in FLAC__lpc_compute_residual_from_qlp_coefficients() 291 …coefficients: OVERFLOW, i=%u, j=%u, c=%d, d=%d, sumo=%" PRId64 "\n",i,j,qlp_coeff[j],*history,sumo… in FLAC__lpc_compute_residual_from_qlp_coefficients() 324 sum += qlp_coeff[11] * data[i-12]; 325 sum += qlp_coeff[10] * data[i-11]; [all …]
|
D | lpc_intrin_avx2.c | 51 …trin_avx2(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() argument 65 q0 = _mm256_set1_epi32(0xffff & qlp_coeff[0 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() 66 q1 = _mm256_set1_epi32(0xffff & qlp_coeff[1 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() 67 q2 = _mm256_set1_epi32(0xffff & qlp_coeff[2 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() 68 q3 = _mm256_set1_epi32(0xffff & qlp_coeff[3 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() 69 q4 = _mm256_set1_epi32(0xffff & qlp_coeff[4 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() 70 q5 = _mm256_set1_epi32(0xffff & qlp_coeff[5 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() 71 q6 = _mm256_set1_epi32(0xffff & qlp_coeff[6 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() 72 q7 = _mm256_set1_epi32(0xffff & qlp_coeff[7 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() 73 q8 = _mm256_set1_epi32(0xffff & qlp_coeff[8 ]); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_avx2() [all …]
|
D | lpc_intrin_sse41.c | 56 …rin_sse41(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() argument 70 xmm0 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+0)); // 0 0 q[1] q[0] in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 71 xmm1 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+2)); // 0 0 q[3] q[2] in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 72 xmm2 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+4)); // 0 0 q[5] q[4] in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 73 xmm3 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+6)); // 0 0 q[7] q[6] in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 74 xmm4 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+8)); // 0 0 q[9] q[8] in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 75 xmm5 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+10)); // 0 0 q[11] q[10] in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 133 xmm0 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 134 xmm1 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+2)); in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() 135 xmm2 = _mm_loadl_epi64((const __m128i*)(qlp_coeff+4)); in FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() [all …]
|
D | lpc_intrin_sse2.c | 57 …trin_sse2(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() argument 71 … q0 = _mm_cvtsi32_si128(0xffff & qlp_coeff[0]); q0 = _mm_shuffle_epi32(q0, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() 72 … q1 = _mm_cvtsi32_si128(0xffff & qlp_coeff[1]); q1 = _mm_shuffle_epi32(q1, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() 73 … q2 = _mm_cvtsi32_si128(0xffff & qlp_coeff[2]); q2 = _mm_shuffle_epi32(q2, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() 74 … q3 = _mm_cvtsi32_si128(0xffff & qlp_coeff[3]); q3 = _mm_shuffle_epi32(q3, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() 75 … q4 = _mm_cvtsi32_si128(0xffff & qlp_coeff[4]); q4 = _mm_shuffle_epi32(q4, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() 76 … q5 = _mm_cvtsi32_si128(0xffff & qlp_coeff[5]); q5 = _mm_shuffle_epi32(q5, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() 77 … q6 = _mm_cvtsi32_si128(0xffff & qlp_coeff[6]); q6 = _mm_shuffle_epi32(q6, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() 78 … q7 = _mm_cvtsi32_si128(0xffff & qlp_coeff[7]); q7 = _mm_shuffle_epi32(q7, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() 79 … q8 = _mm_cvtsi32_si128(0xffff & qlp_coeff[8]); q8 = _mm_shuffle_epi32(q8, _MM_SHUFFLE(0,0,0,0)); in FLAC__lpc_compute_residual_from_qlp_coefficients_16_intrin_sse2() [all …]
|
D | stream_encoder.c | 364 …ficients)(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 365 …ts_64bit)(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 366 …ts_16bit)(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 3772 …FLAC__int32 qlp_coeff[FLAC__MAX_LPC_ORDER]; /* WATCHOUT: the size is important; some x86 intrinsic… in evaluate_lpc_subframe_() local 3784 …ret = FLAC__lpc_quantize_coefficients(lp_coeff, order, qlp_coeff_precision, qlp_coeff, &quantizati… in evaluate_lpc_subframe_() 3790 …te_residual_from_qlp_coefficients_16bit(signal+order, residual_samples, qlp_coeff, order, quantiza… in evaluate_lpc_subframe_() 3792 …_compute_residual_from_qlp_coefficients(signal+order, residual_samples, qlp_coeff, order, quantiza… in evaluate_lpc_subframe_() 3794 …te_residual_from_qlp_coefficients_64bit(signal+order, residual_samples, qlp_coeff, order, quantiza… in evaluate_lpc_subframe_() 3823 memcpy(subframe->data.lpc.qlp_coeff, qlp_coeff, sizeof(FLAC__int32)*FLAC__MAX_LPC_ORDER); in evaluate_lpc_subframe_()
|
D | stream_decoder.c | 132 …nal)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 134 …bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 136 …bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 2673 subframe->qlp_coeff[u] = i32; in read_subframe_lpc_() 2715 …al[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe… in read_subframe_lpc_() 2717 …al[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe… in read_subframe_lpc_() 2719 …al[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe… in read_subframe_lpc_()
|
D | stream_encoder_framing.c | 437 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->qlp_coeff[i], subframe->qlp_coeff_precision)) in FLAC__subframe_add_lpc()
|
/external/flac/libFLAC/include/private/ |
D | lpc.h | 139 …st FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift); 154 …fficients(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 155 …ents_wide(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 159 …_asm_ia32(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 160 …_ia32_mmx(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 161 …_asm_ia32(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 166 …trin_sse2(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 167 …trin_sse2(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 170 …rin_sse41(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… 171 …rin_sse41(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned orde… [all …]
|
/external/flac/include/FLAC/ |
D | format.h | 328 FLAC__int32 qlp_coeff[FLAC__MAX_LPC_ORDER]; member
|