summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc_tns.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-08-22 06:11:23 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-08-22 06:11:23 +0100
commit21dd5279c3c48aec82fe566744b4a3fb4f729c60 (patch)
tree05c8f3070d208a2e35dc89524181c7814d7267c6 /libavcodec/aacenc_tns.c
parentd4401a9e0d667ec7565aafcb61d77e0fd3f06bbc (diff)
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_tns.c')
-rw-r--r--libavcodec/aacenc_tns.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c
index d43dd0d065..0ac9ba9384 100644
--- a/libavcodec/aacenc_tns.c
+++ b/libavcodec/aacenc_tns.c
@@ -72,7 +72,7 @@ static inline int compress_coef(int *coefs, int num)
* Encode TNS data.
* Coefficient compression saves a single bit.
*/
-void encode_tns_info(AACEncContext *s, SingleChannelElement *sce)
+void ff_aac_encode_tns_info(AACEncContext *s, SingleChannelElement *sce)
{
int i, w, filt, coef_len, coef_compress;
const int coef_res = MAX_LPC_PRECISION == 4 ? 1 : 0;
@@ -149,7 +149,8 @@ static int process_tns_coeffs(TemporalNoiseShaping *tns, float *tns_coefs_raw,
}
static void apply_tns_filter(float *out, float *in, int order, int direction,
- float *tns_coefs, int ltp_used, int w, int filt, int start_i, int len)
+ float *tns_coefs, int ltp_used, int w, int filt,
+ int start_i, int len)
{
int i, j, inc, start = start_i;
float tmp[TNS_MAX_ORDER+1];
@@ -175,7 +176,7 @@ static void apply_tns_filter(float *out, float *in, int order, int direction,
}
}
-void search_for_tns(AACEncContext *s, SingleChannelElement *sce)
+void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce)
{
TemporalNoiseShaping *tns = &sce->tns;
int w, g, order, sfb_start, sfb_len, coef_start, shift[MAX_LPC_ORDER], count = 0;