diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-08-22 06:11:23 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-08-22 06:11:23 +0100 |
commit | 21dd5279c3c48aec82fe566744b4a3fb4f729c60 (patch) | |
tree | 05c8f3070d208a2e35dc89524181c7814d7267c6 /libavcodec/aacenc_is.c | |
parent | d4401a9e0d667ec7565aafcb61d77e0fd3f06bbc (diff) | |
download | ffmpeg-21dd5279c3c48aec82fe566744b4a3fb4f729c60.tar.gz |
aacenc: Add missing ff_ prefixes
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Diffstat (limited to 'libavcodec/aacenc_is.c')
-rw-r--r-- | libavcodec/aacenc_is.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/aacenc_is.c b/libavcodec/aacenc_is.c index 4ae10542c4..32a5404723 100644 --- a/libavcodec/aacenc_is.c +++ b/libavcodec/aacenc_is.c @@ -30,15 +30,15 @@ #include "aacenc_is.h" #include "aacenc_quantization.h" -struct is_error calc_is_encoding_err(AACEncContext *s, ChannelElement *cpe, - int start, int w, int g, float ener0, - float ener1, float ener01, int phase) +struct ff_aac_is_error ff_aac_is_encoding_err(AACEncContext *s, ChannelElement *cpe, + int start, int w, int g, float ener0, + float ener1, float ener01, int phase) { int i, w2; float *L34 = &s->scoefs[256*0], *R34 = &s->scoefs[256*1]; float *IS = &s->scoefs[256*2], *I34 = &s->scoefs[256*3]; float dist1 = 0.0f, dist2 = 0.0f; - struct is_error is_error = {0}; + struct ff_aac_is_error is_error = {0}; SingleChannelElement *sce0 = &cpe->ch[0]; SingleChannelElement *sce1 = &cpe->ch[1]; @@ -89,7 +89,7 @@ struct is_error calc_is_encoding_err(AACEncContext *s, ChannelElement *cpe, return is_error; } -void search_for_is(AACEncContext *s, AVCodecContext *avctx, ChannelElement *cpe) +void ff_aac_search_for_is(AACEncContext *s, AVCodecContext *avctx, ChannelElement *cpe) { SingleChannelElement *sce0 = &cpe->ch[0]; SingleChannelElement *sce1 = &cpe->ch[1]; @@ -106,7 +106,7 @@ void search_for_is(AACEncContext *s, AVCodecContext *avctx, ChannelElement *cpe) cpe->ch[0].band_type[w*16+g] != NOISE_BT && !cpe->ch[0].zeroes[w*16+g] && cpe->ch[1].band_type[w*16+g] != NOISE_BT && !cpe->ch[1].zeroes[w*16+g]) { float ener0 = 0.0f, ener1 = 0.0f, ener01 = 0.0f; - struct is_error ph_err1, ph_err2, *erf; + struct ff_aac_is_error ph_err1, ph_err2, *erf; for (w2 = 0; w2 < sce0->ics.group_len[w]; w2++) { for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { float coef0 = sce0->pcoeffs[start+(w+w2)*128+i]; @@ -116,10 +116,10 @@ void search_for_is(AACEncContext *s, AVCodecContext *avctx, ChannelElement *cpe) ener01 += (coef0 + coef1)*(coef0 + coef1); } } - ph_err1 = calc_is_encoding_err(s, cpe, start, w, g, - ener0, ener1, ener01, -1); - ph_err2 = calc_is_encoding_err(s, cpe, start, w, g, - ener0, ener1, ener01, +1); + ph_err1 = ff_aac_is_encoding_err(s, cpe, start, w, g, + ener0, ener1, ener01, -1); + ph_err2 = ff_aac_is_encoding_err(s, cpe, start, w, g, + ener0, ener1, ener01, +1); erf = ph_err1.error < ph_err2.error ? &ph_err1 : &ph_err2; if (erf->pass) { cpe->is_mask[w*16+g] = 1; |