Definition in file common.h.
Go to the source code of this file.
Functions | |
| static int | av_log2 (unsigned int v) |
| static int | av_log2_16bit (unsigned int v) |
| static int | mid_pred (int a, int b, int c) |
| static int | av_clip (int a, int amin, int amax) |
| clip a signed integer value into the amin-amax range | |
| static uint8_t | av_clip_uint8 (int a) |
| clip a signed integer value into the 0-255 range | |
| static int16_t | av_clip_int16 (int a) |
| clip a signed integer value into the -32768,32767 range | |
| int64_t | ff_gcd (int64_t a, int64_t b) |
| static int | ff_get_fourcc (const char *s) |
| converts fourcc string to int | |
| static uint64_t | read_time (void) |
Variables | |
| const uint8_t | ff_log2_tab [256] |
| static int av_log2 | ( | unsigned int | v | ) | [inline, static] |
Definition at line 101 of file common.h.
Referenced by AC3_encode_frame(), av_mod_i(), av_normalize_sf(), compute_scale_factors(), count_leading_zeros(), decode_q_branch(), decode_subframe(), decode_vol_header(), ebml_id_size(), encode_block(), encode_q_branch(), encode_q_branch2(), encode_subband_c0run(), ff_mpeg1_encode_init(), ff_mpeg4_encode_video_packet_header(), ff_wma_init(), find_optimal_param(), fps_umf2avr(), get_block_bits(), get_level_prefix(), get_max_p_order(), get_rac_count(), get_se_golomb(), get_tail(), get_ue_golomb(), get_ur_golomb(), get_ur_golomb_jpegls(), headroom(), init_cook_mlt(), init_mv_penalty_and_fcode(), log2_tab(), main(), mpeg4_decode_video_packet_header(), MPV_encode_init(), put_symbol(), qdm2_decode_init(), rv20_decode_picture_header(), set_ue_golomb(), shorten_decode_frame(), svq3_decode_slice_header(), theora_decode_tables(), unpack_coeffs(), and wma_decode_block().
| static int av_log2_16bit | ( | unsigned int | v | ) | [inline, static] |
Definition at line 119 of file common.h.
Referenced by av_log2_i(), dnxhd_calc_bits_thread(), dnxhd_encode_dc(), encode_dc(), ff_mjpeg_encode_dc(), i2f(), and quant().
| static int mid_pred | ( | int | a, | |
| int | b, | |||
| int | c | |||
| ) | [inline, static] |
Definition at line 134 of file common.h.
Referenced by add_median_prediction(), correlate(), correlate_slice_buffered(), decorrelate(), direct_search(), encode_q_branch(), 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(), predict(), 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().
| static int av_clip | ( | int | a, | |
| int | amin, | |||
| int | amax | |||
| ) | [inline, static] |
clip a signed integer value into the amin-amax range
| a | value to clip | |
| amin | minimum value of the clip range | |
| amax | maximum value of the clip range |
Definition at line 181 of file common.h.
Referenced by adpcm_compress_trellis(), adpcm_ct_expand_nibble(), adpcm_decode_frame(), adpcm_encode_frame(), adpcm_ima_compress_sample(), adpcm_ms_compress_sample(), adpcm_sbpro_expand_nibble(), adpcm_yamaha_compress_sample(), adpcm_yamaha_expand_nibble(), av_build_filter(), bit_allocation(), build_qp_table(), categorize(), chroma_4mv_motion(), decode_exponents(), decode_slice(), decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), direct_search(), draw_arrow(), draw_line(), encode_block(), encode_frame(), encode_mb_internal(), eval_expr(), ff_ac3_bit_alloc_calc_bap(), ff_er_add_slice(), ff_gmc_c(), ff_init_qscale_tab(), ff_mspel_motion(), ff_vbv_update(), filter_mb_mbaff_edgecv(), filter_mb_mbaff_edgev(), flac_encode_init(), g726_iterate(), get_dc(), get_qminmax(), get_sample_bits(), get_scale_factor(), gmc1_motion(), gmc_c(), h263_encode_picture_header(), h263_h_loop_filter_c(), h263_v_loop_filter_c(), h264_loop_filter_chroma_c(), h264_loop_filter_luma_c(), hpel_motion(), hScale_altivec_real(), implicit_weight_table(), init_dequantizer(), init_pass2(), loop_filter_c1(), loop_filter_l1(), ls_decode_line(), ls_encode_line(), MPV_motion(), quantize(), quantize_lpc_coefs(), ratecontrol_1pass(), sum_bits(), svq3_mc_dir(), svq3_mc_dir_part(), truespeech_synth(), update_qscale(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_luma(), vc1_pred_b_mv(), vp5_parse_coeff_models(), vp6_parse_coeff_models(), and yuv2packed2().
| static uint8_t av_clip_uint8 | ( | int | a | ) | [inline, static] |
clip a signed integer value into the 0-255 range
| a | value to clip |
Definition at line 193 of file common.h.
Referenced by encode_picture(), filter_mb_mbaff_edgecv(), filter_mb_mbaff_edgev(), globalInit(), h264_loop_filter_chroma_c(), h264_loop_filter_luma_c(), horizontal_filter(), ir2_decode_plane(), ir2_decode_plane_inter(), loop_filter_c1(), loop_filter_l1(), sws_scale(), tm2_apply_deltas(), tm2_decode_blocks(), vc1_mspel_mc(), vc1_parse_frame_header(), vc1_parse_frame_header_adv(), vertical_filter(), vp56_edge_filter(), vp6_filter_diag4(), vp6_filter_hv4(), x8_decode_intra_mb(), yuv2nv12XinC(), and yuv2yuvXinC().
| static int16_t av_clip_int16 | ( | int | a | ) | [inline, static] |
clip a signed integer value into the -32768,32767 range
| a | value to clip |
Definition at line 204 of file common.h.
Referenced by adpcm_ct_expand_nibble(), adpcm_decode_frame(), adpcm_ima_compress_sample(), adpcm_ima_expand_nibble(), adpcm_ms_compress_sample(), adpcm_ms_expand_nibble(), adpcm_yamaha_compress_sample(), adpcm_yamaha_expand_nibble(), adx_decode(), atrac3_decode_frame(), av_resample(), cinaudio_decode_frame(), convert(), do_apply_filter(), dpcm_decode_frame(), ff_mpa_synth_filter(), float_to_int(), ra144_decode_frame(), saturate_output_float(), sonic_decode_frame(), vmdaudio_decode_audio(), wma_decode_frame(), and xa_decode().
Definition at line 47 of file mathematics.c.
Referenced by av_reduce(), avcodec_string(), decode_main_header(), dump_stream_format(), ff_gcd(), ff_parse_specific_params(), h263_decode_picture_header(), main(), mov_read_ctts(), mov_read_stts(), MPV_encode_init(), and xvid_correct_framerate().
| static int ff_get_fourcc | ( | const char * | s | ) | [inline, static] |
converts fourcc string to int
Definition at line 216 of file common.h.
Referenced by avi_read_header(), decode_frame(), decode_vol_header(), encode_init(), ff_h263_decode_frame(), ff_mpeg4_decode_picture_header(), ff_xvid_encode_init(), h263_decode_picture_header(), mjpeg_decode_app(), mjpega_dump_header(), mpeg_decode_frame(), shorten_decode_frame(), tta_decode_init(), and tta_read_header().
| const uint8_t ff_log2_tab[256] |
Definition at line 163 of file integer.c.
Referenced by av_log2(), av_log2_16bit(), decode_frame(), and seq_decode_op1().
1.5.5