![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include "bitstream.h"
Go to the source code of this file.
Classes | |
| struct | s_bitstream |
Typedefs | |
| typedef struct s_bitstream | bs |
Functions | |
| int | bs_attach (bitstream_t *b, u_char *buf, int blen) |
| int | bs_bytes_used (bitstream_t *b) |
| int | bs_create (bitstream_t **ppb) |
| int | bs_destroy (bitstream_t **ppb) |
| u_char | bs_get (bitstream_t *b, uint8_t nbits) |
| int | bs_put (bitstream_t *b, u_char bits, uint8_t nbits) |
| typedef struct s_bitstream bs |
| int bs_attach | ( | bitstream_t * | b, |
| u_char * | buf, | ||
| int | blen ) |
Definition at line 41 of file bitstream.c.
References s_bitstream::buf, s_bitstream::len, s_bitstream::pos, s_bitstream::remain, and TRUE.
Referenced by test_bitstream().
| int bs_bytes_used | ( | bitstream_t * | b | ) |
Definition at line 102 of file bitstream.c.
References s_bitstream::buf, s_bitstream::pos, and s_bitstream::remain.
| int bs_create | ( | bitstream_t ** | ppb | ) |
Definition at line 23 of file bitstream.c.
Referenced by test_bitstream().
| int bs_destroy | ( | bitstream_t ** | ppb | ) |
| u_char bs_get | ( | bitstream_t * | b, |
| uint8_t | nbits ) |
Definition at line 74 of file bitstream.c.
References s_bitstream::buf, s_bitstream::len, s_bitstream::pos, and s_bitstream::remain.
| int bs_put | ( | bitstream_t * | b, |
| u_char | bits, | ||
| uint8_t | nbits ) |
Definition at line 50 of file bitstream.c.
References s_bitstream::buf, s_bitstream::len, s_bitstream::pos, s_bitstream::remain, and TRUE.
Referenced by test_bitstream().