OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lp_coeff
(Results
1 - 3
of
3
) sorted by null
/external/flac/libFLAC/include/private/
lpc.h
105
* OUT
lp_coeff
[0,max_order-1][0,max_order-1] LP coefficients for each order
107
* ***
lp_coeff
[0,max_order-1][max_order,FLAC__MAX_LPC_ORDER-1] are untouched
114
* in
lp_coeff
[8][0,8], the LP coefficients for order 8 will be
115
* in
lp_coeff
[7][0,7], etc.
117
void FLAC__lpc_compute_lp_coefficients(const FLAC__real autoc[], unsigned *max_order, FLAC__real
lp_coeff
[][FLAC__MAX_LPC_ORDER], FLAC__double error[]);
125
* IN
lp_coeff
[0,order-1] LP coefficients
139
int FLAC__lpc_quantize_coefficients(const FLAC__real
lp_coeff
[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift);
/external/flac/libFLAC/
lpc.c
123
void FLAC__lpc_compute_lp_coefficients(const FLAC__real autoc[], unsigned *max_order, FLAC__real
lp_coeff
[][FLAC__MAX_LPC_ORDER], FLAC__double error[])
156
lp_coeff
[i][j] = (FLAC__real)(-lpc[j]); /* negate FIR filter coeff to get predictor coeff */
167
int FLAC__lpc_quantize_coefficients(const FLAC__real
lp_coeff
[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift)
176
/* drop one bit for the sign; from here on out we consider only |
lp_coeff
[i]| */
182
/* calc cmax = max( |
lp_coeff
[i]| ) */
185
const FLAC__double d = fabs(
lp_coeff
[i]);
213
error +=
lp_coeff
[i] * (1 << *shift);
218
fprintf(stderr,"FLAC__lpc_quantize_coefficients: quantizer overflow: q>qmax %d>%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmax,*shift,cmax,precision+1,i,
lp_coeff
[i]);
220
fprintf(stderr,"FLAC__lpc_quantize_coefficients: quantizer overflow: q<qmin %d<%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmin,*shift,cmax,precision+1,i,
lp_coeff
[i]);
242
error +=
lp_coeff
[i] / (1 << nshift)
[
all
...]
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 in struct:FLAC__StreamEncoderPrivate
[
all
...]
Completed in 57 milliseconds