Mercurial > libavutil.hg
diff intfloat_readwrite.h @ 24:2b3573111ff0 libavutil
AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
author | michael |
---|---|
date | Thu, 02 Feb 2006 15:21:19 +0000 |
parents | ee8f44bb7c4d |
children | 11be8e0d1344 |
line wrap: on
line diff
--- a/intfloat_readwrite.h Mon Jan 30 23:32:14 2006 +0000 +++ b/intfloat_readwrite.h Thu Feb 02 15:21:19 2006 +0000 @@ -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 */