FFmpeg  4.0
Functions
aacenc_ltp.c File Reference

AAC encoder long term prediction extension. More...

#include "aacenc_ltp.h"
#include "aacenc_quantization.h"
#include "aacenc_utils.h"

Go to the source code of this file.

Functions

void ff_aac_encode_ltp_info (AACEncContext *s, SingleChannelElement *sce, int common_window)
 Encode LTP data. More...
 
void ff_aac_ltp_insert_new_frame (AACEncContext *s)
 
static void get_lag (float *buf, const float *new, LongTermPrediction *ltp)
 
static void generate_samples (float *buf, LongTermPrediction *ltp)
 
void ff_aac_update_ltp (AACEncContext *s, SingleChannelElement *sce)
 Process LTP parameters. More...
 
void ff_aac_adjust_common_ltp (AACEncContext *s, ChannelElement *cpe)
 
void ff_aac_search_for_ltp (AACEncContext *s, SingleChannelElement *sce, int common_window)
 Mark LTP sfb's. More...
 

Detailed Description

AAC encoder long term prediction extension.

Author
Rostislav Pehlivanov ( atomnuker gmail com )

Definition in file aacenc_ltp.c.

Function Documentation

◆ ff_aac_encode_ltp_info()

void ff_aac_encode_ltp_info ( AACEncContext s,
SingleChannelElement sce,
int  common_window 
)

Encode LTP data.

Definition at line 35 of file aacenc_ltp.c.

◆ ff_aac_ltp_insert_new_frame()

void ff_aac_ltp_insert_new_frame ( AACEncContext s)

Definition at line 53 of file aacenc_ltp.c.

◆ get_lag()

static void get_lag ( float *  buf,
const float *  new,
LongTermPrediction ltp 
)
static

Definition at line 75 of file aacenc_ltp.c.

Referenced by ff_aac_update_ltp().

◆ generate_samples()

static void generate_samples ( float *  buf,
LongTermPrediction ltp 
)
static

Definition at line 99 of file aacenc_ltp.c.

Referenced by ff_aac_update_ltp().

◆ ff_aac_update_ltp()

void ff_aac_update_ltp ( AACEncContext s,
SingleChannelElement sce 
)

Process LTP parameters.

See also
Patent WO2006070265A1

Definition at line 117 of file aacenc_ltp.c.

◆ ff_aac_adjust_common_ltp()

void ff_aac_adjust_common_ltp ( AACEncContext s,
ChannelElement cpe 
)

Definition at line 130 of file aacenc_ltp.c.

◆ ff_aac_search_for_ltp()

void ff_aac_search_for_ltp ( AACEncContext s,
SingleChannelElement sce,
int  common_window 
)

Mark LTP sfb's.

Definition at line 159 of file aacenc_ltp.c.