VLC 4.0.0-dev
|
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_byte_callbacks_t |
struct | bs_s |
Macros | |
#define | bs_align_0(s) bs_write_align( s, 0 ) |
#define | bs_align_1(s) bs_write_align( s, 1 ) |
Typedefs | |
typedef struct bs_s | bs_t |
Functions | |
static size_t | bs_impl_bytes_forward (bs_t *s, size_t i_count) |
static size_t | bs_impl_bytes_pos (const bs_t *s) |
static void | bs_init_custom (bs_t *s, const void *p_data, size_t i_data, const bs_byte_callbacks_t *cb, void *priv) |
static void | bs_init (bs_t *s, const void *p_data, size_t i_data) |
static void | bs_write_init (bs_t *s, void *p_data, size_t i_data) |
static int | bs_refill (bs_t *s) |
static bool | bs_error (const bs_t *s) |
static bool | bs_eof (bs_t *s) |
static size_t | bs_pos (const bs_t *s) |
static void | bs_skip (bs_t *s, size_t i_count) |
static uint32_t | bs_read (bs_t *s, uint8_t i_count) |
static uint32_t | bs_read1 (bs_t *s) |
static void | bs_write (bs_t *s, uint8_t i_count, uint32_t i_bits) |
static bool | bs_aligned (bs_t *s) |
static void | bs_align (bs_t *s) |
static void | bs_write_align (bs_t *s, uint8_t v) |
static uint_fast32_t | bs_read_ue (bs_t *bs) |
static int_fast32_t | bs_read_se (bs_t *s) |
This file defines functions, structures for handling streams of bits in vlc.
#define bs_align_0 | ( | s | ) | bs_write_align( s, 0 ) |
#define bs_align_1 | ( | s | ) | bs_write_align( s, 1 ) |
|
inlinestatic |
References bs_s::i_left.
|
inlinestatic |
References bs_s::i_left.
|
inlinestatic |
References bs_refill().
|
inlinestatic |
References bs_s::b_error.
|
static |
References bs_s::p, bs_s::p_end, and bs_s::p_start.
Referenced by bs_init().
|
static |
References bs_s::p, bs_s::p_end, and bs_s::p_start.
Referenced by bs_init().
|
inlinestatic |
References bs_impl_bytes_forward(), bs_impl_bytes_pos(), and bs_init_custom().
Referenced by bs_write_init().
|
inlinestatic |
References bs_s::b_error, bs_s::b_read_only, bs_s::cb, bs_s::i_left, bs_s::p, bs_s::p_end, bs_s::p_priv, and bs_s::p_start.
Referenced by bs_init().
|
inlinestatic |
References bs_s::cb, bs_s::i_left, and bs_byte_callbacks_t::pf_byte_pos.
|
inlinestatic |
References bs_s::b_error, bs_refill(), bs_skip(), bs_s::i_left, and bs_s::p.
Referenced by bs_read_ue().
|
inlinestatic |
References bs_s::b_error, bs_refill(), bs_s::i_left, and bs_s::p.
Referenced by bs_read_ue().
|
inlinestatic |
References bs_read_ue().
|
inlinestatic |
References bs_s::b_error, bs_read(), bs_read1(), bs_s::p, and bs_s::p_end.
Referenced by bs_read_se().
|
inlinestatic |
References bs_s::cb, bs_s::i_left, bs_s::p, bs_s::p_end, and bs_byte_callbacks_t::pf_byte_forward.
Referenced by bs_eof(), bs_read(), bs_read1(), bs_skip(), and bs_write().
|
inlinestatic |
References bs_s::b_error, bs_refill(), bs_s::cb, bs_s::i_left, and bs_byte_callbacks_t::pf_byte_forward.
Referenced by bs_read().
|
inlinestatic |
References bs_s::b_error, bs_s::b_read_only, bs_refill(), bs_s::i_left, and bs_s::p.
Referenced by bs_write_align().
|
inlinestatic |
References bs_s::b_read_only, bs_write(), and bs_s::i_left.
|
inlinestatic |
References bs_s::b_read_only, and bs_init().