FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define USE_FIXED   0
#define FFT_FLOAT   1

Definition at line 81 of file aac_defines.h.

#define FFT_FIXED_32   0

Definition at line 82 of file aac_defines.h.

#define AAC_RENAME (   x)    x
#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().

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

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

Definition at line 93 of file aac_defines.h.

Referenced by decode_cce().

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

Definition at line 94 of file aac_defines.h.

Referenced by sbr_make_f_tablelim().

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

Definition at line 95 of file aac_defines.h.

Referenced by ps_tableinit(), and stereo_processing().

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

Definition at line 96 of file aac_defines.h.

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

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

Definition at line 97 of file aac_defines.h.

Referenced by aac_decode_init().

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

Definition at line 98 of file aac_defines.h.

Referenced by decode_cce().

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

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

Definition at line 100 of file aac_defines.h.

Referenced by apply_tns(), and compute_lpc_coefs().

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

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

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

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

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

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

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

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

Definition at line 110 of file aac_defines.h.

Referenced by stereo_processing().

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

#define AAC_SRA_R (   x,
 
)    (x)

Definition at line 112 of file aac_defines.h.

Referenced by compute_lpc_coefs().

Typedef Documentation

typedef float INTFLOAT

Definition at line 86 of file aac_defines.h.

typedef float UINTFLOAT

Definition at line 87 of file aac_defines.h.

typedef float INT64FLOAT

Definition at line 88 of file aac_defines.h.

typedef float SHORTFLOAT

Definition at line 89 of file aac_defines.h.

typedef float AAC_FLOAT

Definition at line 90 of file aac_defines.h.

typedef unsigned AAC_SIGNE

Definition at line 91 of file aac_defines.h.