FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mpegaudiodec_float.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   1
 
#define SHR(a, b)   ((a)*(1.0f/(1<<(b))))
 
#define FIXR_OLD(a)   ((int)((a) * FRAC_ONE + 0.5))
 
#define FIXR(x)   ((float)(x))
 
#define FIXHR(x)   ((float)(x))
 
#define MULH3(x, y, s)   ((s)*(y)*(x))
 
#define MULLx(x, y, s)   ((y)*(x))
 
#define RENAME(a)   a ## _float
 
#define OUT_FMT   AV_SAMPLE_FMT_FLT
 
#define OUT_FMT_P   AV_SAMPLE_FMT_FLTP
 

Macro Definition Documentation

#define USE_FLOATS   1

Definition at line 25 of file mpegaudiodec_float.c.

#define SHR (   a,
  b 
)    ((a)*(1.0f/(1<<(b))))

Definition at line 29 of file mpegaudiodec_float.c.

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

Definition at line 30 of file mpegaudiodec_float.c.

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

Definition at line 31 of file mpegaudiodec_float.c.

#define FIXHR (   x)    ((float)(x))

Definition at line 32 of file mpegaudiodec_float.c.

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

Definition at line 33 of file mpegaudiodec_float.c.

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

Definition at line 34 of file mpegaudiodec_float.c.

#define RENAME (   a)    a ## _float

Definition at line 35 of file mpegaudiodec_float.c.

#define OUT_FMT   AV_SAMPLE_FMT_FLT

Definition at line 36 of file mpegaudiodec_float.c.

#define OUT_FMT_P   AV_SAMPLE_FMT_FLTP

Definition at line 37 of file mpegaudiodec_float.c.