Go to the source code of this file.
Detailed Description
Typedef Documentation
Function Documentation
Flush any residual bit to the output buffer.
- Parameters:
-
| s | A pointer to the bitstream context. |
| c | A pointer to the bitstream output buffer. |
Get a chunk of bits from the input buffer.
- Parameters:
-
| s | A pointer to the bitstream context. |
| c | A pointer to the bitstream input buffer. |
| bits | The number of bits of value to be grabbed. 1 to 25 bits is valid. |
- Returns:
- The value retrieved from the input buffer.
Initialise a bitstream context.
- Parameters:
-
| s | A pointer to the bitstream context. |
| lsb_first | TRUE if the bit stream is LSB first, else its MSB first. |
- Returns:
- A pointer to the bitstream context.
Referenced by g726_init().
Put a chunk of bits into the output buffer.
- Parameters:
-
| s | A pointer to the bitstream context. |
| c | A pointer to the bitstream output buffer. |
| value | The value to be pushed into the output buffer. |
| bits | The number of bits of value to be pushed. 1 to 25 bits is valid. |