FFmpeg  4.0
Macros | Typedefs
aac_defines.h File Reference

Go to the source code of this file.

Macros

#define USE_FIXED   0
 
#define FFT_FLOAT   1
 
#define FFT_FIXED_32   0
 
#define AAC_RENAME(x)   x
 
#define AAC_RENAME_32(x)   x
 
#define FIXR(x)   ((float)(x))
 
#define FIXR10(x)   ((float)(x))
 
#define Q23(x)   ((float)(x))
 
#define Q30(x)   ((float)(x))
 
#define Q31(x)   ((float)(x))
 
#define RANGE15(x)   (32768.0 * (x))
 
#define GET_GAIN(x, y)   powf((x), -(y))
 
#define AAC_MUL16(x, y)   ((x) * (y))
 
#define AAC_MUL26(x, y)   ((x) * (y))
 
#define AAC_MUL30(x, y)   ((x) * (y))
 
#define AAC_MUL31(x, y)   ((x) * (y))
 
#define AAC_MADD28(x, y, a, b)   ((x) * (y) + (a) * (b))
 
#define AAC_MADD30(x, y, a, b)   ((x) * (y) + (a) * (b))
 
#define AAC_MADD30_V8(x, y, a, b, c, d, e, f)
 
#define AAC_MSUB30(x, y, a, b)   ((x) * (y) - (a) * (b))
 
#define AAC_MSUB30_V8(x, y, a, b, c, d, e, f)
 
#define AAC_MSUB31_V3(x, y, z)   ((x) - (y)) * (z)
 
#define AAC_HALF_SUM(x, y)   ((x) + (y)) * 0.5f
 
#define AAC_SRA_R(x, y)   (x)
 

Typedefs

typedef float INTFLOAT
 
typedef float UINTFLOAT
 
typedef float INT64FLOAT
 
typedef float SHORTFLOAT
 
typedef float AAC_FLOAT
 
typedef unsigned AAC_SIGNE
 

Macro Definition Documentation

◆ USE_FIXED

#define USE_FIXED   0

◆ FFT_FLOAT

#define FFT_FLOAT   1

Definition at line 81 of file aac_defines.h.

◆ FFT_FIXED_32

#define FFT_FIXED_32   0

Definition at line 82 of file aac_defines.h.

◆ AAC_RENAME

#define AAC_RENAME (   x)    x

◆ AAC_RENAME_32

#define AAC_RENAME_32 (   x)    x

Definition at line 85 of file aac_defines.h.

Referenced by aac_decode_init(), ff_aac_sbr_ctx_close(), and ff_aac_sbr_ctx_init().

◆ FIXR

#define FIXR (   x)    ((float)(x))

Definition at line 92 of file aac_defines.h.

Referenced by compute_lpc_coefs(), decode_init_static(), and decode_scalefactors().

◆ FIXR10

#define FIXR10 (   x)    ((float)(x))

Definition at line 93 of file aac_defines.h.

Referenced by decode_cce().

◆ Q23

#define Q23 (   x)    ((float)(x))

Definition at line 94 of file aac_defines.h.

Referenced by sbr_make_f_tablelim().

◆ Q30

#define Q30 (   x)    ((float)(x))

Definition at line 95 of file aac_defines.h.

Referenced by ps_tableinit(), and stereo_processing().

◆ Q31

#define Q31 (   x)    ((float)(x))

Definition at line 96 of file aac_defines.h.

Referenced by decorrelation(), ff_fft_end(), ps_decorrelate_c(), and ps_tableinit().

◆ RANGE15

#define RANGE15 (   x)    (32768.0 * (x))

Definition at line 97 of file aac_defines.h.

Referenced by aac_decode_init().

◆ GET_GAIN

#define GET_GAIN (   x,
 
)    powf((x), -(y))

Definition at line 98 of file aac_defines.h.

Referenced by decode_cce().

◆ AAC_MUL16

