FFmpeg
Data Structures | Macros | Functions | Variables
aacps.h File Reference
#include <stdint.h>
#include "libavutil/mem_internal.h"
#include "aacpsdsp.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)
 
static void AAC_RENAME() ff_ps_ctx_init (PSContext *ps)
 
int ff_ps_read_data (void *logctx, GetBitContext *gb, PSCommonContext *ps, int bits_left)
 
int AAC_RENAME() ff_ps_apply (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

◆ PS_MAX_NUM_ENV

#define PS_MAX_NUM_ENV   5

Definition at line 32 of file aacps.h.

◆ PS_MAX_NR_IIDICC

#define PS_MAX_NR_IIDICC   34

Definition at line 33 of file aacps.h.

◆ PS_MAX_NR_IPDOPD

#define PS_MAX_NR_IPDOPD   17

Definition at line 34 of file aacps.h.

◆ PS_MAX_SSB

#define PS_MAX_SSB   91

Definition at line 35 of file aacps.h.

◆ PS_MAX_AP_BANDS

#define PS_MAX_AP_BANDS   50

Definition at line 36 of file aacps.h.

◆ PS_QMF_TIME_SLOTS

#define PS_QMF_TIME_SLOTS   32

Definition at line 37 of file aacps.h.

◆ PS_MAX_DELAY

#define PS_MAX_DELAY   14

Definition at line 38 of file aacps.h.

◆ PS_AP_LINKS

#define PS_AP_LINKS   3

Definition at line 39 of file aacps.h.

◆ PS_MAX_AP_DELAY

#define PS_MAX_AP_DELAY   5

Definition at line 40 of file aacps.h.

◆ PS_BASELINE

#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 41 of file aacps.h.

◆ numQMFSlots

#define numQMFSlots   32

Definition at line 45 of file aacps.h.

Function Documentation

◆ ff_ps_init_common()

void ff_ps_init_common ( void  )

Definition at line 280 of file aacps_common.c.

Referenced by aacdec_common_init().

◆ ff_ps_init()

void AAC_RENAME() ff_ps_init ( void  )

Definition at line 740 of file aacps.c.

Referenced by ff_aac_sbr_init().

◆ ff_ps_ctx_init()

static void AAC_RENAME() ff_ps_ctx_init ( PSContext ps)
inlinestatic

Definition at line 97 of file aacps.h.

Referenced by ff_aac_sbr_ctx_init().

◆ ff_ps_read_data()

int ff_ps_read_data ( void *  logctx,
GetBitContext gb,
PSCommonContext ps,
int  bits_left 
)

Definition at line 122 of file aacps_common.c.

Referenced by read_sbr_extension().

◆ ff_ps_apply()

int AAC_RENAME() ff_ps_apply ( 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

◆ ff_k_to_i_20

const int8_t ff_k_to_i_20[]

Table 8.48.

Definition at line 100 of file aacpsdata.c.

Referenced by decorrelation(), and stereo_processing().

◆ ff_k_to_i_34

const int8_t ff_k_to_i_34[]

Table 8.49.

Definition at line 107 of file aacpsdata.c.

Referenced by decorrelation(), and stereo_processing().