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

AAC encoder Intensity Stereo. More...

#include "aacenc.h"
#include "aacenc_utils.h"
#include "aacenc_is.h"
#include "aacenc_quantization.h"

Go to the source code of this file.

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.c.

Function Documentation

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().

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.