#include <math.h>
#include "config.h"
#include "attributes.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 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 exp2f | ( | x | ) | ((float)exp2(x)) |
#define llrint | ( | x | ) | ((long long)rint(x)) |
Definition at line 43 of file libm.h.
Referenced by av_audio_convert(), av_set_number2(), and mpegaudio_tableinit().
#define llrintf | ( | x | ) | ((long long)rint(x)) |
#define log2 | ( | x | ) | (log(x) * 1.44269504088896340736) |
#define log2f | ( | x | ) | ((float)log2(x)) |
Definition at line 58 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 62 of file libm.h.
Referenced by av_audio_convert(), calc_input_response(), encode_block(), PrecalcCoefs(), and printval().
static av_always_inline av_const long int lrintf | ( | float | x | ) | [static] |
Definition at line 69 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_audio_out(), do_video_out(), 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(), saturate_output_float(), sbr_make_f_derived(), and sbr_make_f_master().
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] |