#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)) |
#define | mid_pred mid_pred |
#define | COPY3_IF_LT(x, y, a, b, c, d) |
#define | NEG_SSR32(a, s) ((( int32_t)(a))>>(32-(s))) |
#define | NEG_USR32(a, s) (((uint32_t)(a))>>(32-(s))) |
Functions | |
static av_always_inline int | MULH (int a, int b) |
static av_always_inline unsigned | UMULH (unsigned a, unsigned b) |
static av_const int | mid_pred (int a, int b, int c) |
static av_const int | sign_extend (int val, unsigned bits) |
static av_const unsigned | zero_extend (unsigned val, unsigned bits) |
#define COPY3_IF_LT | ( | x, | |||
y, | |||||
a, | |||||
b, | |||||
c, | |||||
d | ) |
#define MAC16 | ( | rt, | |||
ra, | |||||
rb | ) | rt += (ra) * (rb) |
Definition at line 76 of file mathops.h.
Referenced by idctRowCondDC(), idctSparseCol(), idctSparseColAdd(), and idctSparseColPut().
#define mid_pred mid_pred |
Definition at line 90 of file mathops.h.
Referenced by add_hfyu_median_prediction_c(), correlate_slice_buffered(), direct_search(), ff_estimate_motion_b(), ff_estimate_p_frame_motion(), ff_pre_estimate_p_frame_motion(), h263_mv4_search(), h263_pred_motion(), interlaced_search(), loco_predict(), ls_decode_line(), ls_encode_line(), motion_search(), mv_pred_median(), pred_motion(), pred_mv(), pred_spatial_direct_motion(), predict(), rv34_pred_b_vector(), rv34_pred_mv(), rv34_pred_mv_rv3(), sub_hfyu_median_prediction_c(), sub_hfyu_median_prediction_mmx2(), svq1_decode_motion_vector(), vc1_mc_4mv_chroma(), vc1_pred_b_mv(), vc1_pred_mv(), and wmv2_pred_motion().
#define MUL64 | ( | a, | |||
b | ) | ((int64_t)(a) * (int64_t)(b)) |
Definition at line 63 of file mathops.h.
Referenced by decode_var_block_data(), imdct36(), l1_unscale(), parcor_to_lpc(), and revert_channel_correlation().
#define MULL | ( | a, | |||
b, | |||||
s | ) | (((int64_t)(a) * (int64_t)(b)) >> (s)) |
Definition at line 44 of file mathops.h.
Referenced by compute_stereo(), decode_init(), imdct36(), and lsp2poly().
#define NEG_USR32 | ( | a, | |||
s | ) | (((uint32_t)(a))>>(32-(s))) |
Definition at line 146 of file mathops.h.
Referenced by decode_block(), decode_block_progressive(), dv_decode_ac(), and get_xbits().
static av_const int mid_pred | ( | int | a, | |
int | b, | |||
int | c | |||
) | [inline, static] |
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] |