FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | SoftFloat |
Macros | |
#define | MIN_EXP -126 |
#define | MAX_EXP 126 |
#define | ONE_BITS 29 |
Functions | |
static av_const SoftFloat | av_normalize_sf (SoftFloat a) |
static av_const SoftFloat | av_normalize1_sf (SoftFloat a) |
static av_const SoftFloat | av_mul_sf (SoftFloat a, SoftFloat b) |
static av_const SoftFloat | av_div_sf (SoftFloat a, SoftFloat b) |
b has to be normalized and not zero. More... | |
static av_const int | av_cmp_sf (SoftFloat a, SoftFloat b) |
static av_const int | av_gt_sf (SoftFloat a, SoftFloat b) |
static av_const SoftFloat | av_add_sf (SoftFloat a, SoftFloat b) |
static av_const SoftFloat | av_sub_sf (SoftFloat a, SoftFloat b) |
static av_const SoftFloat | av_int2sf (int v, int frac_bits) |
Converts a mantisse and exponent to a SoftFloat. More... | |
static av_const int | av_sf2int (SoftFloat v, int frac_bits) |
Rounding is to -inf. More... | |
static av_always_inline SoftFloat | av_sqrt_sf (SoftFloat val) |
Rounding-to-nearest used. More... | |
void | av_sincos_sf (int a, int *s, int *c) |
Rounding-to-nearest used. More... | |
#define MIN_EXP -126 |
Definition at line 30 of file softfloat.h.
Referenced by av_normalize_sf().
#define MAX_EXP 126 |
Definition at line 31 of file softfloat.h.
#define ONE_BITS 29 |
Definition at line 32 of file softfloat.h.
Referenced by av_div_sf(), av_int2sf(), av_mul_sf(), av_normalize_sf(), av_sf2double(), and av_sf2int().
Definition at line 39 of file softfloat.h.
Referenced by av_add_sf(), av_int2sf(), and main().
Definition at line 61 of file softfloat.h.
Referenced by av_add_sf(), av_div_sf(), and av_mul_sf().
Definition at line 83 of file softfloat.h.
Referenced by main().
b has to be normalized and not zero.
Definition at line 94 of file softfloat.h.
Referenced by main().
Definition at line 100 of file softfloat.h.
Definition at line 106 of file softfloat.h.
Definition at line 113 of file softfloat.h.
Referenced by av_sub_sf(), and main().
Definition at line 121 of file softfloat.h.
Converts a mantisse and exponent to a SoftFloat.
Definition at line 131 of file softfloat.h.
Referenced by main().
|
static |
Rounding-to-nearest used.
Definition at line 147 of file softfloat.h.
void av_sincos_sf | ( | int | a, |
int * | s, | ||
int * | c | ||
) |
Rounding-to-nearest used.
Definition at line 40 of file softfloat.c.