diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-08-21 18:53:14 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-08-21 18:53:14 +0100 |
commit | 43b378a0d321e3d01f196cec95e13acfac80d464 (patch) | |
tree | 30d4afe233ffb915510b34c32eb8e7c7e17871cb /libavcodec/aacenc.h | |
parent | b47a1e5c5f585da714b0361a3077b9ded46c8c54 (diff) | |
download | ffmpeg-43b378a0d321e3d01f196cec95e13acfac80d464.tar.gz |
aaccoder: move the quantization functions to a separate file
This commit moves the quantizer to a separate header file.
This allows the quantizer to be used from a separate files outside
of aaccoder without having to put another function pointer and will
result in a slight speedup as the compiler can do more optimizations.
This is required for commits following.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r-- | libavcodec/aacenc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h index c7ca2159f7..dc88f598d9 100644 --- a/libavcodec/aacenc.h +++ b/libavcodec/aacenc.h @@ -55,7 +55,7 @@ typedef struct AACCoefficientsEncoder { SingleChannelElement *sce, const float lambda); void (*encode_window_bands_info)(struct AACEncContext *s, SingleChannelElement *sce, int win, int group_len, const float lambda); - void (*quantize_and_encode_band)(struct AACEncContext *s, PutBitContext *pb, const float *in, int size, + void (*quantize_and_encode_band)(struct AACEncContext *s, PutBitContext *pb, const float *in, float *out, int size, int scale_idx, int cb, const float lambda, int rtz); void (*set_special_band_scalefactors)(struct AACEncContext *s, SingleChannelElement *sce); void (*search_for_pns)(struct AACEncContext *s, AVCodecContext *avctx, SingleChannelElement *sce); |