Home
last modified time | relevance | path

Searched refs:OpusRangeCoder (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dopus_rc.h40 typedef struct OpusRangeCoder { struct
55 } OpusRangeCoder; argument
61 static av_always_inline uint32_t opus_rc_tell(const OpusRangeCoder *rc) in opus_rc_tell()
66 static av_always_inline uint32_t opus_rc_tell_frac(const OpusRangeCoder *rc) in opus_rc_tell_frac()
85 uint32_t ff_opus_rc_dec_cdf(OpusRangeCoder *rc, const uint16_t *cdf);
86 void ff_opus_rc_enc_cdf(OpusRangeCoder *rc, int val, const uint16_t *cdf);
88 uint32_t ff_opus_rc_dec_log(OpusRangeCoder *rc, uint32_t bits);
89 void ff_opus_rc_enc_log(OpusRangeCoder *rc, int val, uint32_t bits);
91 uint32_t ff_opus_rc_dec_uint_step(OpusRangeCoder *rc, int k0);
92 void ff_opus_rc_enc_uint_step(OpusRangeCoder *rc, uint32_t val, int k0);
[all …]
Dopus_rc.c32 static av_always_inline void opus_rc_enc_carryout(OpusRangeCoder *rc, int cbuf) in opus_rc_enc_carryout()
47 static av_always_inline void opus_rc_dec_normalize(OpusRangeCoder *rc) in opus_rc_dec_normalize()
56 static av_always_inline void opus_rc_enc_normalize(OpusRangeCoder *rc) in opus_rc_enc_normalize()
66 static av_always_inline void opus_rc_dec_update(OpusRangeCoder *rc, uint32_t scale, in opus_rc_dec_update()
77 static av_always_inline void opus_rc_enc_update(OpusRangeCoder *rc, uint32_t b, uint32_t p, in opus_rc_enc_update()
90 uint32_t ff_opus_rc_dec_cdf(OpusRangeCoder *rc, const uint16_t *cdf) in ff_opus_rc_dec_cdf()
109 void ff_opus_rc_enc_cdf(OpusRangeCoder *rc, int val, const uint16_t *cdf) in ff_opus_rc_enc_cdf()
114 uint32_t ff_opus_rc_dec_log(OpusRangeCoder *rc, uint32_t bits) in ff_opus_rc_dec_log()
131 void ff_opus_rc_enc_log(OpusRangeCoder *rc, int val, uint32_t bits) in ff_opus_rc_enc_log()
140 uint32_t ff_opus_rc_get_raw(OpusRangeCoder *rc, uint32_t count) in ff_opus_rc_get_raw()
[all …]
Dopus.h114 OpusRangeCoder rc;
115 OpusRangeCoder redundancy_rc;
190 int ff_silk_decode_superframe(SilkContext *s, OpusRangeCoder *rc,
196 void ff_celt_quant_bands(CeltFrame *f, OpusRangeCoder *rc);
199 void ff_celt_bitalloc(CeltFrame *f, OpusRangeCoder *rc, int encode);
Dopusenc.c55 OpusRangeCoder *rc;
258 static void celt_enc_tf(CeltFrame *f, OpusRangeCoder *rc) in celt_enc_tf()
285 static void celt_enc_quant_pfilter(OpusRangeCoder *rc, CeltFrame *f) in celt_enc_quant_pfilter()
322 static void exp_quant_coarse(OpusRangeCoder *rc, CeltFrame *f, in exp_quant_coarse()
365 static void celt_quant_coarse(CeltFrame *f, OpusRangeCoder *rc, in celt_quant_coarse()
385 static void celt_quant_fine(CeltFrame *f, OpusRangeCoder *rc) in celt_quant_fine()
402 static void celt_quant_final(OpusEncContext *s, OpusRangeCoder *rc, CeltFrame *f) in celt_quant_final()
420 static void celt_encode_frame(OpusEncContext *s, OpusRangeCoder *rc, in celt_encode_frame()
692 s->rc = av_malloc(max_frames*sizeof(OpusRangeCoder)); in opus_encode_init()
Dopus_celt.c34 static void celt_decode_coarse_energy(CeltFrame *f, OpusRangeCoder *rc) in celt_decode_coarse_energy()
78 static void celt_decode_fine_energy(CeltFrame *f, OpusRangeCoder *rc) in celt_decode_fine_energy()
97 static void celt_decode_final_energy(CeltFrame *f, OpusRangeCoder *rc) in celt_decode_final_energy()
119 static void celt_decode_tf_changes(CeltFrame *f, OpusRangeCoder *rc) in celt_decode_tf_changes()
233 static int parse_postfilter(CeltFrame *f, OpusRangeCoder *rc, int consumed) in parse_postfilter()
320 int ff_celt_decode_frame(CeltFrame *f, OpusRangeCoder *rc, in ff_celt_decode_frame()
Dopus_pvq.h31 OpusRangeCoder *rc, const int band, float *X, \
Dopus_pvq.c353 static inline void celt_encode_pulses(OpusRangeCoder *rc, int *y, uint32_t N, uint32_t K) in celt_encode_pulses()
358 static inline float celt_decode_pulses(OpusRangeCoder *rc, int *y, uint32_t N, uint32_t K) in celt_decode_pulses()
417 static uint32_t celt_alg_quant(OpusRangeCoder *rc, float *X, uint32_t N, uint32_t K, in celt_alg_quant()
433 static uint32_t celt_alg_unquant(OpusRangeCoder *rc, float *X, uint32_t N, uint32_t K, in celt_alg_unquant()
484 OpusRangeCoder *rc, in quant_band_template()
Dopus_silk.c306 OpusRangeCoder *rc, in silk_decode_lpc()
402 static inline void silk_count_children(OpusRangeCoder *rc, int model, int32_t total, in silk_count_children()
415 static inline void silk_decode_excitation(SilkContext *s, OpusRangeCoder *rc, in silk_decode_excitation()
509 static void silk_decode_frame(SilkContext *s, OpusRangeCoder *rc, in silk_decode_frame()
786 int ff_silk_decode_superframe(SilkContext *s, OpusRangeCoder *rc, in ff_silk_decode_superframe()
Dopusenc_psy.h99 void ff_opus_psy_postencode_update (OpusPsyContext *s, CeltFrame *f, OpusRangeCoder *rc);
Dopus_celt.h169 int ff_celt_decode_frame(CeltFrame *f, OpusRangeCoder *rc, float **output,
Dopusenc_psy.c28 static float pvq_band_cost(CeltPVQ *pvq, CeltFrame *f, OpusRangeCoder *rc, int band, in pvq_band_cost()
366 OpusRangeCoder dump; in bands_dist()
479 void ff_opus_psy_postencode_update(OpusPsyContext *s, CeltFrame *f, OpusRangeCoder *rc) in ff_opus_psy_postencode_update()
Dopus.c469 void ff_celt_quant_bands(CeltFrame *f, OpusRangeCoder *rc) in ff_celt_quant_bands()
578 void ff_celt_bitalloc(CeltFrame *f, OpusRangeCoder *rc, int encode) in ff_celt_bitalloc()