FFmpeg
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

◆ USE_FLOATS

#define USE_FLOATS   1

Definition at line 25 of file mpegaudiodec_float.c.

◆ SHR

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

Definition at line 29 of file mpegaudiodec_float.c.

◆ FIXR_OLD

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

Definition at line 30 of file mpegaudiodec_float.c.

◆ FIXR

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

Definition at line 31 of file mpegaudiodec_float.c.

◆ FIXHR

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

Definition at line 32 of file mpegaudiodec_float.c.

◆ MULH3

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

Definition at line 33 of file mpegaudiodec_float.c.

◆ MULLx

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

Definition at line 34 of file mpegaudiodec_float.c.

◆ RENAME

#define RENAME (   a)    a ## _float

Definition at line 35 of file mpegaudiodec_float.c.

◆ OUT_FMT

#define OUT_FMT   AV_SAMPLE_FMT_FLT

Definition at line 36 of file mpegaudiodec_float.c.

◆ OUT_FMT_P

#define OUT_FMT_P   AV_SAMPLE_FMT_FLTP

Definition at line 37 of file mpegaudiodec_float.c.