libavcodec/mathops.h File Reference
#include "libavutil/common.h"
Go to the source code of this file.
Defines
#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))
Functions
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,
ra,
rb
)
rt += (ra) * (rb)
#define MAC64
(
d,
a,
b
)
((d) += MUL64(a, b))
#define mid_pred mid_pred
#define MLS16
(
rt,
ra,
rb
)
((rt) -= (ra) * (rb))
#define MLS64
(
d,
a,
b
)
((d) -= MUL64(a, b))
#define MUL16
(
ra,
rb
)
((ra) * (rb))
#define MUL64
(
a,
b
)
((int64_t)(a) * (int64_t)(b))
#define MULL
(
a,
b,
s
)
(((int64_t)(a) * (int64_t)(b)) >> (s))
Function Documentation
static av_const int mid_pred
(
int
a,
int
b,
int
c
)
[inline, static]
static av_always_inline int MULH
(
int
a,
int
b
)
[static]
Generated on Fri Oct 26 02:35:42 2012 for FFmpeg by
doxygen 1.5.8