/third_party/ffmpeg/libavcodec/ |
D | opus_pvq.c | 417 CeltPVQ *pvq) in celt_alg_quant() argument 419 int *y = pvq->qcoeff; in celt_alg_quant() 422 gain /= sqrtf(pvq->pvq_search(X, y, K, N)); in celt_alg_quant() 433 CeltPVQ *pvq) in celt_alg_unquant() argument 435 int *y = pvq->qcoeff; in celt_alg_unquant() 481 static av_always_inline uint32_t quant_band_template(CeltPVQ *pvq, CeltFrame *f, in quant_band_template() argument 564 celt_deinterleave_hadamard(pvq->hadamard_tmp, quant ? X : lowband, in quant_band_template() 702 cm = pvq->quant_band(pvq, f, rc, band, x2, NULL, N, mbits, blocks, lowband, duration, in quant_band_template() 755 cm = pvq->quant_band(pvq, f, rc, band, X, NULL, N, mbits, blocks, in quant_band_template() 764 cmt = pvq->quant_band(pvq, f, rc, band, Y, NULL, N, sbits, blocks, in quant_band_template() [all …]
|
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);
|
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()
|
D | opus.c | 527 cm[0] = f->pvq->quant_band(f->pvq, f, rc, i, X, NULL, band_size, b >> 1, in ff_celt_quant_bands() 532 cm[1] = f->pvq->quant_band(f->pvq, f, rc, i, Y, NULL, band_size, b >> 1, in ff_celt_quant_bands() 537 cm[0] = f->pvq->quant_band(f->pvq, f, rc, i, X, Y, band_size, b >> 0, in ff_celt_quant_bands()
|
D | opusenc.c | 42 CeltPVQ *pvq; member 610 ff_celt_pvq_uninit(&s->pvq); in opus_encode_end() 658 if ((ret = ff_celt_pvq_init(&s->pvq, 1)) < 0) in opus_encode_init() 694 s->frame[i].pvq = s->pvq; in opus_encode_init()
|
D | opus_celt.h | 99 CeltPVQ *pvq; member
|
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()
|