Home
last modified time | relevance | path

Searched refs:ractx (Results 1 - 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dra144dec.c35 RA144Context *ractx = avctx->priv_data; in ra144_decode_init() local
37 ractx->avctx = avctx; in ra144_decode_init()
38 ff_audiodsp_init(&ractx->adsp); in ra144_decode_init()
40 ractx->lpc_coef[0] = ractx->lpc_tables[0]; in ra144_decode_init()
41 ractx->lpc_coef[1] = ractx->lpc_tables[1]; in ra144_decode_init()
50 static void do_output_subblock(RA144Context *ractx, const int16_t *lpc_coefs, in do_output_subblock() argument
58 ff_subblock_synthesis(ractx, lpc_coefs, cba_idx, cb1_idx, cb2_idx, gval, in do_output_subblock()
77 RA144Context *ractx in ra144_decode_frame() local
[all...]
H A Dra144enc.c42 RA144Context *ractx = avctx->priv_data; in ra144_encode_close() local
43 ff_lpc_end(&ractx->lpc_ctx); in ra144_encode_close()
44 ff_af_queue_close(&ractx->afq); in ra144_encode_close()
51 RA144Context *ractx; in ra144_encode_init() local
57 ractx = avctx->priv_data; in ra144_encode_init()
58 ractx->lpc_coef[0] = ractx->lpc_tables[0]; in ra144_encode_init()
59 ractx->lpc_coef[1] = ractx->lpc_tables[1]; in ra144_encode_init()
60 ractx in ra144_encode_init()
324 ra144_encode_subblock(RA144Context *ractx, const int16_t *sblock_data, const int16_t *lpc_coefs, unsigned int rms, PutBitContext *pb) ra144_encode_subblock() argument
429 RA144Context *ractx = avctx->priv_data; ra144_encode_frame() local
[all...]
H A Dra288.c68 RA288Context *ractx = avctx->priv_data; in ra288_decode_init() local
83 ractx->vector_fmul = fdsp->vector_fmul; in ra288_decode_init()
96 static void decode(RA288Context *ractx, float gain, int cb_coef) in decode() argument
101 float *block = ractx->sp_hist + 70 + 36; // current block in decode()
102 float *gain_block = ractx->gain_hist + 28; in decode()
104 memmove(ractx->sp_hist + 70, ractx->sp_hist + 75, 36*sizeof(*block)); in decode()
109 sum -= gain_block[9-i] * ractx->gain_lpc[i]; in decode()
130 ff_celp_lp_synthesis_filterf(block, ractx->sp_lpc, buffer, 5, 36); in decode()
145 static void do_hybrid_window(RA288Context *ractx, in do_hybrid_window() argument
175 backward_filter(RA288Context *ractx, float *hist, float *rec, const float *window, float *lpc, const float *tab, int order, int n, int non_rec, int move_size) backward_filter() argument
197 RA288Context *ractx = avctx->priv_data; ra288_decode_frame() local
[all...]
H A Dra144.c1657 int ff_interp(RA144Context *ractx, int16_t *out, int a, int copyold, int energy) in ff_interp() argument
1666 out[i] = (a * ractx->lpc_coef[0][i] + b * ractx->lpc_coef[1][i])>> 2; in ff_interp()
1668 if (ff_eval_refl(work, out, ractx->avctx)) { in ff_interp()
1671 ff_int_to_int16(out, ractx->lpc_coef[copyold]); in ff_interp()
1672 return ff_rescale_rms(ractx->lpc_refl_rms[copyold], energy); in ff_interp()
1694 void ff_subblock_synthesis(RA144Context *ractx, const int16_t *lpc_coefs, in ff_subblock_synthesis() argument
1703 ff_copy_and_dup(ractx->buffer_a, ractx->adapt_cb, cba_idx); in ff_subblock_synthesis()
1704 m[0] = (ff_irms(&ractx in ff_subblock_synthesis()
[all...]
H A Dra144.h75 int ff_interp(RA144Context *ractx, int16_t *out, int a, int copyold,
79 void ff_subblock_synthesis(RA144Context *ractx, const int16_t *lpc_coefs,

Completed in 4 milliseconds