|
FFmpeg
|
#include <stdint.h>#include "libavutil/attributes_internal.h"#include "libavutil/common.h"#include "config.h"Go to the source code of this file.
Macros | |
| #define | MAX_NEG_CROP 1024 |
| #define | MUL64(a, b) |
| #define | MULL(a, b, s) |
| #define | MAC64(d, a, b) |
| #define | MLS64(d, a, b) |
| #define | MAC16(rt, ra, rb) |
| #define | MUL16(ra, rb) |
| #define | MLS16(rt, ra, rb) |
| #define | mid_pred median3_c |
| #define | median4 median4 |
| #define | FF_SIGNBIT(x) |
| #define | COPY3_IF_LT(x, y, a, b, c, d) |
| #define | MASK_ABS(mask, level) |
| #define | NEG_SSR32(a, s) |
| #define | NEG_USR32(a, s) |
| #define | PACK_2U8(a, b) |
| #define | PACK_4U8(a, b, c, d) |
| #define | PACK_2U16(a, b) |
| #define | PACK_2S8(a, b) |
| #define | PACK_4S8(a, b, c, d) |
| #define | PACK_2S16(a, b) |
| #define | FASTDIV(a, b) |
| #define | ff_sqrt ff_sqrt |
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 | median3_c (int a, int b, int c) |
| static av_const int | median4 (int a, int b, int c, int d) |
| static av_const int | sign_extend (int val, unsigned bits) |
| static av_const int64_t | sign_extend64 (int64_t val, unsigned bits) |
| static av_const unsigned | zero_extend (unsigned val, unsigned bits) |
| static av_const unsigned int | ff_sqrt (unsigned int a) |
| static av_const float | ff_sqrf (float a) |
| static int8_t | ff_u8_to_s8 (uint8_t a) |
Variables | |
| const uint32_t | ff_inverse [257] |
| const uint8_t | ff_log2_run [41] |
| EXTERN const uint32_t | ff_square_tab [512] |
| const uint8_t | ff_sqrt_tab [256] |
| EXTERN const uint8_t | ff_crop_tab [256+2 *MAX_NEG_CROP] |
| const uint8_t | ff_zigzag_direct [64] |
| const uint8_t | ff_zigzag_scan [16+1] |
| #define MAX_NEG_CROP 1024 |
Definition at line 31 of file mathops.h.
Referenced by ff_put_vp8_epel16_h4_mmi(), ff_put_vp8_epel16_h4v4_mmi(), ff_put_vp8_epel16_h4v6_mmi(), ff_put_vp8_epel16_h6_mmi(), ff_put_vp8_epel16_h6v4_mmi(), ff_put_vp8_epel16_h6v6_mmi(), ff_put_vp8_epel16_v4_mmi(), ff_put_vp8_epel16_v6_mmi(), ff_put_vp8_epel4_h4_mmi(), ff_put_vp8_epel4_h4v4_mmi(), ff_put_vp8_epel4_h4v6_mmi(), ff_put_vp8_epel4_h6_mmi(), ff_put_vp8_epel4_h6v4_mmi(), ff_put_vp8_epel4_h6v6_mmi(), ff_put_vp8_epel4_v4_mmi(), ff_put_vp8_epel4_v6_mmi(), ff_put_vp8_epel8_h4_mmi(), ff_put_vp8_epel8_h4v4_mmi(), ff_put_vp8_epel8_h4v6_mmi(), ff_put_vp8_epel8_h6_mmi(), ff_put_vp8_epel8_h6v4_mmi(), ff_put_vp8_epel8_h6v6_mmi(), ff_put_vp8_epel8_v4_mmi(), ff_put_vp8_epel8_v6_mmi(), filter_common(), filter_mbedge(), filter_mbedge(), h_block_filter(), intra_pred_plane(), mp_yuv_to_rgb(), parse_ifo_palette(), parse_palette_segment(), pred16x16_tm_vp8_c(), pred4x4_tm_vp8_c(), pred8x8_tm_vp8_c(), rv30_weak_loop_filter(), rv40_weak_loop_filter(), v_block_filter(), vp8_filter_common_is4tap(), vp8_filter_common_isnot4tap(), wmv2_mspel8_h_lowpass(), wmv2_mspel8_v_lowpass(), and yuv_a_to_rgba().
Definition at line 56 of file mathops.h.
Referenced by apply_filter(), aptx_bin_search(), aptx_invert_quantization(), aptx_prediction_filtering(), aptx_qmf_convolution(), aptx_quantize_difference(), calc_corr(), calc_prediction_gain(), decode_var_block_data(), l1_unscale(), MULH(), parcor_to_lpc(), and revert_channel_correlation().
Definition at line 60 of file mathops.h.
Referenced by long_term_filter(), lsp2poly(), and silk_is_lpc_stable().
| #define MAC16 | ( | rt, | |
| ra, | |||
| rb ) |
| #define MUL16 | ( | ra, | |
| rb ) |
Definition at line 90 of file mathops.h.
Referenced by celt_cos(), ff_dot_product(), g722_apply_qmf(), pRNG(), and synth_frame().
| #define mid_pred median3_c |
Definition at line 115 of file mathops.h.
Referenced by add_hfyu_median_pred_int16_c(), add_lag_median_prediction(), add_median_pred_c(), correlate(), correlate_slice_buffered(), decorrelate(), direct_search(), encode_q_branch(), epic_decode_component_pred(), estimate_motion_b(), ff_estimate_p_frame_motion(), ff_h263_pred_motion(), ff_pre_estimate_p_frame_motion(), ff_vc1_pred_b_mv(), ff_vc1_pred_mv(), ff_vc1_pred_mv_intfr(), filter_frame(), get_chroma_mv(), get_cmy_scale(), get_luma_mv(), get_packet_size(), get_rgb_scale(), h263_mv4_search(), interlaced_search(), lag_pred_line_yuy2(), loco_predict(), ls_decode_line(), ls_encode_line(), magicyuv_median_pred16(), mobiclip_decode(), motion_search(), mv_pred_median(), mvi_predict(), pix_median_abs16_c(), pix_median_abs8_c(), pred_motion(), pred_mv(), pred_mv(), pred_pskip_motion(), pred_spatial_direct_motion(), predict_TMPL(), restore_median_planar(), restore_median_planar_il(), rv34_pred_b_vector(), rv34_pred_mv(), rv34_pred_mv_rv3(), search_mv(), sub_hfyu_median_pred_int16_c(), sub_median_pred_c(), svq1_decode_motion_vector(), svq3_pred_motion(), and wmv2_pred_motion().
| #define median4 median4 |
Definition at line 119 of file mathops.h.
Referenced by get_chroma_mv(), and get_luma_mv().
| #define FF_SIGNBIT | ( | x | ) |
Definition at line 132 of file mathops.h.
Referenced by aptx_prediction_filtering(), dnxhd_10bit_dct_quantize(), inter_predict(), mv_pred_direct(), and scale_mv().
Definition at line 169 of file mathops.h.
Referenced by dnxhd_init_vlc(), and encode_block().
Definition at line 180 of file mathops.h.
Referenced by decode_block(), decode_block_progressive(), dnxhd_decode_dct_block(), dv_decode_ac(), and get_xbits().
Definition at line 216 of file mathops.h.
Referenced by adapt_prob(), decode_blockcodes(), ff_msmpeg4_pred_dc(), ff_sqrt(), get_dc(), mpeg4_decode_block(), mpeg4_encode_mb(), mpeg4_get_level_dc(), unpack_bitstream(), and vorbis_residue_decode_internal().
| #define ff_sqrt ff_sqrt |
Definition at line 220 of file mathops.h.
Referenced by calc_cpl_coord(), dpcm_predict(), encode_q_branch(), ff_estimate_p_frame_motion(), ff_opus_parse_extradata(), ff_opus_rc_dec_uint_tri(), ff_t_sqrt(), fixed_sqrt(), get_visual_weight(), leastsquares(), main(), and square_root().
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 135 of file mathops.h.
Referenced by adpcm_circus_expand_nibble(), adpcm_decode_frame(), adpcm_ima_cunning_expand_nibble(), alac_linear_predictor(), ambisonics_config(), aptx_unpack_codeword(), aptxhd_unpack_codeword(), check_add_8x8basis(), check_lpc(), check_lpc33(), checkasm_check_inner_add_yblock(), cinaudio_decode_frame(), decode_0cpy(), decode_adpcm_ima_hvqm2(), decode_adpcm_ima_hvqm4(), decode_band_numwavs(), decode_block(), decode_channel_sf_idx(), decode_huff(), decode_inter(), decode_inter_block(), decode_intra_block(), decode_plane(), decode_qu_spectra(), decode_tones_amplitude(), decode_tones_frequency(), dpcm_decode_frame(), ff_adpcm_argo_expand_nibble(), ff_h263_decode_motion(), ff_h263_encode_motion(), flic_decode_frame_15_16BPP(), flic_decode_frame_1BPP(), flic_decode_frame_24BPP(), flic_decode_frame_8BPP(), fold(), generate_joint_tables(), get_sbits_long(), get_xbits_le(), init_h263_test(), libopus_decode_init(), lpc_prediction(), mix_presentation_obu(), mpc8_decode_frame(), mpeg_decode_motion(), on2avc_decode_pairs(), on2avc_decode_quads(), paf_audio_decode(), parameter_block_obu(), peek_signed_nz(), qoa_decode_frame(), read_coeffs_coarse(), read_coeffs_fine(), read_signed_nz(), scalable_channel_layout_config(), scale_coefs(), scale_coefs_q2(), svq1_decode_motion_vector(), test_decorrelate_sf(), test_rv34_idct_add(), tscc2_decode_mb(), tta_decode_frame(), xa_decode(), and xan_wc3_decode_frame().
Definition at line 144 of file mathops.h.
Referenced by check_lpc33(), and get_sbits64().
|
inlinestatic |
Definition at line 153 of file mathops.h.
Referenced by get_xbits_le().
|
inlinestatic |
Definition at line 242 of file mathops.h.
Referenced by search_for_quantizers_twoloop().
|
inlinestatic |
Definition at line 247 of file mathops.h.
Referenced by color_transform_delta().
|
extern |
Definition at line 66 of file mathtables.c.
Referenced by dct_quantize_TMPL(), ff_msmpeg4_pred_dc(), and setup_classifs().
|
extern |
Definition at line 155 of file mathtables.c.
Referenced by decode_header(), decode_line_TMPL(), encode_line_TMPL(), ls_decode_line(), ls_encode_line(), and ls_encode_run().
| EXTERN const uint32_t ff_square_tab[512] |
Definition at line 35 of file mathops.h.
Referenced by pix_norm1(), pix_norm1_c(), sse(), sse16_c(), sse4_c(), and sse8_c().
|
extern |
Definition at line 102 of file mathtables.c.
Referenced by ff_sqrt().
| EXTERN const uint8_t ff_crop_tab[256+2 *MAX_NEG_CROP] |
|
extern |
Definition at line 137 of file mathtables.c.
Referenced by ac_uncompress(), add_coefficients(), apv_entropy_decode_block(), calc_dequant(), compute_quant_matrix(), compute_quant_matrix(), decode_block(), decode_block(), decode_block_intra(), decode_dct(), decode_gop_header(), decode_i_block(), decode_init(), decode_init(), decode_init(), decode_scaling_list(), decode_studio_vop_header(), decode_vol_header(), decode_vop_header(), dnxhd_decode_header(), dnxhd_init_qmat(), dv_init_enc_block(), dvvideo_decode_init(), encode_picture(), ff_apv_entropy_decode_block(), ff_cavs_init(), ff_dxva2_h264_fill_scaling_lists(), ff_dxva2_mpeg2_fill_quantization_matrices(), ff_mpv_idct_init(), ff_rtjpeg_init(), ff_vp56_init_context(), ff_write_quant_matrix(), fic_decode_block(), hq_decode_block(), init_idct(), init_scan_tables(), ipu_decode_frame(), jpg_init(), lead_decode_init(), load_matrix(), mpeg_decode_picture_coding_extension(), mss4_decode_dct(), read_quant_matrix_ext(), set_pps(), set_sps(), speedhq_decode_init(), test_apv_entropy_decode_block(), tgq_decode_block(), tqi_decode_mb(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_start_frame(), and vp3_decode_init().
|
extern |
Definition at line 148 of file mathtables.c.
Referenced by decode_mb_coeffs(), decode_scaling_list(), ff_dxva2_h264_fill_scaling_lists(), init_scan_tables(), set_pps(), set_sps(), svq3_decode_block(), tscc2_decode_mb(), vp78_decode_init(), vp7_decode_frame_header(), and vp8_decode_block_coeffs_internal().