All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
intfloat_readwrite.c File Reference

portable IEEE float/double read/write functions More...

#include <stdint.h>
#include "common.h"
#include "mathematics.h"
#include "intfloat_readwrite.h"

Go to the source code of this file.


double av_int2dbl (int64_t v)
float av_int2flt (int32_t v)
double av_ext2dbl (const AVExtFloat ext)
int64_t av_dbl2int (double d)
int32_t av_flt2int (float d)
AVExtFloat av_dbl2ext (double d)

Detailed Description

portable IEEE float/double read/write functions

Definition in file intfloat_readwrite.c.

Function Documentation

double av_int2dbl ( int64_t  v)

Definition at line 33 of file intfloat_readwrite.c.

float av_int2flt ( int32_t  v)

Definition at line 39 of file intfloat_readwrite.c.

double av_ext2dbl ( const AVExtFloat  ext)

Definition at line 45 of file intfloat_readwrite.c.

int64_t av_dbl2int ( double  d)

Definition at line 62 of file intfloat_readwrite.c.

int32_t av_flt2int ( float  d)

Definition at line 70 of file intfloat_readwrite.c.

AVExtFloat av_dbl2ext ( double  d)

Definition at line 78 of file intfloat_readwrite.c.