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