mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-05-01 06:13:08 +08:00
Float11 does not need int, .o file becomes smaller and the code might
be faster. Originally committed as revision 13789 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -32,9 +32,9 @@
|
||||
* instead of simply using 32bit integer arithmetic.
|
||||
*/
|
||||
typedef struct Float11 {
|
||||
int sign; /**< 1bit sign */
|
||||
int exp; /**< 4bit exponent */
|
||||
int mant; /**< 6bit mantissa */
|
||||
uint8_t sign; /**< 1bit sign */
|
||||
uint8_t exp; /**< 4bit exponent */
|
||||
uint8_t mant; /**< 6bit mantissa */
|
||||
} Float11;
|
||||
|
||||
static inline Float11* i2f(int i, Float11* f)
|
||||
|
||||
Reference in New Issue
Block a user