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 ac3_extract_exponents_c(), ac_get(), adjust_frame_pts_to_encoder_tb(), 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(), choose_tiling(), 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(), ebml_id_size(), encode_cblk(), encode_codeword(), encode_frame(), encode_init(), encode_packet(), encode_q_branch(), encode_q_branch2(), encode_slice(), encode_subband(), encode_subband_c0run(), encode_vlc_codeword(), 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_vp9_decode_block(), ff_wma_init(), find_optimal_param(), find_slice_quant(), 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(), initFilter(), jpeg2000_decode_packet(), klv_ber_length(), lag_read_prob_header(), long_term_filter(), lpc_encode_choose_datapath(), main(), merge_superframe(), mp_decode_init(), mpeg4_is_resync(), next_pow2(), opus_rc_tell(), opus_rc_tell_frac(), parse_setup_header(), pnm_decode_frame(), pps(), 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(), 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(), 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)