1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libavutil/intfloat_readwrite.h
Michael Niedermayer f11288dab4 AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
Originally committed as revision 4924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 15:21:19 +00:00

20 lines
435 B
C

#ifndef INTFLOAT_READWRITE_H
#define INTFLOAT_READWRITE_H
#include "common.h"
/* IEEE 80 bits extended float */
typedef struct AVExtFloat {
uint8_t exponent[2];
uint8_t mantissa[8];
} AVExtFloat;
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);
#endif /* INTFLOAT_READWRITE_H */