MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_float2int

Function av_float2int

libavutil/intfloat.h:50–55  ·  view source on GitHub ↗

* Reinterpret a float as a 32-bit integer. */

Source from the content-addressed store, hash-verified

48 * Reinterpret a float as a 32-bit integer.
49 */
50static av_always_inline uint32_t av_float2int(float f)
51{
52 union av_intfloat32 v;
53 v.f = f;
54 return v.i;
55}
56
57/**
58 * Reinterpret a 64-bit integer as a double.

Callers 15

half2floatFunction · 0.85
avpriv_isinffFunction · 0.85
avpriv_isnanfFunction · 0.85
avpriv_isfinitefFunction · 0.85
dwa_uncompressFunction · 0.85
decode_blockFunction · 0.85
decode_initFunction · 0.85
pnm_encode_frameFunction · 0.85
decode_coeffsFunction · 0.85
init_idct_shaderFunction · 0.85
encode_float32_remapFunction · 0.85
init_idct_shaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected