
Go to the source code of this file.
Data Structures | |
| struct | block_bytestream_t |
Defines | |
| #define | VLC_BLOCK_HELPER_H 1 |
Functions | |
| static block_bytestream_t | block_BytestreamInit (void) |
| static void | block_BytestreamRelease (block_bytestream_t *p_bytestream) |
| static void | block_BytestreamEmpty (block_bytestream_t *p_bytestream) |
| It flush all data (read and unread) from a block_bytestream_t. | |
| static void | block_BytestreamFlush (block_bytestream_t *p_bytestream) |
| It flushes all already read data from a block_bytestream_t. | |
| static void | block_BytestreamPush (block_bytestream_t *p_bytestream, block_t *p_block) |
| static block_t * | block_BytestreamPop (block_bytestream_t *p_bytestream) |
| static int | block_SkipByte (block_bytestream_t *p_bytestream) |
| static int | block_PeekByte (block_bytestream_t *p_bytestream, uint8_t *p_data) |
| static int | block_GetByte (block_bytestream_t *p_bytestream, uint8_t *p_data) |
| static int | block_WaitBytes (block_bytestream_t *p_bytestream, size_t i_data) |
| static int | block_SkipBytes (block_bytestream_t *p_bytestream, size_t i_data) |
| static int | block_PeekBytes (block_bytestream_t *p_bytestream, uint8_t *p_data, size_t i_data) |
| static int | block_GetBytes (block_bytestream_t *p_bytestream, uint8_t *p_data, size_t i_data) |
| static int | block_PeekOffsetBytes (block_bytestream_t *p_bytestream, size_t i_peek_offset, uint8_t *p_data, size_t i_data) |
| static int | block_FindStartcodeFromOffset (block_bytestream_t *p_bytestream, size_t *pi_offset, const uint8_t *p_startcode, int i_startcode_length) |
| #define VLC_BLOCK_HELPER_H 1 |
| static void block_BytestreamEmpty | ( | block_bytestream_t * | p_bytestream | ) | [inline, static] |
It flush all data (read and unread) from a block_bytestream_t.
References block_BytestreamInit(), and block_BytestreamRelease().
Referenced by DecodeBlock(), Packetize(), PacketizeBlock(), packetizer_Header(), packetizer_Packetize(), and PacketizeStreamBlock().
| static void block_BytestreamFlush | ( | block_bytestream_t * | p_bytestream | ) | [inline, static] |
It flushes all already read data from a block_bytestream_t.
References block_t::i_buffer, block_bytestream_t::i_offset, block_bytestream_t::p_block, block_bytestream_t::p_chain, block_t::p_next, and block_t::pf_release.
Referenced by block_BytestreamPop(), DecodeBlock(), dirac_DoSync(), Packetize(), PacketizeBlock(), packetizer_Packetize(), and PacketizeStreamBlock().
| static block_bytestream_t block_BytestreamInit | ( | void | ) | [inline, static] |
References block_bytestream_t::i_offset, block_bytestream_t::p_block, and block_bytestream_t::p_chain.
Referenced by block_BytestreamEmpty(), Open(), OpenCommon(), OpenDecoder(), OpenPacketizer(), and packetizer_Init().
| static block_t* block_BytestreamPop | ( | block_bytestream_t * | p_bytestream | ) | [inline, static] |
| static void block_BytestreamPush | ( | block_bytestream_t * | p_bytestream, | |
| block_t * | p_block | |||
| ) | [inline, static] |
References block_ChainAppend(), block_bytestream_t::p_block, and block_bytestream_t::p_chain.
Referenced by DecodeBlock(), Packetize(), PacketizeBlock(), packetizer_Packetize(), and PacketizeStreamBlock().
| static void block_BytestreamRelease | ( | block_bytestream_t * | p_bytestream | ) | [inline, static] |
References block_bytestream_t::i_offset, block_bytestream_t::p_block, block_bytestream_t::p_chain, block_t::p_next, and block_t::pf_release.
Referenced by block_BytestreamEmpty(), CloseCommon(), CloseDecoder(), ClosePacketizer(), and packetizer_Clean().
| static int block_FindStartcodeFromOffset | ( | block_bytestream_t * | p_bytestream, | |
| size_t * | pi_offset, | |||
| const uint8_t * | p_startcode, | |||
| int | i_startcode_length | |||
| ) | [inline, static] |
References block_t::i_buffer, block_bytestream_t::i_offset, block_bytestream_t::p_block, block_t::p_buffer, block_t::p_next, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by dirac_DoSync(), and packetizer_Packetize().
| static int block_GetByte | ( | block_bytestream_t * | p_bytestream, | |
| uint8_t * | p_data | |||
| ) | [inline, static] |
| static int block_GetBytes | ( | block_bytestream_t * | p_bytestream, | |
| uint8_t * | p_data, | |||
| size_t | i_data | |||
| ) | [inline, static] |
References __MIN, block_t::i_buffer, block_bytestream_t::i_offset, block_bytestream_t::p_block, block_t::p_buffer, block_t::p_next, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by DecodeBlock(), dirac_DoSync(), Packetize(), PacketizeBlock(), packetizer_Packetize(), and PacketizeStreamBlock().
| static int block_PeekByte | ( | block_bytestream_t * | p_bytestream, | |
| uint8_t * | p_data | |||
| ) | [inline, static] |
| static int block_PeekBytes | ( | block_bytestream_t * | p_bytestream, | |
| uint8_t * | p_data, | |||
| size_t | i_data | |||
| ) | [inline, static] |
References __MIN, block_t::i_buffer, block_bytestream_t::i_offset, block_bytestream_t::p_block, block_t::p_buffer, block_t::p_next, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by DecodeBlock(), Packetize(), PacketizeBlock(), and PacketizeStreamBlock().
| static int block_PeekOffsetBytes | ( | block_bytestream_t * | p_bytestream, | |
| size_t | i_peek_offset, | |||
| uint8_t * | p_data, | |||
| size_t | i_data | |||
| ) | [inline, static] |
References __MIN, block_t::i_buffer, block_bytestream_t::i_offset, block_bytestream_t::p_block, block_t::p_buffer, block_t::p_next, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by DecodeBlock(), dirac_DoSync(), dirac_UnpackParseInfo(), Packetize(), PacketizeBlock(), and PacketizeStreamBlock().
| static int block_SkipByte | ( | block_bytestream_t * | p_bytestream | ) | [inline, static] |
References block_t::i_buffer, block_bytestream_t::i_offset, block_bytestream_t::p_block, block_t::p_next, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by DecodeBlock(), Packetize(), PacketizeBlock(), and PacketizeStreamBlock().
| static int block_SkipBytes | ( | block_bytestream_t * | p_bytestream, | |
| size_t | i_data | |||
| ) | [inline, static] |
References __MIN, block_t::i_buffer, block_bytestream_t::i_offset, block_bytestream_t::p_block, block_t::p_next, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by DecodeBlock(), dirac_DoSync(), packetizer_Packetize(), and PacketizeStreamBlock().
| static int block_WaitBytes | ( | block_bytestream_t * | p_bytestream, | |
| size_t | i_data | |||
| ) | [inline, static] |
References __MIN, block_t::i_buffer, block_bytestream_t::i_offset, block_bytestream_t::p_block, block_t::p_next, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by DecodeBlock(), Packetize(), and PacketizeStreamBlock().
1.5.6