#include "libavutil/common.h"#include "config.h"Go to the source code of this file.
Defines | |
| #define | MUL64(a, b) ((int64_t)(a) * (int64_t)(b)) |
| #define | MULL(a, b, s) (MUL64(a, b) >> (s)) |
| #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))) |
| #define | PACK_2U8(a, b) (((b) << 8) | (a)) |
| #define | PACK_4U8(a, b, c, d) (((d) << 24) | ((c) << 16) | ((b) << 8) | (a)) |
| #define | PACK_2U16(a, b) (((b) << 16) | (a)) |
| #define | PACK_2S8(a, b) PACK_2U8((a)&255, (b)&255) |
| #define | PACK_4S8(a, b, c, d) PACK_4U8((a)&255, (b)&255, (c)&255, (d)&255) |
| #define | PACK_2S16(a, b) PACK_2U16((a)&0xffff, (b)&0xffff) |
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 74 of file mathops.h.
Referenced by apply_qmf(), idctRowCondDC(), idctSparseCol(), idctSparseColAdd(), and idctSparseColPut().
| #define mid_pred mid_pred |
Definition at line 88 of file mathops.h.
Referenced by add_hfyu_median_prediction_c(), add_lag_median_prediction(), 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 45 of file mathops.h.
Referenced by decode_var_block_data(), l1_unscale(), MULH(), parcor_to_lpc(), and revert_channel_correlation().
| #define MULL | ( | a, | |||
| b, | |||||
| s | ) | (MUL64(a, b) >> (s)) |
| #define NEG_USR32 | ( | a, | |||
| s | ) | (((uint32_t)(a))>>(32-(s))) |
Definition at line 144 of file mathops.h.
Referenced by decode_block(), decode_block_progressive(), dv_decode_ac(), and get_xbits().
| #define PACK_2S16 | ( | a, | |||
| b | ) | PACK_2U16((a)&0xffff, (b)&0xffff) |
| 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 117 of file mathops.h.
Referenced by alac_decode_frame(), alac_linear_predictor(), get_sbits_long(), mpeg1_encode_motion(), 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] |
1.5.8