FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mpegaudiodec_fixed.c File Reference
#include "config.h"
#include "libavutil/samplefmt.h"
#include "mpegaudio.h"
#include "mpegaudiodec_template.c"

Go to the source code of this file.

Macros

#define USE_FLOATS   0
 
#define SHR(a, b)   ((a)>>(b))
 
#define FIXR_OLD(a)   ((int)((a) * FRAC_ONE + 0.5))
 
#define FIXR(a)   ((int)((a) * FRAC_ONE + 0.5))
 
#define FIXHR(a)   ((int)((a) * (1LL<<32) + 0.5))
 
#define MULH3(x, y, s)   MULH((s)*(x), y)
 
#define MULLx(x, y, s)   MULL(x,y,s)
 
#define RENAME(a)   a ## _fixed
 
#define OUT_FMT   AV_SAMPLE_FMT_S16
 
#define OUT_FMT_P   AV_SAMPLE_FMT_S16P
 

Macro Definition Documentation

#define USE_FLOATS   0

Definition at line 24 of file mpegaudiodec_fixed.c.

#define SHR (   a,
  b 
)    ((a)>>(b))

Definition at line 28 of file mpegaudiodec_fixed.c.

Referenced by imdct12().

#define FIXR_OLD (   a)    ((int)((a) * FRAC_ONE + 0.5))

Definition at line 30 of file mpegaudiodec_fixed.c.

#define FIXR (   a)    ((int)((a) * FRAC_ONE + 0.5))

Definition at line 31 of file mpegaudiodec_fixed.c.

Referenced by decode_init_static().

#define FIXHR (   a)    ((int)((a) * (1LL<<32) + 0.5))

Definition at line 32 of file mpegaudiodec_fixed.c.

#define MULH3 (   x,
  y,
  s 
)    MULH((s)*(x), y)

Definition at line 33 of file mpegaudiodec_fixed.c.

#define MULLx (   x,
  y,
  s 
)    MULL(x,y,s)

Definition at line 34 of file mpegaudiodec_fixed.c.

Referenced by compute_stereo(), and decode_init_static().

#define RENAME (   a)    a ## _fixed
#define OUT_FMT   AV_SAMPLE_FMT_S16

Definition at line 36 of file mpegaudiodec_fixed.c.

Referenced by decode_init().

#define OUT_FMT_P   AV_SAMPLE_FMT_S16P

Definition at line 37 of file mpegaudiodec_fixed.c.

Referenced by decode_init(), and mp_decode_frame().