Home
last modified time | relevance | path

Searched refs:pvq (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dopus_pvq.c417 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 …]
Dopus_pvq.h30 #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);
Dopusenc_psy.c28 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()
Dopus.c527 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()
Dopusenc.c42 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()
Dopus_celt.h99 CeltPVQ *pvq; member
Dopus_celt.c532 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()