#define AAC_MUL16 (   x,
 
)    ((x) * (y))

Definition at line 99 of file aac_defines.h.

Referenced by ps_decorrelate_c(), and ps_mul_pair_single_c().

◆ AAC_MUL26

#define AAC_MUL26 (   x,
 
)    ((x) * (y))

Definition at line 100 of file aac_defines.h.

Referenced by apply_tns(), and compute_lpc_coefs().

◆ AAC_MUL30

#define AAC_MUL30 (   x,
 
)    ((x) * (y))

Definition at line 101 of file aac_defines.h.

Referenced by apply_ltp(), ps_decorrelate_c(), and stereo_processing().

◆ AAC_MUL31

#define AAC_MUL31 (   x,
 
)    ((x) * (y))

Definition at line 102 of file aac_defines.h.

Referenced by hybrid2_re(), imdct_and_windowing_eld(), ps_decorrelate_c(), and update_ltp().

◆ AAC_MADD28

#define AAC_MADD28 (   x,
  y,
  a,
  b 
)    ((x) * (y) + (a) * (b))

Definition at line 103 of file aac_defines.h.

Referenced by ps_add_squares_c().

◆ AAC_MADD30

#define AAC_MADD30 (   x,
  y,
  a,
  b 
)    ((x) * (y) + (a) * (b))

Definition at line 104 of file aac_defines.h.

Referenced by ps_decorrelate_c(), ps_stereo_interpolate_c(), and stereo_processing().

◆ AAC_MADD30_V8

#define AAC_MADD30_V8 (   x,
  y,
  a,
  b,
  c,
  d,
  e,
 
)
Value:
((x) * (y) + (a) * (b) + \
(c) * (d) + (e) * (f))
const char * b
Definition: vf_curves.c:113
static double c[64]

Definition at line 105 of file aac_defines.h.

Referenced by ps_stereo_interpolate_ipdopd_c().

◆ AAC_MSUB30

#define AAC_MSUB30 (   x,
  y,
  a,
  b 
)    ((x) * (y) - (a) * (b))

Definition at line 107 of file aac_defines.h.

Referenced by ps_decorrelate_c(), and stereo_processing().

◆ AAC_MSUB30_V8

#define AAC_MSUB30_V8 (   x,
  y,
  a,
  b,
  c,
  d,
  e,
 
)
Value:
((x) * (y) + (a) * (b) - \
(c) * (d) - (e) * (f))
const char * b
Definition: vf_curves.c:113
static double c[64]

Definition at line 108 of file aac_defines.h.

Referenced by ps_stereo_interpolate_ipdopd_c().

◆ AAC_MSUB31_V3

#define AAC_MSUB31_V3 (   x,
  y,
 
)    ((x) - (y)) * (z)

Definition at line 110 of file aac_defines.h.

Referenced by stereo_processing().

◆ AAC_HALF_SUM

#define AAC_HALF_SUM (   x,
 
)    ((x) + (y)) * 0.5f

Definition at line 111 of file aac_defines.h.

Referenced by map_val_20_to_34(), and map_val_34_to_20().

◆ AAC_SRA_R

#define AAC_SRA_R (   x,
 
)    (x)

Definition at line 112 of file aac_defines.h.

Referenced by compute_lpc_coefs().

Typedef Documentation

◆ INTFLOAT

typedef float INTFLOAT

Definition at line 86 of file aac_defines.h.

◆ UINTFLOAT

typedef float UINTFLOAT

Definition at line 87 of file aac_defines.h.

◆ INT64FLOAT

typedef float INT64FLOAT

Definition at line 88 of file aac_defines.h.

◆ SHORTFLOAT

typedef float SHORTFLOAT

Definition at line 89 of file aac_defines.h.

◆ AAC_FLOAT

typedef float AAC_FLOAT

Definition at line 90 of file aac_defines.h.

◆ AAC_SIGNE

typedef unsigned AAC_SIGNE

Definition at line 91 of file aac_defines.h.