Definition at line 1288 of file remux.c.
Enumerator |
---|
nutCodedSliceNonIdr |
|
nutCodedSliceIdr |
|
nutSequenceParameterSet |
|
nutAccessUnitDelimiter |
|
Definition at line 1290 of file remux.c.
cH264Parser::cH264Parser |
( |
void |
| ) |
|
Sets up a new H.264 parser.
This class parses only the data absolutely necessary to determine the frame borders and field count of the given H264 material.
Definition at line 1327 of file remux.c.
References EMPTY_SCANNER.
uchar cH264Parser::GetBit |
( |
void |
| ) |
|
|
private |
uint32_t cH264Parser::GetBits |
( |
int |
Bits | ) |
|
|
private |
uchar cH264Parser::GetByte |
( |
bool |
Raw = false | ) |
|
|
private |
Gets the next data byte.
If Raw is true, no filtering will be done. With Raw set to false, if the byte sequence 0x000003 is encountered, the byte with 0x03 will be skipped.
Definition at line 1340 of file remux.c.
int32_t cH264Parser::GetGolombSe |
( |
void |
| ) |
|
|
private |
uint32_t cH264Parser::GetGolombUe |
( |
void |
| ) |
|
|
private |
int cH264Parser::Parse |
( |
const uchar * |
Data, |
|
|
int |
Length, |
|
|
int |
Pid |
|
) |
| |
|
virtual |
Parses the given Data, which is a sequence of Length bytes of TS packets.
The payload in the TS packets with the given Pid is searched for just enough information to determine the beginning and type of the next video frame. Returns the number of bytes parsed. Upon return, the functions NewFrame() and IndependentFrame() can be called to retrieve the required information.
Implements cFrameParser.
Definition at line 1396 of file remux.c.
References dbgframes, EMPTY_SCANNER, and TsPayloadStart().
void cH264Parser::ParseAccessUnitDelimiter |
( |
void |
| ) |
|
|
private |
void cH264Parser::ParseSequenceParameterSet |
( |
void |
| ) |
|
|
private |
void cH264Parser::ParseSliceHeader |
( |
void |
| ) |
|
|
private |
bool cH264Parser::frame_mbs_only_flag |
|
private |
bool cH264Parser::gotAccessUnitDelimiter |
|
private |
bool cH264Parser::gotSequenceParameterSet |
|
private |
int cH264Parser::log2_max_frame_num |
|
private |
uint32_t cH264Parser::scanner |
|
private |
bool cH264Parser::separate_colour_plane_flag |
|
private |
int cH264Parser::zeroBytes |
|
private |
The documentation for this class was generated from the following file: