OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:lp_coeff
(Results
1 - 3
of
3
) sorted by null
/external/flac/libFLAC/include/private/
lpc.h
91
* OUT
lp_coeff
[0,max_order-1][0,max_order-1] LP coefficients for each order
93
* ***
lp_coeff
[0,max_order-1][max_order,FLAC__MAX_LPC_ORDER-1] are untouched
100
* in
lp_coeff
[8][0,8], the LP coefficients for order 8 will be
101
* in
lp_coeff
[7][0,7], etc.
103
void FLAC__lpc_compute_lp_coefficients(const FLAC__real autoc[], unsigned *max_order, FLAC__real
lp_coeff
[][FLAC__MAX_LPC_ORDER], FLAC__double error[]);
111
* IN
lp_coeff
[0,order-1] LP coefficients
125
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
112
void FLAC__lpc_compute_lp_coefficients(const FLAC__real autoc[], unsigned *max_order, FLAC__real
lp_coeff
[][FLAC__MAX_LPC_ORDER], FLAC__double error[])
145
lp_coeff
[i][j] = (FLAC__real)(-lpc[j]); /* negate FIR filter coeff to get predictor coeff */
156
int FLAC__lpc_quantize_coefficients(const FLAC__real
lp_coeff
[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift)
165
/* drop one bit for the sign; from here on out we consider only |
lp_coeff
[i]| */
171
/* calc cmax = max( |
lp_coeff
[i]| ) */
174
const FLAC__double d = fabs(
lp_coeff
[i]);
202
error +=
lp_coeff
[i] * (1 << *shift);
213
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]);
215
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]);
237
error +=
lp_coeff
[i] / (1 << nshift)
[
all
...]
stream_encoder.c
218
const FLAC__real
lp_coeff
[],
421
FLAC__real
lp_coeff
[FLAC__MAX_LPC_ORDER][FLAC__MAX_LPC_ORDER]; /* from process_subframe_() */
member in struct:FLAC__StreamEncoderPrivate
[
all
...]
Completed in 69 milliseconds