Go to the documentation of this file.
19 #ifndef AVCODEC_FLACDSP_H
20 #define AVCODEC_FLACDSP_H
34 int pred_order,
int qlevel,
int len);
void(* decorrelate[4])(uint8_t **out, int32_t **in, int channels, int len, int shift)
void(* lpc32_encode)(int32_t *res, const int32_t *smp, int len, int order, const int32_t coefs[32], int shift)
void(* lpc33)(int64_t *samples, const int32_t *residual, const int coeffs[32], int pred_order, int qlevel, int len)
void ff_flacdsp_init_arm(FLACDSPContext *c, enum AVSampleFormat fmt, int channels)
void(* lpc32)(int32_t *samples, const int coeffs[32], int order, int qlevel, int len)
void(* lpc16)(int32_t *samples, const int coeffs[32], int order, int qlevel, int len)
void(* wasted32)(int32_t *decoded, int wasted, int len)
void(* lpc16_encode)(int32_t *res, const int32_t *smp, int len, int order, const int32_t coefs[32], int shift)
void ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, int channels)
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
static int shift(int a, int b)
void(* wasted33)(int64_t *decoded, const int32_t *residual, int wasted, int len)
AVSampleFormat
Audio sample formats.
void ff_flacdsp_init_x86(FLACDSPContext *c, enum AVSampleFormat fmt, int channels)
Filter the word “frame” indicates either a video frame or a group of audio samples
void ff_flacdsp_init_riscv(FLACDSPContext *c, enum AVSampleFormat fmt, int channels)