|
static double | hom (double f) |
|
static double | gammafilter (int i, double f) |
|
static int | subband_bufer_alloc (DCAEncContext *c) |
|
static void | subband_bufer_free (DCAEncContext *c) |
|
static int | encode_init (AVCodecContext *avctx) |
|
static av_cold int | encode_close (AVCodecContext *avctx) |
|
static void | subband_transform (DCAEncContext *c, const int32_t *input) |
|
static void | lfe_downsample (DCAEncContext *c, const int32_t *input) |
|
static int32_t | get_cb (DCAEncContext *c, int32_t in) |
|
static int32_t | add_cb (DCAEncContext *c, int32_t a, int32_t b) |
|
static void | calc_power (DCAEncContext *c, const int32_t in[2 *256], int32_t power[256]) |
|
static void | adjust_jnd (DCAEncContext *c, const int32_t in[512], int32_t out_cb[256]) |
|
static void | walk_band_low (DCAEncContext *c, int band, int channel, walk_band_t walk, int32_t *arg) |
|
static void | walk_band_high (DCAEncContext *c, int band, int channel, walk_band_t walk, int32_t *arg) |
|
static void | update_band_masking (DCAEncContext *c, int band1, int band2, int f, int32_t spectrum1, int32_t spectrum2, int channel, int32_t *arg) |
|
static void | calc_masking (DCAEncContext *c, const int32_t *input) |
|
static int32_t | find_peak (DCAEncContext *c, const int32_t *in, int len) |
|
static void | find_peaks (DCAEncContext *c) |
|
static void | adpcm_analysis (DCAEncContext *c) |
|
static int32_t | get_step_size (DCAEncContext *c, int ch, int band) |
|
static int | calc_one_scale (DCAEncContext *c, int32_t peak_cb, int abits, softfloat *quant) |
|
static void | quantize_adpcm_subband (DCAEncContext *c, int ch, int band) |
|
static void | quantize_adpcm (DCAEncContext *c) |
|
static void | quantize_pcm (DCAEncContext *c) |
|
static void | accumulate_huff_bit_consumption (int abits, int32_t *quantized, uint32_t *result) |
|
static uint32_t | set_best_code (uint32_t vlc_bits[DCA_CODE_BOOKS][7], uint32_t clc_bits[DCA_CODE_BOOKS], int32_t res[DCA_CODE_BOOKS]) |
|
static uint32_t | set_best_abits_code (int abits[DCAENC_SUBBANDS], int bands, int32_t *res) |
|
static int | init_quantization_noise (DCAEncContext *c, int noise, int forbid_zero) |
|
static void | assign_bits (DCAEncContext *c) |
|
static void | shift_history (DCAEncContext *c, const int32_t *input) |
|
static void | fill_in_adpcm_bufer (DCAEncContext *c) |
|
static void | calc_lfe_scales (DCAEncContext *c) |
|
static void | put_frame_header (DCAEncContext *c) |
|
static void | put_primary_audio_header (DCAEncContext *c) |
|
static void | put_subframe_samples (DCAEncContext *c, int ss, int band, int ch) |
|
static void | put_subframe (DCAEncContext *c, int subframe) |
|
static int | encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
|