Replacements for frequently missing libm functions. More...
#include <math.h>
#include "config.h"
#include "attributes.h"
#include "intfloat.h"
#include "mathematics.h"
Go to the source code of this file.
Replacements for frequently missing libm functions.
Definition in file libm.h.
Definition at line 40 of file libm.h.
Referenced by calc_bark(), and ps_tableinit().
Definition at line 45 of file libm.h.
Referenced by compute_sat_hue_metrics(), and ps_tableinit().
Definition at line 50 of file libm.h.
Referenced by ac3_parse_header(), ac3_tables_init(), calc_input_response(), cbrtf(), decode_block(), decode_init(), decode_ppc(), ff_atrac_init_gain_compensation(), find_form_factor(), imc_decode_level_coefficients_raw(), init_pow2table(), make_bands(), and search_for_quantizers_twoloop().
Definition at line 78 of file libm.h.
Referenced by config_input(), lsf2lsp(), and ps_tableinit().
Definition at line 283 of file libm.h.
Referenced by calculate_gamma(), config_input(), decode_init(), load_data(), and synth_block_fcb_acb().
Definition at line 288 of file libm.h.
Referenced by celt_denormalize(), decode_init_static(), encode_init(), ff_exp10(), imc_decode_level_coefficients(), init(), initFilter(), MPA_encode_init(), nelly_decode_block(), process_anticollapse(), and psy_3gpp_init().
Definition at line 293 of file libm.h.
Referenced by calc_reduction_3gpp(), ff_atrac3p_init_wave_synth(), ff_exp10f(), process_anticollapse(), and wma_lsp_to_curve_init().
Definition at line 317 of file libm.h.
Referenced by eval_expr(), get_exponent_dynamic(), and hypot().
Definition at line 340 of file libm.h.
Referenced by audio_decode_frame(), av_d2q(), av_expr_parse_and_eval(), clip_with_log(), compute_target_delay(), config_input(), config_props(), double2int64str(), eval_expr(), event_loop(), filter_frame(), func_pts(), get_qscale(), get_video_frame(), isnan_vec(), matroska_parse_tracks(), mov_read_tkhd(), normalize_double(), normalize_xy(), sdl_audio_callback(), select_frame(), set_volume(), sync_clock_to_slave(), synchronize_audio(), thp_probe(), update_alpha(), update_context(), video_refresh(), and vp_duration().
Definition at line 359 of file libm.h.
Referenced by aac_encode_frame(), apply_window_and_mdct(), and ff_aac_search_for_tns().
Definition at line 389 of file libm.h.
Referenced by get_float().
Definition at line 394 of file libm.h.
Referenced by av_audio_convert(), avutil_version(), build_filter(), ff_audio_mix_set_matrix(), ff_rfps_add_frame(), ff_rint64_clip(), func_pts(), mpegaudio_tableinit(), set(), update_stat(), and write_number().
Definition at line 399 of file libm.h.
Referenced by av_audio_convert().
Definition at line 404 of file libm.h.
Referenced by calculate_visual_weight(), config_input(), config_output(), decode_ppc(), draw_mandelbrot(), encode_block(), encode_init(), filter_frame(), find_best_state(), midi(), qscale2qlog(), and value_string().
Definition at line 409 of file libm.h.
Referenced by bit_allocation(), calc_pe_3gpp(), coef2maxsf(), coef2minsf(), imc_decode_level_coefficients(), imc_decode_level_coefficients_raw(), sbr_make_f_derived(), sbr_make_f_master(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), and set_special_band_scalefactors().
Definition at line 414 of file libm.h.
Referenced by ff_amr_set_fixed_gain(), and ff_sipr_decode_frame_16k().
Definition at line 419 of file libm.h.
Referenced by config_input(), draw_mandelbrot(), ff_sine_window_init(), frand(), and ps_tableinit().
Definition at line 61 of file libm.h.
Referenced by calculate_gamma(), decode_spectrum_and_dequant(), and quantize_and_encode_band_cost_template().
Definition at line 68 of file libm.h.
Referenced by amplify_frame(), and perform_compression().
erf function Algorithm taken from the Boost project, source: http://www.boost.org/doc/libs/1_46_1/boost/math/special_functions/erf.hpp Use, modification and distribution are subject to the Boost Software License, Version 1.0 (see notice below).
Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition at line 121 of file libm.h.
Referenced by bound(), and ff_aac_adjust_common_pred().
Definition at line 366 of file libm.h.
Referenced by av_display_rotation_get(), compute_sat_hue_metrics(), config_output(), config_props(), draw_curves(), eval_expr(), freq_gain(), get_natural_factor(), mov_read_tkhd(), ps_tableinit(), ring2_test(), and video_audio_display().
Definition at line 444 of file libm.h.
Referenced by apply_dependent_coupling_fixed(), apply_independent_coupling_fixed(), autocorr_calc(), combine_residual_frame(), dequant(), encode_init(), ff_merge_channel_layouts(), get_rotation(), hevc_idct_32x32_msa(), imdct_half_32(), imdct_half_64(), mov_write_sidx_tags(), noise_scale(), ps_tableinit(), sbr_hf_apply_noise(), sbr_hf_assemble(), sbr_hf_inverse_filter(), sbr_sum_square_c(), scale_coefs(), subband_scale(), and vector_fmul_window_scaled_c().
Definition at line 451 of file libm.h.
Referenced by search_for_pns(), set_special_band_scalefactors(), and xvid_correct_framerate().
Definition at line 458 of file libm.h.
Referenced by eval_expr(), and fwht_1d().
Definition at line 465 of file libm.h.
Referenced by amrnb_decode_frame(), and amrwb_decode_frame().