|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
cH264Parser - H264 Parser class More...
#include <h264parser.h>
Public Member Functions | |
| cH264Parser (AVPacket *) | |
| Init the h264 parser and detect the nalu types. | |
| int | GetWidth (void) |
| int | GetHeight (void) |
| bool | IsIFrame (void) |
| bool | IsMbaff (void) |
Private Member Functions | |
| unsigned int | ReadBit (void) |
| unsigned int | ReadBits (int) |
| unsigned int | ReadExponentialGolombCode (void) |
| unsigned int | ReadSE (void) |
Private Attributes | |
| AVPacket * | m_pAvpkt |
| const unsigned char * | m_pStart |
| unsigned short | m_nLength |
| int | m_nCurrentBit |
| int | m_nalutype = 0 |
| int | m_width = 0 |
| int | m_height = 0 |
| bool | m_mbaff = false |
cH264Parser - H264 Parser class
Definition at line 39 of file h264parser.h.
| cH264Parser::cH264Parser | ( | AVPacket * | avpkt | ) |
Init the h264 parser and detect the nalu types.
| avpkt | AVPacket to parse |
Definition at line 77 of file h264parser.cpp.
References isValidStartCode(), L_CODEC, LOGDEBUG2, LOGERROR, m_height, m_mbaff, m_nalutype, m_nCurrentBit, m_nLength, m_pAvpkt, m_pStart, m_width, NALU_TYPE_AUD, NALU_TYPE_IDR, NALU_TYPE_NON_IDR, NALU_TYPE_PPS, NALU_TYPE_SEI, NALU_TYPE_SPS, NalUnitType(), PrintStreamData(), ReadBit(), ReadBits(), ReadExponentialGolombCode(), and ReadSE().
|
inline |
Definition at line 44 of file h264parser.h.
References m_height.
Referenced by cVideoStream::OpenDecoder().
|
inline |
Definition at line 43 of file h264parser.h.
References m_width.
Referenced by cVideoStream::OpenDecoder().
| bool cH264Parser::IsIFrame | ( | void | ) |
Definition at line 241 of file h264parser.cpp.
References m_nalutype, NALU_TYPE_IDR, NALU_TYPE_NON_IDR, NALU_TYPE_PPS, and NALU_TYPE_SPS.
Referenced by cVideoStream::OpenDecoder().
|
inline |
Definition at line 46 of file h264parser.h.
References m_mbaff.
|
private |
Definition at line 250 of file h264parser.cpp.
References m_nCurrentBit, m_nLength, and m_pStart.
Referenced by cH264Parser(), ReadBits(), and ReadExponentialGolombCode().
|
private |
Definition at line 260 of file h264parser.cpp.
References ReadBit().
Referenced by cH264Parser(), and ReadExponentialGolombCode().
|
private |
Definition at line 270 of file h264parser.cpp.
References ReadBit(), and ReadBits().
Referenced by cH264Parser(), and ReadSE().
|
private |
Definition at line 284 of file h264parser.cpp.
References ReadExponentialGolombCode().
Referenced by cH264Parser().
|
private |
Definition at line 57 of file h264parser.h.
Referenced by cH264Parser(), and GetHeight().
|
private |
Definition at line 58 of file h264parser.h.
Referenced by cH264Parser(), and IsMbaff().
|
private |
Definition at line 54 of file h264parser.h.
Referenced by cH264Parser(), and IsIFrame().
|
private |
Definition at line 52 of file h264parser.h.
Referenced by cH264Parser(), and ReadBit().
|
private |
Definition at line 51 of file h264parser.h.
Referenced by cH264Parser(), and ReadBit().
|
private |
Definition at line 49 of file h264parser.h.
Referenced by cH264Parser().
|
private |
Definition at line 50 of file h264parser.h.
Referenced by cH264Parser(), and ReadBit().
|
private |
Definition at line 56 of file h264parser.h.
Referenced by cH264Parser(), and GetWidth().