libavcodec/mathops.h File Reference

#include "libavutil/common.h"

Go to the source code of this file.


#define MULL(a, b, s)   (((int64_t)(a) * (int64_t)(b)) >> (s))
#define MUL64(a, b)   ((int64_t)(a) * (int64_t)(b))
#define MAC64(d, a, b)   ((d) += MUL64(a, b))
#define MLS64(d, a, b)   ((d) -= MUL64(a, b))
#define MAC16(rt, ra, rb)   rt += (ra) * (rb)
#define MUL16(ra, rb)   ((ra) * (rb))
#define MLS16(rt, ra, rb)   ((rt) -= (ra) * (rb))
#define mid_pred   mid_pred


static av_always_inline int MULH (int a, int b)
static av_const int mid_pred (int a, int b, int c)

Define Documentation

#define MAC16 ( rt,
rb   )     rt += (ra) * (rb)

Definition at line 74 of file mathops.h.

Referenced by idctRowCondDC(), idctSparseCol(), idctSparseColAdd(), and idctSparseColPut().

#define MAC64 ( d,
 )     ((d) += MUL64(a, b))

Definition at line 65 of file mathops.h.

#define mid_pred   mid_pred

Definition at line 88 of file mathops.h.

#define MLS16 ( rt,
rb   )     ((rt) -= (ra) * (rb))

Definition at line 83 of file mathops.h.

#define MLS64 ( d,
 )     ((d) -= MUL64(a, b))

Definition at line 69 of file mathops.h.

#define MUL16 ( ra,
rb   )     ((ra) * (rb))

Definition at line 79 of file mathops.h.

#define MUL64 ( a,
 )     ((int64_t)(a) * (int64_t)(b))

Definition at line 61 of file mathops.h.

#define MULL ( a,
 )     (((int64_t)(a) * (int64_t)(b)) >> (s))

Definition at line 48 of file mathops.h.

Function Documentation

static av_const int mid_pred ( int  a,
int  b,
int  c 
) [inline, static]

Definition at line 89 of file mathops.h.

static av_always_inline int MULH ( int  a,
int  b 
) [static]

Definition at line 55 of file mathops.h.

Generated on Fri Oct 26 02:35:42 2012 for FFmpeg by  doxygen 1.5.8