Home
last modified time | relevance | path

Searched refs:lpc_quant (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dalac.c176 int lpc_order, int lpc_quant) in lpc_prediction() argument
218 val = (val + (1LL << (lpc_quant - 1))) >> lpc_quant; in lpc_prediction()
231 error_val -= (val >> lpc_quant) * (j + 1U); in lpc_prediction()
293 int lpc_quant[2]; in decode_element() local
310 lpc_quant[ch] = get_bits(&alac->gb, 4); in decode_element()
314 if (lpc_order[ch] >= alac->max_samples_per_frame || !lpc_quant[ch]) in decode_element()
355 bps, lpc_coefs[ch], lpc_order[ch], lpc_quant[ch]); in decode_element()
Dalacenc.c59 int lpc_quant; member
161 s->lpc[ch].lpc_quant = 6; in calc_predictor_params()
179 s->lpc[ch].lpc_quant = shift[opt_order-1]; in calc_predictor_params()
286 int sum = 1 << (lpc.lpc_quant - 1), res_val, j; in alac_linear_predictor()
293 sum >>= lpc.lpc_quant; in alac_linear_predictor()
312 res_val -= (val >> lpc.lpc_quant) * (lpc.lpc_order - index); in alac_linear_predictor()
426 put_bits(pb, 4, s->lpc[i].lpc_quant); in write_element()