#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 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) |
Definition at line 53 of file libm.h.
Referenced by search_for_quantizers_anmr(), search_for_quantizers_faac(), search_for_quantizers_fast(), and search_for_quantizers_twoloop().
#define log2f | ( | x | ) | ((float)log2(x)) |
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(), and encode_block().
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_find_stream_info(), av_resample(), avi_write_header(), build_basis(), build_filter(), do_audio_out(), do_video_out(), ff_faandct(), ff_faandct248(), ff_iir_filter(), ff_xvid_rate_control_init(), init_qexp(), make_bands(), p8idct(), print_fps(), print_report(), quantize_lpc_coefs(), saturate_output_float(), sbr_make_f_derived(), sbr_make_f_master(), and wma_decode_frame().
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 float truncf | ( | float | x | ) | [static] |