22#ifndef AVCODEC_OPUS_ENC_PSY_H
23#define AVCODEC_OPUS_ENC_PSY_H
#define OPUS_MAX_CHANNELS
#define OPUS_BLOCK_SIZE(x)
int ff_opus_psy_init(OpusPsyContext *s, AVCodecContext *avctx, struct FFBufQueue *bufqueue, OpusEncOptions *options)
void ff_opus_psy_postencode_update(OpusPsyContext *s, CeltFrame *f)
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)
#define DECLARE_ALIGNED(n, t, v)
Declare a variable that is aligned in memory.
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
AVTXContext * mdct[CELT_BLOCK_NB]
struct FFBufQueue * bufqueue
OpusPsyStep * steps[FF_BUFQUEUE_SIZE+1]
int inflection_points_count
av_tx_fn mdct_fn[CELT_BLOCK_NB]
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]
void(* av_tx_fn)(AVTXContext *s, void *out, void *in, ptrdiff_t stride)
Function pointer to a function to perform the transform.