22 #ifndef AVCODEC_OPUSENC_PSY_H
23 #define AVCODEC_OPUSENC_PSY_H
MDCT15Context * mdct[CELT_BLOCK_NB]
int64_t total_packets_out
struct FFBufQueue * bufqueue
float * window[CELT_BLOCK_NB]
OpusPsyStep * steps[FF_BUFQUEUE_SIZE+1]
FFBesselFilter bfilter_hi[OPUS_MAX_CHANNELS][CELT_MAX_BANDS]
FFBesselFilter bfilter_lo[OPUS_MAX_CHANNELS][CELT_MAX_BANDS]
void ff_opus_psy_signal_eof(OpusPsyContext *s)
Structure holding the queue.
float coeffs[OPUS_MAX_CHANNELS][OPUS_BLOCK_SIZE(CELT_BLOCK_960)]
float stereo[CELT_MAX_BANDS]
int ff_opus_psy_celt_frame_process(OpusPsyContext *s, CeltFrame *f, int index)
#define DECLARE_ALIGNED(n, t, v)
Declare a variable that is aligned in memory.
int ff_opus_psy_init(OpusPsyContext *s, AVCodecContext *avctx, struct FFBufQueue *bufqueue, OpusEncOptions *options)
int ff_opus_psy_end(OpusPsyContext *s)
#define OPUS_BLOCK_SIZE(x)
float * bands[OPUS_MAX_CHANNELS][CELT_MAX_BANDS]
float tone[OPUS_MAX_CHANNELS][CELT_MAX_BANDS]
float change_amp[OPUS_MAX_CHANNELS][CELT_MAX_BANDS]
int inflection_points_count
main external API structure.
#define OPUS_MAX_CHANNELS
void ff_opus_psy_postencode_update(OpusPsyContext *s, CeltFrame *f, OpusRangeCoder *rc)
const OptionDef options[]
void ff_opus_psy_celt_frame_init(OpusPsyContext *s, CeltFrame *f, int index)
float energy[OPUS_MAX_CHANNELS][CELT_MAX_BANDS]
int ff_opus_psy_process(OpusPsyContext *s, OpusPacketInfo *p)
OpusBandExcitation ex[OPUS_MAX_CHANNELS][CELT_MAX_BANDS]