This file defines functions, structures for handling streams of bits. More...
Go to the source code of this file.
Classes | |
| struct | BITBUFFER |
| struct | BITSTREAM |
Functions | |
| static void | bb_init (BITBUFFER *bb, void *p_data, size_t i_data) |
| static void | bs_init (BITSTREAM *bs, BD_FILE_H *fp) |
| static off_t | bb_pos (const BITBUFFER *bb) |
| static off_t | bs_pos (const BITSTREAM *bs) |
| static int | bb_eof (const BITBUFFER *bb) |
| static int | bs_eof (const BITSTREAM *bs) |
| static void | bb_seek (BITBUFFER *bb, off_t off, int whence) |
| static void | bs_seek (BITSTREAM *bs, off_t off, int whence) |
| static void | bb_seek_byte (BITBUFFER *bb, off_t off) |
| static void | bs_seek_byte (BITSTREAM *s, off_t off) |
| static uint32_t | bb_read (BITBUFFER *bb, int i_count) |
| static uint32_t | bs_read (BITSTREAM *bs, int i_count) |
| static void | bb_read_bytes (BITBUFFER *bb, uint8_t *buf, int i_count) |
| static void | bs_read_bytes (BITSTREAM *s, uint8_t *buf, int i_count) |
| static uint32_t | bb_show (BITBUFFER *bb, int i_count) |
| static void | bb_skip (BITBUFFER *bb, ssize_t i_count) |
| static void | bs_skip (BITSTREAM *bs, ssize_t i_count) |
| static int | bb_is_align (BITBUFFER *bb, uint32_t mask) |
| static int | bs_is_align (BITSTREAM *s, uint32_t mask) |
This file defines functions, structures for handling streams of bits.
Definition in file bits.h.
| static void bb_init | ( | BITBUFFER * | bb, | |
| void * | p_data, | |||
| size_t | i_data | |||
| ) | [inline, static] |
Definition at line 61 of file bits.h.
Referenced by _decode_segment(), _join_segment_fragments(), bs_init(), bs_read(), bs_seek(), bs_skip(), mobj_parse_cmd(), and mpls_parse_uo().
Definition at line 69 of file bits.h.
Referenced by clpi_parse(), indx_parse(), mobj_parse(), mpls_parse(), and sound_parse().
| static off_t bb_pos | ( | const BITBUFFER * | bb | ) | [inline, static] |
Definition at line 90 of file bits.h.
Referenced by bb_is_align(), and bs_pos().
| static off_t bs_pos | ( | const BITSTREAM * | bs | ) | [inline, static] |
Definition at line 95 of file bits.h.
Referenced by _parse_appinfo(), _parse_clipinfo(), _parse_cpi(), _parse_playitem(), _parse_stn(), _parse_stream(), _parse_stream_attr(), _parse_subpath(), _parse_subplayitem(), and bs_is_align().
| static int bb_eof | ( | const BITBUFFER * | bb | ) | [inline, static] |
Definition at line 100 of file bits.h.
Referenced by _decode_rle(), bs_eof(), and pg_decode_palette_update().
| static void bb_seek | ( | BITBUFFER * | bb, | |
| off_t | off, | |||
| int | whence | |||
| ) | [inline, static] |
Definition at line 110 of file bits.h.
Referenced by bb_seek_byte().
| static void bs_seek | ( | BITSTREAM * | bs, | |
| off_t | off, | |||
| int | whence | |||
| ) | [inline, static] |
Definition at line 137 of file bits.h.
Referenced by bs_seek_byte().
| static void bb_seek_byte | ( | BITBUFFER * | bb, | |
| off_t | off | |||
| ) | [inline, static] |
| static void bs_seek_byte | ( | BITSTREAM * | s, | |
| off_t | off | |||
| ) | [inline, static] |
Definition at line 182 of file bits.h.
Referenced by _bclk_parse_header(), _mobj_parse_header(), _parse_app_info(), _parse_appinfo(), _parse_clipinfo(), _parse_cpi(), _parse_ep_map_stream(), _parse_header(), _parse_playitem(), _parse_playlist(), _parse_playlistmark(), _parse_program(), _parse_sequence(), _parse_stn(), _parse_stream(), _parse_stream_attr(), _parse_subpath(), _parse_subplayitem(), indx_parse(), mobj_parse(), and sound_parse().
Definition at line 187 of file bits.h.
Referenced by _decode_bog(), _decode_button(), _decode_effect(), _decode_effect_sequence(), _decode_interactive_composition(), _decode_ods(), _decode_page(), _decode_pds(), _decode_rle(), _decode_segment(), bb_read_bytes(), bb_read_u64(), bb_show(), bs_read(), mobj_parse_cmd(), mpls_parse_uo(), pg_decode_composition(), pg_decode_composition_descriptor(), pg_decode_composition_object(), pg_decode_object(), pg_decode_palette_update(), pg_decode_sequence_descriptor(), pg_decode_video_descriptor(), pg_decode_window(), and pg_decode_windows().
Definition at line 231 of file bits.h.
Referenced by _bclk_parse_header(), _mobj_parse_header(), _mobj_parse_object(), _parse_app_info(), _parse_appinfo(), _parse_bdj_obj(), _parse_clipinfo(), _parse_cpi(), _parse_ep_map_stream(), _parse_hdmv_obj(), _parse_header(), _parse_index(), _parse_playback_obj(), _parse_playitem(), _parse_playlist(), _parse_playlistmark(), _parse_program(), _parse_sequence(), _parse_stn(), _parse_stream(), _parse_stream_attr(), _parse_subpath(), _parse_subplayitem(), _sound_parse_attributes(), _sound_parse_index(), _sound_read_samples(), bs_read_bytes(), mobj_parse(), and sound_parse().
Definition at line 247 of file bits.h.
Referenced by _decode_button(), and _decode_uo_mask_table().
Definition at line 256 of file bits.h.
Referenced by _mobj_parse_object(), _parse_app_info(), _parse_bdj_obj(), _parse_clipinfo(), _parse_playitem(), _parse_stream(), _parse_stream_attr(), _parse_subplayitem(), and _parse_uo().
Definition at line 271 of file bits.h.
Referenced by _decode_button(), _decode_interactive_composition(), bs_skip(), mobj_parse_cmd(), mpls_parse_uo(), pg_decode_composition(), pg_decode_composition_descriptor(), pg_decode_composition_object(), pg_decode_sequence_descriptor(), and pg_decode_video_descriptor().
Definition at line 283 of file bits.h.
Referenced by _mobj_parse_object(), _parse_app_info(), _parse_appinfo(), _parse_bdj_obj(), _parse_clipinfo(), _parse_cpi(), _parse_hdmv_obj(), _parse_header(), _parse_index(), _parse_playback_obj(), _parse_playitem(), _parse_playlist(), _parse_playlistmark(), _parse_program(), _parse_sequence(), _parse_stn(), _parse_stream_attr(), _parse_subpath(), _parse_subplayitem(), _sound_parse_attributes(), mobj_parse(), and sound_parse().
Definition at line 299 of file bits.h.
Referenced by ig_decode_interactive(), and pg_decode_object().
Definition at line 306 of file bits.h.
Referenced by _parse_appinfo(), _parse_playitem(), _parse_stn(), _parse_stream(), _parse_stream_attr(), _parse_subpath(), and _parse_subplayitem().
1.6.3