projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7a9e7
)
Float11 does not need int, .o file becomes smaller and the code might
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 16 Jun 2008 23:34:15 +0000
(23:34 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 16 Jun 2008 23:34:15 +0000
(23:34 +0000)
be faster.
Originally committed as revision 13789 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/g726.c
patch
|
blob
|
history
diff --git
a/libavcodec/g726.c
b/libavcodec/g726.c
index
6086e38
..
523ee97
100644
(file)
--- a/
libavcodec/g726.c
+++ b/
libavcodec/g726.c
@@
-32,9
+32,9
@@
* instead of simply using 32bit integer arithmetic.
*/
typedef struct Float11 {
-
in
t sign; /**< 1bit sign */
-
in
t exp; /**< 4bit exponent */
-
in
t 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)