FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | SoftFloat |
Macros | |
#define | MIN_EXP -149 |
#define | MAX_EXP 126 |
#define | ONE_BITS 29 |
Variables | |
static const SoftFloat | FLOAT_0 = { 0, MIN_EXP} |
0.0 More... | |
static const SoftFloat | FLOAT_05 = { 0x20000000, 0} |
0.5 More... | |
static const SoftFloat | FLOAT_1 = { 0x20000000, 1} |
1.0 More... | |
static const SoftFloat | FLOAT_EPSILON = { 0x29F16B12, -16} |
A small value. More... | |
static const SoftFloat | FLOAT_1584893192 = { 0x32B771ED, 1} |
1.584893192 (10^.2) More... | |
static const SoftFloat | FLOAT_100000 = { 0x30D40000, 17} |
100000 More... | |
static const SoftFloat | FLOAT_0999999 = { 0x3FFFFBCE, 0} |
0.999999 More... | |
static const SoftFloat | FLOAT_MIN = { 0x20000000, MIN_EXP} |
#define MIN_EXP -149 |
Definition at line 30 of file softfloat.h.
#define MAX_EXP 126 |
Definition at line 31 of file softfloat.h.
#define ONE_BITS 29 |
Definition at line 32 of file softfloat.h.
Convert a SoftFloat to a double precision float.
Definition at line 52 of file softfloat.h.
Referenced by main().
Definition at line 57 of file softfloat.h.
Referenced by av_add_sf(), av_int2sf(), and main().
Definition at line 79 of file softfloat.h.
Referenced by av_add_sf(), av_div_sf(), av_int2sf(), and av_mul_sf().
Definition at line 102 of file softfloat.h.
Referenced by main(), predict(), sbr_dequant(), sbr_env_estimate(), sbr_gain_calc(), sbr_hf_assemble(), and sbr_hf_inverse_filter().
b has to be normalized and not zero.
Definition at line 116 of file softfloat.h.
Referenced by main(), predict(), ps_tableinit(), sbr_dequant(), sbr_gain_calc(), and sbr_hf_inverse_filter().
Compares two SoftFloats.
Definition at line 138 of file softfloat.h.
Referenced by main().
Compares two SoftFloats.
Definition at line 150 of file softfloat.h.
Referenced by main(), and sbr_gain_calc().
Definition at line 162 of file softfloat.h.
Referenced by av_sub_sf(), main(), predict(), sbr_dequant(), sbr_env_estimate(), sbr_gain_calc(), sbr_hf_assemble(), and sbr_hf_inverse_filter().
Definition at line 173 of file softfloat.h.
Referenced by predict(), and sbr_hf_inverse_filter().
Converts a mantisse and exponent to a SoftFloat.
This converts a fixed point value v with frac_bits fractional bits to a SoftFloat.
Definition at line 185 of file softfloat.h.
Referenced by autocorr_calc(), main(), predict(), ps_tableinit(), sbr_env_estimate(), sbr_gain_calc(), and sbr_sum_square_c().
Converts a SoftFloat to an integer.
Rounding is to -inf.
Definition at line 198 of file softfloat.h.
Referenced by main().
|
static |
Rounding-to-nearest used.
Definition at line 207 of file softfloat.h.
Referenced by ps_tableinit(), and sbr_gain_calc().
Rounding-to-nearest used.
a | angle in units of (1ULL<<30)/M_PI radians |
s | pointer to where sine in units of (1<<30) is returned |
c | pointer to where cosine in units of (1<<30) is returned |
Definition at line 244 of file softfloat.h.
Referenced by main(), and ps_tableinit().
0.0
Definition at line 39 of file softfloat.h.
Referenced by av_div_sf(), av_mul_sf(), multiply(), sbr_env_estimate(), sbr_gain_calc(), and sbr_hf_inverse_filter().
|
static |
0.5
Definition at line 40 of file softfloat.h.
|
static |
1.0
Definition at line 41 of file softfloat.h.
Referenced by ps_tableinit(), read_diff_float_data(), sbr_dequant(), and sbr_gain_calc().
|
static |
|
static |
|
static |
|
static |
Definition at line 46 of file softfloat.h.
Referenced by sbr_gain_calc().