Home
last modified time | relevance | path

Searched refs:SoftFloat_IEEE754 (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavutil/
Dsoftfloat_ieee754.h29 typedef struct SoftFloat_IEEE754 { struct
33 } SoftFloat_IEEE754; typedef
35 static const SoftFloat_IEEE754 FLOAT_0 = {0, 0, -126};
36 static const SoftFloat_IEEE754 FLOAT_1 = {0, 0, 0};
41 static inline SoftFloat_IEEE754 av_normalize_sf_ieee754(SoftFloat_IEEE754 sf) { in av_normalize_sf_ieee754()
53 static inline SoftFloat_IEEE754 av_int2sf_ieee754(int64_t n, int e) { in av_int2sf_ieee754()
60 return av_normalize_sf_ieee754((SoftFloat_IEEE754) {sign, n << MANT_BITS, 0 + e}); in av_int2sf_ieee754()
66 static inline SoftFloat_IEEE754 av_bits2sf_ieee754(uint32_t n) { in av_bits2sf_ieee754()
67 …return ((SoftFloat_IEEE754) { (n & 0x80000000UL) >> 31, (n & 0x7FFFFFUL), (int8_t)((n & 0x7F800000… in av_bits2sf_ieee754()
72 static inline int av_sf2int_ieee754(SoftFloat_IEEE754 a) { in av_sf2int_ieee754()
[all …]
/third_party/ffmpeg/libavcodec/
Dalsdec.c233 SoftFloat_IEEE754 *acf; ///< contains common multiplier for all channels
1397 static SoftFloat_IEEE754 multiply(SoftFloat_IEEE754 a, SoftFloat_IEEE754 b) { in multiply()
1459 SoftFloat_IEEE754 *acf = ctx->acf; in read_diff_float_data()
1467 SoftFloat_IEEE754 scale = av_int2sf_ieee754(0x1u, 23); in read_diff_float_data()
1605 SoftFloat_IEEE754 pcm_sf = av_int2sf_ieee754(ctx->raw_samples[c][i], 0); in read_diff_float_data()