Go to the documentation of this file.
22 #ifndef AVCODEC_DCAADPCM_H
23 #define AVCODEC_DCAADPCM_H
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)
static int32_t norm13(int64_t a)
static int32_t clip23(int32_t a)
static int quant(float coef, const float Q, const float rounding)
Quantize one coefficient.
static int64_t ff_dcaadpcm_predict(int pred_vq_index, const int32_t *input)
and forward the test the status of outputs and forward it to the corresponding return FFERROR_NOT_READY If the filters stores internally one or a few frame for some input
av_cold void ff_dcaadpcm_free(DCAADPCMEncContext *s)
#define i(width, name, range_min, range_max)
const int16_t ff_dca_adpcm_vb[DCA_ADPCM_VQCODEBOOK_SZ][DCA_ADPCM_COEFFS]
static const float pred[4]
static av_always_inline int diff(const uint32_t a, const uint32_t b)
static const double coeff[2][5]
av_cold int ff_dcaadpcm_init(DCAADPCMEncContext *s)
int ff_dcaadpcm_subband_analysis(const DCAADPCMEncContext *s, const int32_t *input, int len, int *diff)