intfloat.h File Reference
#include <stdint.h>
#include "attributes.h"
Include dependency graph for intfloat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  av_intfloat32
 
union  av_intfloat64
 

Functions

static float av_int2float (uint32_t i)
 Reinterpret a 32-bit integer as a float. More...
 
static uint32_t av_float2int (float f)
 Reinterpret a float as a 32-bit integer. More...
 
static double av_int2double (uint64_t i)
 Reinterpret a 64-bit integer as a double. More...
 
static uint64_t av_double2int (double f)
 Reinterpret a double as a 64-bit integer. More...
 

Function Documentation

static uint64_t av_double2int ( double  f)
inlinestatic
static uint32_t av_float2int ( float  f)
inlinestatic

Reinterpret a float as a 32-bit integer.

Definition at line 50 of file intfloat.h.

Referenced by decode_coeffs(), ircam_write_header(), isinf(), and isnan().

static float av_int2float ( uint32_t  i)
inlinestatic

Reinterpret a 32-bit integer as a float.

Definition at line 40 of file intfloat.h.

Referenced by decode_block(), decode_frame(), ebml_read_float(), ff_mss12_decode_init(), fourxm_read_header(), ircam_read_header(), read_header(), and thp_read_header().