Line | |
---|
1 | #ifndef INTFLOAT_READWRITE_H
|
---|
2 | #define INTFLOAT_READWRITE_H
|
---|
3 |
|
---|
4 | #include "common.h"
|
---|
5 |
|
---|
6 | /* IEEE 80 bits extended float */
|
---|
7 | typedef struct AVExtFloat {
|
---|
8 | uint8_t exponent[2];
|
---|
9 | uint8_t mantissa[8];
|
---|
10 | } AVExtFloat;
|
---|
11 |
|
---|
12 | double av_int2dbl(int64_t v);
|
---|
13 | float av_int2flt(int32_t v);
|
---|
14 | double av_ext2dbl(const AVExtFloat ext);
|
---|
15 | int64_t av_dbl2int(double d);
|
---|
16 | int32_t av_flt2int(float d);
|
---|
17 | AVExtFloat av_dbl2ext(double d);
|
---|
18 |
|
---|
19 | #endif /* INTFLOAT_READWRITE_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.