/third_party/ffmpeg/libavcodec/ |
H A D | opus_pvq.c | 419 CeltPVQ *pvq) in celt_alg_quant() 421 int *y = pvq->qcoeff; in celt_alg_quant() 424 gain /= sqrtf(pvq->pvq_search(X, y, K, N)); in celt_alg_quant() 435 CeltPVQ *pvq) in celt_alg_unquant() 437 int *y = pvq->qcoeff; in celt_alg_unquant() 483 static av_always_inline uint32_t quant_band_template(CeltPVQ *pvq, CeltFrame *f, in quant_band_template() argument 566 celt_deinterleave_hadamard(pvq->hadamard_tmp, quant ? X : lowband, in quant_band_template() 704 cm = pvq->quant_band(pvq, f, rc, band, x2, NULL, N, mbits, blocks, lowband, duration, in quant_band_template() 757 cm = pvq in quant_band_template() 417 celt_alg_quant(OpusRangeCoder *rc, float *X, uint32_t N, uint32_t K, enum CeltSpread spread, uint32_t blocks, float gain, CeltPVQ *pvq) celt_alg_quant() argument 433 celt_alg_unquant(OpusRangeCoder *rc, float *X, uint32_t N, uint32_t K, enum CeltSpread spread, uint32_t blocks, float gain, CeltPVQ *pvq) celt_alg_unquant() argument 899 ff_celt_pvq_init(CeltPVQ **pvq, int encode) ff_celt_pvq_init() argument 917 ff_celt_pvq_uninit(CeltPVQ **pvq) ff_celt_pvq_uninit() argument [all...] |
H A D | opus_pvq.h | 30 #define QUANT_FN(name) uint32_t (name)(struct CeltPVQ *pvq, CeltFrame *f, \ 47 int ff_celt_pvq_init(struct CeltPVQ **pvq, int encode); 48 void ff_celt_pvq_uninit(struct CeltPVQ **pvq);
|
H A D | opusenc_psy.c | 28 static float pvq_band_cost(CeltPVQ *pvq, CeltFrame *f, OpusRangeCoder *rc, int band, in pvq_band_cost() argument 53 pvq->quant_band(pvq, f, rc, band, X, NULL, band_size, b / 2, f->blocks, NULL, in pvq_band_cost() 56 pvq->quant_band(pvq, f, rc, band, Y, NULL, band_size, b / 2, f->blocks, NULL, in pvq_band_cost() 59 pvq->quant_band(pvq, f, rc, band, X, Y, band_size, b, f->blocks, NULL, f->size, in pvq_band_cost() 373 float dist = pvq_band_cost(f->pvq, f, &dump, i, &bits, s->lambda); in bands_dist()
|
H A D | opusenc.c | 44 CeltPVQ *pvq; member 617 ff_celt_pvq_uninit(&s->pvq); in opus_encode_end() 664 if ((ret = ff_celt_pvq_init(&s->pvq, 1)) < 0) in opus_encode_init() 700 s->frame[i].pvq = s->pvq; in opus_encode_init()
|
H A D | opus.c | 550 cm[0] = f->pvq->quant_band(f->pvq, f, rc, i, X, NULL, band_size, b >> 1, in ff_celt_quant_bands() 555 cm[1] = f->pvq->quant_band(f->pvq, f, rc, i, Y, NULL, band_size, b >> 1, in ff_celt_quant_bands() 560 cm[0] = f->pvq->quant_band(f->pvq, f, rc, i, X, Y, band_size, b >> 0, in ff_celt_quant_bands()
|
H A D | opus_celt.h | 99 CeltPVQ *pvq; member
|
H A D | opus_celt.c | 532 ff_celt_pvq_uninit(&frm->pvq); in ff_celt_free() 562 if ((ret = ff_celt_pvq_init(&frm->pvq, 0)) < 0) in ff_celt_init()
|