VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
vlc_block_helper.h File Reference
Include dependency graph for vlc_block_helper.h:

Go to the source code of this file.

Data Structures

struct  block_bytestream_t

Typedefs

typedef struct block_bytestream_t block_bytestream_t

Functions

static void block_BytestreamInit (block_bytestream_t *p_bytestream)
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_tblock_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)

Typedef Documentation

Function Documentation

static void block_BytestreamEmpty ( block_bytestream_t p_bytestream)
inlinestatic

It flush all data (read and unread) from a block_bytestream_t.

References block_BytestreamInit(), and block_BytestreamRelease().

static void block_BytestreamFlush ( block_bytestream_t p_bytestream)
inlinestatic
static void block_BytestreamInit ( block_bytestream_t p_bytestream)
inlinestatic
static block_t* block_BytestreamPop ( block_bytestream_t p_bytestream)
inlinestatic
static void block_BytestreamPush ( block_bytestream_t p_bytestream,
block_t p_block 
)
inlinestatic
static void block_BytestreamRelease ( block_bytestream_t p_bytestream)
inlinestatic
static int block_FindStartcodeFromOffset ( block_bytestream_t p_bytestream,
size_t *  pi_offset,
const uint8_t *  p_startcode,
int  i_startcode_length 
)
inlinestatic
static int block_GetByte ( block_bytestream_t p_bytestream,
uint8_t *  p_data 
)
inlinestatic
static int block_GetBytes ( block_bytestream_t p_bytestream,
uint8_t *  p_data,
size_t  i_data 
)
inlinestatic
static int block_PeekByte ( block_bytestream_t p_bytestream,
uint8_t *  p_data 
)
inlinestatic
static int block_PeekBytes ( block_bytestream_t p_bytestream,
uint8_t *  p_data,
size_t  i_data 
)
inlinestatic
static int block_PeekOffsetBytes ( block_bytestream_t p_bytestream,
size_t  i_peek_offset,
uint8_t *  p_data,
size_t  i_data 
)
inlinestatic
static int block_SkipByte ( block_bytestream_t p_bytestream)
inlinestatic
static int block_SkipBytes ( block_bytestream_t p_bytestream,
size_t  i_data 
)
inlinestatic
static int block_WaitBytes ( block_bytestream_t p_bytestream,
size_t  i_data 
)
inlinestatic