FFmpeg
|
Go to the source code of this file.
Typedefs | |
typedef int32_t | premultiplied_coeffs [10] |
Functions | |
static int64_t | calc_corr (const int32_t *x, int len, int j, int k) |
static int64_t | apply_filter (const int16_t a[DCA_ADPCM_COEFFS], const int64_t corr[15], const int32_t aa[10]) |
static int64_t | find_best_filter (const DCAADPCMEncContext *s, const int32_t *in, int len) |
static int64_t | calc_prediction_gain (int pred_vq, const int32_t *in, int32_t *out, int len) |
int | ff_dcaadpcm_subband_analysis (const DCAADPCMEncContext *s, const int32_t *in, int len, int *diff) |
static void | precalc (premultiplied_coeffs *data) |
int | ff_dcaadpcm_do_real (int pred_vq_index, softfloat quant, int32_t scale_factor, int32_t step_size, const int32_t *prev_hist, const int32_t *in, int32_t *next_hist, int32_t *out, int len, int32_t peak) |
av_cold int | ff_dcaadpcm_init (DCAADPCMEncContext *s) |
av_cold void | ff_dcaadpcm_free (DCAADPCMEncContext *s) |
typedef int32_t premultiplied_coeffs[10] |
Definition at line 28 of file dcaadpcm.c.
Definition at line 31 of file dcaadpcm.c.
Referenced by find_best_filter().
|
inlinestatic |
Definition at line 40 of file dcaadpcm.c.
Referenced by find_best_filter().
|
static |
Definition at line 79 of file dcaadpcm.c.
Referenced by ff_dcaadpcm_subband_analysis().
|
inlinestatic |
Definition at line 104 of file dcaadpcm.c.
Referenced by ff_dcaadpcm_subband_analysis().
int ff_dcaadpcm_subband_analysis | ( | const DCAADPCMEncContext * | s, |
const int32_t * | in, | ||
int | len, | ||
int * | diff | ||
) |
Definition at line 125 of file dcaadpcm.c.
Referenced by adpcm_analysis().
|
static |
Definition at line 164 of file dcaadpcm.c.
Referenced by ff_dcaadpcm_init().
int ff_dcaadpcm_do_real | ( | int | pred_vq_index, |
softfloat | quant, | ||
int32_t | scale_factor, | ||
int32_t | step_size, | ||
const int32_t * | prev_hist, | ||
const int32_t * | in, | ||
int32_t * | next_hist, | ||
int32_t * | out, | ||
int | len, | ||
int32_t | peak | ||
) |
Definition at line 183 of file dcaadpcm.c.
Referenced by quantize_adpcm_subband().
av_cold int ff_dcaadpcm_init | ( | DCAADPCMEncContext * | s | ) |
Definition at line 212 of file dcaadpcm.c.
Referenced by encode_init().
av_cold void ff_dcaadpcm_free | ( | DCAADPCMEncContext * | s | ) |
Definition at line 225 of file dcaadpcm.c.
Referenced by encode_close().