diff options
author | James Almer <jamrial@gmail.com> | 2024-05-12 11:07:37 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-05-12 17:23:58 -0300 |
commit | 1ba528769702e09ed2a7ce493ccc26190d8d4124 (patch) | |
tree | 426a1bceddb115816a74bddaa1e6d523e3791cd2 /libavcodec/flacdsp.h | |
parent | c00c8679ed35ccf053c3d0602932dda3adac752e (diff) | |
download | ffmpeg-1ba528769702e09ed2a7ce493ccc26190d8d4124.tar.gz |
avcodec/flacdsp: split off wasted bit handling into dsp functions
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/flacdsp.h')
-rw-r--r-- | libavcodec/flacdsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/flacdsp.h b/libavcodec/flacdsp.h index 15149c026e..5a59c0c864 100644 --- a/libavcodec/flacdsp.h +++ b/libavcodec/flacdsp.h @@ -30,6 +30,9 @@ typedef struct FLACDSPContext { int qlevel, int len); void (*lpc32)(int32_t *samples, const int coeffs[32], int order, int qlevel, int len); + void (*wasted32)(int32_t *decoded, int wasted, int len); + void (*wasted33)(int64_t *decoded, const int32_t *residual, + 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 (*lpc32_encode)(int32_t *res, const int32_t *smp, int len, int order, |