diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-02-02 15:21:19 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-02-02 15:21:19 +0000 |
commit | f11288dab4c5c7b65b824c1c4e3ff3e9f642b040 (patch) | |
tree | 2b5e8470867ebe028f03527f45fee41fb2fcf9da /libavutil/intfloat_readwrite.h | |
parent | 93d3e278cd095f4a9d44513b91ce0785b2b159a2 (diff) | |
download | ffmpeg-f11288dab4c5c7b65b824c1c4e3ff3e9f642b040.tar.gz |
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
Diffstat (limited to 'libavutil/intfloat_readwrite.h')
-rw-r--r-- | libavutil/intfloat_readwrite.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/intfloat_readwrite.h b/libavutil/intfloat_readwrite.h index 22f40bb665..33e4c636c7 100644 --- a/libavutil/intfloat_readwrite.h +++ b/libavutil/intfloat_readwrite.h @@ -3,9 +3,17 @@ #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 */ |