#include "libavutil/common.h"
#include "x86/mathops.h"
Go to the source code of this file.
Defines | |
#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 unsigned | UMULH (unsigned a, unsigned b) |
static av_const int | sign_extend (int val, unsigned bits) |
static av_const unsigned | zero_extend (unsigned val, unsigned bits) |
static av_const int sign_extend | ( | int | val, | |
unsigned | bits | |||
) | [inline, static] |
Definition at line 119 of file mathops.h.
Referenced by alac_decode_frame(), alac_linear_predictor(), get_sbits_long(), predictor_decompress_fir_adapt(), and xan_wc3_decode_frame().
static av_always_inline unsigned UMULH | ( | unsigned | a, | |
unsigned | b | |||
) | [static] |
static av_const unsigned zero_extend | ( | unsigned | val, | |
unsigned | bits | |||
) | [inline, static] |