FFmpeg
Functions
intmath.c File Reference
#include "intmath.h"
#include "common.h"

Go to the source code of this file.

Functions

int av_log2 (unsigned v)
 
int av_log2_16bit (unsigned v)
 

Function Documentation

◆ av_log2()

int av_log2 ( unsigned  v)

Definition at line 26 of file intmath.c.

Referenced by abs_get_rice_param(), ac3_extract_exponents_c(), ac_get(), add_tb(), adjust_frame_pts_to_encoder_tb(), affine_merge_const6(), alac_entropy_coder(), arith2_get_number(), arith2_get_prob(), audio_open(), av_bprint_utf8(), av_ceil_log2_c(), av_normalize_sf(), av_q2intfloat(), buffer_pool_get(), cbs_av1_read_ns(), cbs_av1_read_subexp(), cbs_av1_write_leb128(), cbs_av1_write_ns(), cbs_av1_write_subexp(), cbs_av1_write_uvlc(), cbs_read_se_golomb(), cbs_read_ue_golomb(), cbs_vp9_assemble_fragment(), cbs_write_se_golomb(), cbs_write_ue_golomb(), cclm_get_params(), check_put_vvc_chroma(), check_put_vvc_chroma_uni(), check_put_vvc_luma(), check_put_vvc_luma_uni(), choose_tiling(), chroma_mc(), chroma_mc_bi(), chroma_mc_uni(), clv_decode_init(), compute_scale_factors(), config_input(), config_output(), config_props(), convert_coeffs(), count_hq_slice(), D(), decode_ac_coeffs(), decode_cdlms(), decode_channel(), decode_channel_residues(), decode_frame(), decode_init(), decode_lowdelay_slice(), decode_mclms(), decode_q_branch(), decode_spectrum_and_dequant(), decode_subframe(), decode_subframe_length(), decode_subframe_lpc(), decode_tones_frequency(), decode_uncompressed(), decode_vol_header(), delta_dlt(), derive_bdof_vx_vy(), ebml_id_size(), encode_cblk(), encode_frame(), encode_init(), encode_packet(), encode_q_branch(), encode_q_branch2(), encode_subband(), encode_subband_c0run(), encode_vlc_codeword(), ep_update_hist(), escape124_decode_frame(), estimate_vlc(), ff_celt_decode_frame(), ff_dca_core_dequantize(), ff_dca_downmix_to_stereo_fixed(), ff_dca_downmix_to_stereo_float(), ff_dcaadpcm_subband_analysis(), ff_eac3_parse_header(), ff_evc_derive_poc(), ff_g723_1_normalize_bits(), ff_g729_adaptive_gain_control(), ff_jpegls_init_state(), ff_log2_q15(), ff_mpeg4_decode_studio_slice_header(), ff_mpeg4_decode_video_packet_header(), ff_mpeg4_encode_video_packet_header(), ff_mpv_encode_init(), ff_pcm_default_packet_size(), ff_vp9_decode_block(), ff_vvc_ep_init_stat_coeff(), ff_vvc_nscale_derive(), ff_vvc_pred_flag(), ff_wma_init(), ffio_write_leb(), find_optimal_param(), fps_umf2avr(), gainc_loc_mode0(), generate_noise(), get_block_bits(), get_k(), get_level_prefix(), get_max_p_order(), get_rac_count(), get_se_golomb(), get_tail(), get_tilt_comp(), get_ue_golomb(), get_ue_golomb_long(), get_ur_golomb(), get_ur_golomb_jpegls(), headroom(), imdct_and_window(), init(), init_cavlc_level_tab(), init_lengths(), init_mdct_win(), init_mv_penalty_and_fcode(), init_quantization(), init_subblock_params(), initFilter(), intra_pred(), jpeg2000_decode_packet(), klv_ber_length(), lag_read_prob_header(), lmcs_derive_chroma_scale(), lmcs_derive_lut(), long_term_filter(), lpc_encode_choose_datapath(), luma_mc(), luma_mc_bi(), luma_mc_uni(), luma_prof_bi(), luma_prof_uni(), main(), merge_superframe(), mip_downsampling(), mp_decode_init(), mpeg4_is_resync(), mv_compression(), next_pow2(), opus_rc_tell(), opus_rc_tell_frac(), parse_setup_header(), pnm_decode_frame(), pps(), pred_dc_val(), pred_gpm_blk(), pred_planar(), prepare_intra_edge_params(), print_stats(), probe_codec(), prores_encode_picture(), put_symbol(), put_symbol_inline(), qdm2_decode_init(), qdmc_decode_init(), quantize_and_encode_band_cost_template(), read_diff_float_data(), read_header(), read_map(), ref_pic_lists_modification(), resolve_divisor(), rice_decompress(), rv20_decode_picture_header(), rv30_parse_slice_header(), scaling_derive(), set_output_frame(), set_ue_golomb(), set_ue_golomb_long(), shorten_decode_frame(), slice_segment_header(), softfloat_mul(), softfloat_reciprocal(), speedhq_init_static_data(), svq3_decode_slice_header(), truncated_binary_decode(), unpack_coeffs(), vaapi_encode_av1_init_sequence_params(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_init_gop_structure(), vaapi_encode_vp9_init_picture_params(), vc2_encode_init(), very_broken_op(), vpx_init(), wma_decode_block(), wmapro_window(), wp_log2(), write_index(), wv_get_value_float(), and yae_reset().

◆ av_log2_16bit()

int av_log2_16bit ( unsigned  v)