
Go to the source code of this file.
Data Structures | |
| struct | packetizer_t |
Defines | |
| #define | _PACKETIZER_H 1 |
Typedefs | |
| typedef void(* | packetizer_reset_t )(void *p_private, bool b_broken) |
| typedef block_t *(* | packetizer_parse_t )(void *p_private, bool *pb_ts_used, block_t *) |
| typedef int(* | packetizer_validate_t )(void *p_private, block_t *) |
Enumerations | |
| enum | { STATE_NOSYNC, STATE_NEXT_SYNC } |
Functions | |
| static void | packetizer_Init (packetizer_t *p_pack, const uint8_t *p_startcode, int i_startcode, const uint8_t *p_au_prepend, int i_au_prepend, unsigned i_au_min_size, packetizer_reset_t pf_reset, packetizer_parse_t pf_parse, packetizer_validate_t pf_validate, void *p_private) |
| static void | packetizer_Clean (packetizer_t *p_pack) |
| static block_t * | packetizer_Packetize (packetizer_t *p_pack, block_t **pp_block) |
| static void | packetizer_Header (packetizer_t *p_pack, const uint8_t *p_header, int i_header) |
| #define _PACKETIZER_H 1 |
| typedef block_t*(* packetizer_parse_t)(void *p_private, bool *pb_ts_used, block_t *) |
| typedef void(* packetizer_reset_t)(void *p_private, bool b_broken) |
| typedef int(* packetizer_validate_t)(void *p_private, block_t *) |
| static void packetizer_Clean | ( | packetizer_t * | p_pack | ) | [inline, static] |
References block_BytestreamRelease(), and packetizer_t::bytestream.
| static void packetizer_Header | ( | packetizer_t * | p_pack, | |
| const uint8_t * | p_header, | |||
| int | i_header | |||
| ) | [inline, static] |
| static void packetizer_Init | ( | packetizer_t * | p_pack, | |
| const uint8_t * | p_startcode, | |||
| int | i_startcode, | |||
| const uint8_t * | p_au_prepend, | |||
| int | i_au_prepend, | |||
| unsigned | i_au_min_size, | |||
| packetizer_reset_t | pf_reset, | |||
| packetizer_parse_t | pf_parse, | |||
| packetizer_validate_t | pf_validate, | |||
| void * | p_private | |||
| ) | [inline, static] |
References packetizer_t::b_flushing, block_BytestreamInit(), packetizer_t::bytestream, packetizer_t::i_au_min_size, packetizer_t::i_au_prepend, packetizer_t::i_offset, packetizer_t::i_startcode, packetizer_t::i_state, packetizer_t::p_au_prepend, packetizer_t::p_private, packetizer_t::p_startcode, packetizer_t::pf_parse, packetizer_t::pf_reset, packetizer_t::pf_validate, and STATE_NOSYNC.
| static block_t* packetizer_Packetize | ( | packetizer_t * | p_pack, | |
| block_t ** | pp_block | |||
| ) | [inline, static] |
References packetizer_t::b_flushing, block_BytestreamEmpty(), block_BytestreamFlush(), block_BytestreamPop(), block_BytestreamPush(), block_ChainProperties(), block_FindStartcodeFromOffset(), BLOCK_FLAG_CORRUPTED, BLOCK_FLAG_DISCONTINUITY, block_GetBytes(), block_New, block_Release(), block_SkipBytes(), packetizer_t::bytestream, packetizer_t::i_au_min_size, packetizer_t::i_au_prepend, block_t::i_buffer, block_t::i_dts, block_bytestream_t::i_offset, packetizer_t::i_offset, block_t::i_pts, packetizer_t::i_startcode, packetizer_t::i_state, packetizer_t::p_au_prepend, block_bytestream_t::p_block, block_t::p_buffer, block_bytestream_t::p_chain, packetizer_t::p_private, packetizer_t::p_startcode, packetizer_t::pf_parse, packetizer_t::pf_reset, packetizer_t::pf_validate, STATE_NEXT_SYNC, STATE_NOSYNC, and VLC_TS_INVALID.
Referenced by Packetize(), and packetizer_Header().
1.5.6