#include <math.h>
#include "config.h"
#include "attributes.h"
#include "intfloat.h"
Go to the source code of this file.
Defines | |
#define | exp2(x) exp((x) * 0.693147180559945) |
#define | exp2f(x) ((float)exp2(x)) |
#define | llrint(x) ((long long)rint(x)) |
#define | llrintf(x) ((long long)rint(x)) |
#define | log2(x) (log(x) * 1.44269504088896340736) |
#define | log2f(x) ((float)log2(x)) |
Functions | |
static av_always_inline float | cbrtf (float x) |
static av_always_inline av_const int | isinf (float x) |
static av_always_inline av_const int | isnan (float x) |
static double | rint (double x) |
static av_always_inline av_const long int | lrint (double x) |
static av_always_inline av_const long int | lrintf (float x) |
static av_always_inline av_const double | round (double x) |
static av_always_inline av_const float | roundf (float x) |
static av_always_inline av_const double | trunc (double x) |
static av_always_inline av_const float | truncf (float x) |
Definition in file libm.h.
#define exp2 | ( | x | ) | exp((x) * 0.693147180559945) |
Definition at line 45 of file libm.h.
Referenced by decode_init_static(), imc_decode_level_coefficients(), MPA_encode_init(), psy_3gpp_init(), and value_string().
#define exp2f | ( | x | ) | ((float)exp2(x)) |
Definition at line 50 of file libm.h.
Referenced by atrac3_decode_init(), calc_reduction_3gpp(), ff_amr_set_fixed_gain(), and sbr_dequant().
#define llrint | ( | x | ) | ((long long)rint(x)) |
Definition at line 75 of file libm.h.
Referenced by av_audio_convert(), avresample_set_matrix(), mpegaudio_tableinit(), and write_number().
#define llrintf | ( | x | ) | ((long long)rint(x)) |
#define log2 | ( | x | ) | (log(x) * 1.44269504088896340736) |
Definition at line 85 of file libm.h.
Referenced by draw_mandelbrot(), find_best_state(), print_report(), qscale2qlog(), and value_string().
#define log2f | ( | x | ) | ((float)log2(x)) |
Definition at line 90 of file libm.h.
Referenced by bit_allocation(), calc_pe_3gpp(), coef2maxsf(), coef2minsf(), imc_decode_level_coefficients(), sbr_make_f_derived(), sbr_make_f_master(), search_for_quantizers_anmr(), search_for_quantizers_faac(), search_for_quantizers_fast(), and search_for_quantizers_twoloop().
static av_always_inline float cbrtf | ( | float | x | ) | [static] |
Definition at line 37 of file libm.h.
Referenced by cbrt_tableinit(), decode_spectrum_and_dequant(), mpegaudio_tableinit(), and quantize_and_encode_band_cost_template().
static av_always_inline av_const int isinf | ( | float | x | ) | [static] |
Definition at line 54 of file libm.h.
Referenced by av_d2q(), eval_expr(), and get_exponent_dynamic().
static av_always_inline av_const int isnan | ( | float | x | ) | [static] |
Definition at line 64 of file libm.h.
Referenced by av_d2q(), av_expr_parse_and_eval(), config_props(), eval_expr(), filter_frame(), get_qscale(), init(), normalize_double(), and select_frame().
static av_always_inline av_const long int lrint | ( | double | x | ) | [static] |
Definition at line 101 of file libm.h.
Referenced by av_audio_convert(), avresample_set_matrix(), calc_input_response(), do_video_out(), encode_block(), precalc_coefs(), printval(), and set().
static av_always_inline av_const long int lrintf | ( | float | x | ) | [static] |
static double rint | ( | double | x | ) | [inline, static] |
Definition at line 94 of file libm.h.
Referenced by calculate_display_rect(), compute_sin_and_cos(), idct248_ref(), lrint(), lrintf(), and qscale2qlog().
static av_always_inline av_const double round | ( | double | x | ) | [static] |
Definition at line 115 of file libm.h.
Referenced by dequant(), fill_from_cache(), normalize_double(), and vp8_init().
static av_always_inline av_const float roundf | ( | float | x | ) | [static] |
static av_always_inline av_const double trunc | ( | double | x | ) | [static] |
static av_always_inline av_const float truncf | ( | float | x | ) | [static] |
Definition at line 136 of file libm.h.
Referenced by amrnb_decode_frame(), and amrwb_decode_frame().