#include <math.h>
#include "config.h"
#include "attributes.h"
Go to the source code of this file.
Defines | |
#define | cbrtf(x) powf(x, 1.0/3.0) |
#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 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 cbrtf | ( | x | ) | powf(x, 1.0/3.0) |
Definition at line 33 of file libm.h.
Referenced by cbrt_tableinit(), decode_spectrum_and_dequant(), mpegaudio_tableinit(), and quantize_and_encode_band_cost_template().
#define exp2f | ( | x | ) | ((float)exp2(x)) |
#define llrint | ( | x | ) | ((long long)rint(x)) |
Definition at line 48 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) |
#define log2f | ( | x | ) | ((float)log2(x)) |
Definition at line 63 of file libm.h.
Referenced by calc_pe_3gpp(), coef2maxsf(), coef2minsf(), 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 av_const long int lrint | ( | double | x | ) | [static] |
Definition at line 67 of file libm.h.
Referenced by av_audio_convert(), avresample_set_matrix(), calc_input_response(), do_video_out(), encode_block(), PrecalcCoefs(), printval(), and set().
static av_always_inline av_const long int lrintf | ( | float | x | ) | [static] |
Definition at line 74 of file libm.h.
Referenced by av_audio_convert(), av_resample(), avformat_find_stream_info(), avi_write_header(), biquad_init_coeffs(), build_basis(), build_filter(), config(), do_video_out(), draw_mandelbrot(), ff_adx_calculate_coeffs(), ff_faandct(), ff_faandct248(), ff_xvid_rate_control_init(), float_to_fixed24_c(), float_to_int16_one(), init_qexp(), make_bands(), p8idct(), parse_ffconfig(), print_fps(), print_report(), quantize_lpc_coefs(), resample(), sbr_make_f_derived(), sbr_make_f_master(), and swri_rematrix_init().
static av_always_inline av_const double round | ( | double | x | ) | [static] |
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 102 of file libm.h.
Referenced by amrnb_decode_frame(), and amrwb_decode_frame().