FFmpeg
Data Structures | Macros | Functions | Variables
aacps.h File Reference
#include <stdint.h>
#include "libavutil/mem_internal.h"
#include "aacpsdsp.h"
#include "avcodec.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  PSCommonContext
 
struct  PSContext
 

Macros

#define PS_MAX_NUM_ENV   5
 
#define PS_MAX_NR_IIDICC   34
 
#define PS_MAX_NR_IPDOPD   17
 
#define PS_MAX_SSB   91
 
#define PS_MAX_AP_BANDS   50
 
#define PS_QMF_TIME_SLOTS   32
 
#define PS_MAX_DELAY   14
 
#define PS_AP_LINKS   3
 
#define PS_MAX_AP_DELAY   5
 
#define PS_BASELINE   0
 Operate in Baseline PS mode. More...
 
#define numQMFSlots   32
 

Functions

void ff_ps_init_common (void)
 
void AAC_RENAME() ff_ps_init (void)
 
void AAC_RENAME() ff_ps_ctx_init (PSContext *ps)
 
int ff_ps_read_data (AVCodecContext *avctx, GetBitContext *gb, PSCommonContext *ps, int bits_left)
 
int AAC_RENAME() ff_ps_apply (AVCodecContext *avctx, PSContext *ps, INTFLOAT L[2][38][64], INTFLOAT R[2][38][64], int top)
 

Variables

const int8_t ff_k_to_i_20 []
 Table 8.48. More...
 
const int8_t ff_k_to_i_34 []
 Table 8.49. More...
 

Macro Definition Documentation

#define PS_MAX_NUM_ENV   5

Definition at line 33 of file aacps.h.

Referenced by stereo_processing().

#define PS_MAX_NR_IIDICC   34

Definition at line 34 of file aacps.h.

Referenced by remap20(), remap34(), and stereo_processing().

#define PS_MAX_NR_IPDOPD   17

Definition at line 35 of file aacps.h.

Referenced by ipdopd_reset().

#define PS_MAX_SSB   91

Definition at line 36 of file aacps.h.

#define PS_MAX_AP_BANDS   50

Definition at line 37 of file aacps.h.

#define PS_QMF_TIME_SLOTS   32

Definition at line 38 of file aacps.h.

Referenced by decorrelation().

#define PS_MAX_DELAY   14

Definition at line 39 of file aacps.h.

Referenced by decorrelation().

#define PS_AP_LINKS   3

Definition at line 40 of file aacps.h.

Referenced by decorrelation(), and ps_decorrelate_c().

#define PS_MAX_AP_DELAY   5

Definition at line 41 of file aacps.h.

Referenced by decorrelation().

#define PS_BASELINE   0

Operate in Baseline PS mode.

Baseline implies 10 or 20 stereo bands, mixing mode A, and no ipd/opd

Definition at line 42 of file aacps.h.

Referenced by ff_ps_read_data(), and stereo_processing().

#define numQMFSlots   32

Definition at line 46 of file aacps.h.

Referenced by decorrelation(), and ff_ps_read_data().

Function Documentation

void ff_ps_init_common ( void  )

Definition at line 332 of file aacps_common.c.

Referenced by ff_ps_init().

void AAC_RENAME() ff_ps_init ( void  )

Definition at line 740 of file aacps.c.

Referenced by ff_aac_sbr_init().

void AAC_RENAME() ff_ps_ctx_init ( PSContext ps)

Definition at line 745 of file aacps.c.

Referenced by ff_aac_sbr_ctx_init().

int ff_ps_read_data ( AVCodecContext avctx,
GetBitContext gb,
PSCommonContext ps,
int  bits_left 
)

Definition at line 134 of file aacps_common.c.

Referenced by read_sbr_extension().

int AAC_RENAME() ff_ps_apply ( AVCodecContext avctx,
PSContext ps,
INTFLOAT  L[2][38][64],
INTFLOAT  R[2][38][64],
int  top 
)

Definition at line 719 of file aacps.c.

Referenced by ff_sbr_apply().

Variable Documentation

const int8_t ff_k_to_i_20[]

Table 8.48.

Definition at line 145 of file aacpsdata.c.

Referenced by decorrelation(), and stereo_processing().

const int8_t ff_k_to_i_34[]

Table 8.49.

Definition at line 152 of file aacpsdata.c.

Referenced by decorrelation(), and stereo_processing().