FFmpeg  4.0
Data Structures | Macros | Functions
aacenc_is.h File Reference

AAC encoder Intensity Stereo. More...

#include "aacenc.h"

Go to the source code of this file.

Data Structures

struct  AACISError
 

Macros

#define INT_STEREO_LOW_LIMIT   6100
 Frequency in Hz for lower limit of intensity stereo. More...
 

Functions

struct AACISError ff_aac_is_encoding_err (AACEncContext *s, ChannelElement *cpe, int start, int w, int g, float ener0, float ener1, float ener01, int use_pcoeffs, int phase)
 
void ff_aac_search_for_is (AACEncContext *s, AVCodecContext *avctx, ChannelElement *cpe)
 

Detailed Description

AAC encoder Intensity Stereo.

Author
Rostislav Pehlivanov ( atomnuker gmail com )

Definition in file aacenc_is.h.

Macro Definition Documentation

◆ INT_STEREO_LOW_LIMIT

#define INT_STEREO_LOW_LIMIT   6100

Frequency in Hz for lower limit of intensity stereo.

Definition at line 34 of file aacenc_is.h.

Referenced by ff_aac_search_for_is().

Function Documentation

◆ ff_aac_is_encoding_err()

struct AACISError ff_aac_is_encoding_err ( AACEncContext s,
ChannelElement cpe,
int  start,
int  w,
int  g,
float  ener0,
float  ener1,
float  ener01,
int  use_pcoeffs,
int  phase 
)

Definition at line 33 of file aacenc_is.c.

Referenced by ff_aac_adjust_common_pred(), and ff_aac_search_for_is().

◆ ff_aac_search_for_is()

void ff_aac_search_for_is ( AACEncContext s,
AVCodecContext avctx,
ChannelElement cpe 
)

Scout out next nonzero bands

Flip M/S mask and pick the other CB, since it encodes more efficiently

Definition at line 98 of file aacenc_is.c.