FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
Float11 Struct Reference

G.726 11-bit float. More...

Data Fields

uint8_t sign
 1 bit sign More...
 
uint8_t exp
 4 bits exponent More...
 
uint8_t mant
 6 bits mantissa More...
 

Detailed Description

G.726 11-bit float.

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

Definition at line 39 of file g726.c.

Field Documentation

uint8_t Float11::sign

1 bit sign

Definition at line 40 of file g726.c.

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

uint8_t Float11::exp

4 bits exponent

Definition at line 41 of file g726.c.

Referenced by i2f(), and mult().

uint8_t Float11::mant

6 bits mantissa

Definition at line 42 of file g726.c.

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


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