Float11 Struct Reference

G.726 11bit float. More...


Data Fields

uint8_t sign
 1bit sign
uint8_t exp
 4bit exponent
uint8_t mant
 6bit mantissa


Detailed Description

G.726 11bit float.

G.726 Standard uses rather odd 11bit floating point arithmentic for numerous occasions. It's a mistery to me why they did it this way instead of simply using 32bit integer arithmetic.

Definition at line 35 of file g726.c.


Field Documentation

uint8_t Float11::exp

4bit exponent

Definition at line 37 of file g726.c.

Referenced by i2f(), and mult().

uint8_t Float11::mant

6bit mantissa

Definition at line 38 of file g726.c.

Referenced by g726_reset(), i2f(), and mult().

uint8_t Float11::sign

1bit sign

Definition at line 36 of file g726.c.

Referenced by g726_decode(), i2f(), and mult().


The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:39:52 2012 for FFmpeg by  doxygen 1.5.8