FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
aacenc_tns.c File Reference

AAC encoder temporal noise shaping. More...

#include "aacenc.h"
#include "aacenc_tns.h"
#include "aactab.h"
#include "aacenc_utils.h"
#include "aacenc_quantization.h"

Go to the source code of this file.

Functions

void ff_aac_encode_tns_info (AACEncContext *s, SingleChannelElement *sce)
 Encode TNS data. More...
 
static void quantize_coefs (double *coef, int *idx, float *lpc, int order)
 
void ff_aac_apply_tns (AACEncContext *s, SingleChannelElement *sce)
 
void ff_aac_search_for_tns (AACEncContext *s, SingleChannelElement *sce)
 

Detailed Description

AAC encoder temporal noise shaping.

Author
Rostislav Pehlivanov ( atomnuker gmail com )

Definition in file aacenc_tns.c.

Function Documentation

void ff_aac_encode_tns_info ( AACEncContext s,
SingleChannelElement sce 
)

Encode TNS data.

Coefficient compression saves a single bit per coefficient.

Definition at line 38 of file aacenc_tns.c.

static void quantize_coefs ( double *  coef,
int *  idx,
float *  lpc,
int  order 
)
inlinestatic

Definition at line 70 of file aacenc_tns.c.

Referenced by ff_aac_search_for_tns().

void ff_aac_apply_tns ( AACEncContext s,
SingleChannelElement sce 
)

Definition at line 85 of file aacenc_tns.c.

void ff_aac_search_for_tns ( AACEncContext s,
SingleChannelElement sce 
)

Definition at line 125 of file aacenc_tns.c.