ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Embed: (wiki syntax)

« Back to documentation index

SpeexBits Struct Reference

SpeexBits Struct Reference
[SpeexBits: Bit-stream manipulations]

Bit-packing data structure representing (part of) a bit-stream. More...

#include <speex_bits.h>

Data Fields

char * chars
 "raw" data
int nbBits
 Total number of bits stored in the stream.
int charPtr
 Position of the byte "cursor".
int bitPtr
 Position of the bit "cursor" within the current char.
int owner
 Does the struct "own" the "raw" buffer (member "chars")
int overflow
 Set to one if we try to read past the valid data.
int buf_size
 Allocated size for buffer.
int reserved1
 Reserved for future use.
void * reserved2
 Reserved for future use.

Detailed Description

Bit-packing data structure representing (part of) a bit-stream.

Definition at line 49 of file speex_bits.h.


Field Documentation

int bitPtr

Position of the bit "cursor" within the current char.

Definition at line 53 of file speex_bits.h.

int buf_size

Allocated size for buffer.

Definition at line 56 of file speex_bits.h.

int charPtr

Position of the byte "cursor".

Definition at line 52 of file speex_bits.h.

char* chars

"raw" data

Definition at line 50 of file speex_bits.h.

int nbBits

Total number of bits stored in the stream.

Definition at line 51 of file speex_bits.h.

int overflow

Set to one if we try to read past the valid data.

Definition at line 55 of file speex_bits.h.

int owner

Does the struct "own" the "raw" buffer (member "chars")

Definition at line 54 of file speex_bits.h.

int reserved1

Reserved for future use.

Definition at line 57 of file speex_bits.h.

void* reserved2

Reserved for future use.

Definition at line 58 of file speex_bits.h.