Searched refs:lp_coeff (Results 1 – 3 of 3) sorted by relevance
/external/flac/libFLAC/include/private/ |
D | lpc.h | 117 …_coefficients(const FLAC__real autoc[], unsigned *max_order, FLAC__real lp_coeff[][FLAC__MAX_LPC_O… 139 int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, unsigned precision…
|
/external/flac/libFLAC/ |
D | lpc.c | 123 …_coefficients(const FLAC__real autoc[], unsigned *max_order, FLAC__real lp_coeff[][FLAC__MAX_LPC_O… in FLAC__lpc_compute_lp_coefficients() 156 lp_coeff[i][j] = (FLAC__real)(-lpc[j]); /* negate FIR filter coeff to get predictor coeff */ in FLAC__lpc_compute_lp_coefficients() 167 int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, unsigned precision… in FLAC__lpc_quantize_coefficients() argument 185 const FLAC__double d = fabs(lp_coeff[i]); in FLAC__lpc_quantize_coefficients() 213 error += lp_coeff[i] * (1 << *shift); in FLAC__lpc_quantize_coefficients() 218 …ax %d>%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmax,*shift,cmax,precision+1,i,lp_coeff[i]); in FLAC__lpc_quantize_coefficients() 220 …in %d<%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmin,*shift,cmax,precision+1,i,lp_coeff[i]); in FLAC__lpc_quantize_coefficients() 242 error += lp_coeff[i] / (1 << nshift); in FLAC__lpc_quantize_coefficients() 246 …ax %d>%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmax,*shift,cmax,precision+1,i,lp_coeff[i]); in FLAC__lpc_quantize_coefficients() 248 …in %d<%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmin,*shift,cmax,precision+1,i,lp_coeff[i]); in FLAC__lpc_quantize_coefficients()
|
D | stream_encoder.c | 198 const FLAC__real lp_coeff[], 404 FLAC__real lp_coeff[FLAC__MAX_LPC_ORDER][FLAC__MAX_LPC_ORDER]; /* from process_subframe_() */ member 3498 … FLAC__lpc_compute_lp_coefficients(autoc, &max_lpc_order, encoder->private_->lp_coeff, lpc_error); in process_subframe_() 3551 encoder->private_->lp_coeff[lpc_order-1], in process_subframe_() 3755 const FLAC__real lp_coeff[], in evaluate_lpc_subframe_() argument 3782 …ret = FLAC__lpc_quantize_coefficients(lp_coeff, order, qlp_coeff_precision, qlp_coeff, &quantizati… in evaluate_lpc_subframe_()
|