This file defines functions, structures for handling streams of bits in vlc. More...
Go to the source code of this file.
Data Structures | |
| struct | bs_s |
Typedefs | |
| typedef struct bs_s | bs_t |
Functions | |
| static void | bs_init (bs_t *s, const void *p_data, size_t i_data) |
| static int | bs_pos (const bs_t *s) |
| static int | bs_eof (const bs_t *s) |
| static uint32_t | bs_read (bs_t *s, int i_count) |
| static uint32_t | bs_read1 (bs_t *s) |
| static uint32_t | bs_show (bs_t *s, int i_count) |
| static void | bs_skip (bs_t *s, ssize_t i_count) |
| static void | bs_write (bs_t *s, int i_count, uint32_t i_bits) |
| static void | bs_align (bs_t *s) |
| static void | bs_align_0 (bs_t *s) |
| static void | bs_align_1 (bs_t *s) |
This file defines functions, structures for handling streams of bits in vlc.
| static void bs_align | ( | bs_t * | s | ) | [inline, static] |
References bs_s::i_left, and bs_s::p.
| static void bs_align_0 | ( | bs_t * | s | ) | [inline, static] |
References bs_write(), and bs_s::i_left.
| static void bs_align_1 | ( | bs_t * | s | ) | [inline, static] |
References bs_write(), and bs_s::i_left.
| static int bs_eof | ( | const bs_t * | s | ) | [inline, static] |
References bs_s::p, and bs_s::p_end.
| static void bs_init | ( | bs_t * | s, | |
| const void * | p_data, | |||
| size_t | i_data | |||
| ) | [inline, static] |
References bs_s::i_left, bs_s::p, bs_s::p_end, and bs_s::p_start.
| static int bs_pos | ( | const bs_t * | s | ) | [inline, static] |
References bs_s::i_left, bs_s::p, and bs_s::p_start.
| static uint32_t bs_read | ( | bs_t * | s, | |
| int | i_count | |||
| ) | [inline, static] |
References bs_s::i_left, bs_s::p, and bs_s::p_end.
Referenced by bs_show().
| static uint32_t bs_read1 | ( | bs_t * | s | ) | [inline, static] |
References bs_s::i_left, bs_s::p, and bs_s::p_end.
| static void bs_skip | ( | bs_t * | s, | |
| ssize_t | i_count | |||
| ) | [inline, static] |
References bs_s::i_left, and bs_s::p.
| static void bs_write | ( | bs_t * | s, | |
| int | i_count, | |||
| uint32_t | i_bits | |||
| ) | [inline, static] |
References bs_s::i_left, bs_s::p, and bs_s::p_end.
Referenced by bs_align_0(), and bs_align_1().
1.7.1