38 #ifndef __SYNTAXELEMENTPARSER__
39 #define __SYNTAXELEMENTPARSER__
43 #endif // _MSC_VER > 1000
48 #if DECODER_PARTIAL_CONFORMANCE_CHECK!=0
49 #define READ_SCODE_CHK(length, code, name, minValIncl, maxValIncl) xReadSCodeChk ( length, code, name, minValIncl, maxValIncl )
50 #define READ_CODE_CHK(length, code, name, minValIncl, maxValIncl) xReadCodeChk ( length, code, name, minValIncl, maxValIncl )
51 #define READ_UVLC_CHK( code, name, minValIncl, maxValIncl) xReadUvlcChk ( code, name, minValIncl, maxValIncl )
52 #define READ_SVLC_CHK( code, name, minValIncl, maxValIncl) xReadSvlcChk ( code, name, minValIncl, maxValIncl )
53 #define READ_FLAG_CHK( code, name, minValIncl, maxValIncl) xReadFlagChk ( code, name, minValIncl, maxValIncl )
54 #elif RExt__DECODER_DEBUG_BIT_STATISTICS || ENC_DEC_TRACE
55 #define READ_SCODE_CHK(length, code, name, minValIncl, maxValIncl) xReadSCode ( length, code, name )
56 #define READ_CODE_CHK(length, code, name, minValIncl, maxValIncl) xReadCode ( length, code, name )
57 #define READ_UVLC_CHK( code, name, minValIncl, maxValIncl) xReadUvlc ( code, name )
58 #define READ_SVLC_CHK( code, name, minValIncl, maxValIncl) xReadSvlc ( code, name )
59 #define READ_FLAG_CHK( code, name, minValIncl, maxValIncl) xReadFlag ( code, name )
61 #define READ_SCODE_CHK(length, code, name, minValIncl, maxValIncl) xReadSCode ( length, code )
62 #define READ_CODE_CHK(length, code, name, minValIncl, maxValIncl) xReadCode ( length, code )
63 #define READ_UVLC_CHK( code, name, minValIncl, maxValIncl) xReadUvlc ( code )
64 #define READ_SVLC_CHK( code, name, minValIncl, maxValIncl) xReadSvlc ( code )
65 #define READ_FLAG_CHK( code, name, minValIncl, maxValIncl) xReadFlag ( code )
69 #if RExt__DECODER_DEBUG_BIT_STATISTICS || ENC_DEC_TRACE
70 #define READ_SCODE(length, code, name) xReadSCode ( length, code, name )
71 #define READ_CODE(length, code, name) xReadCode ( length, code, name )
72 #define READ_UVLC( code, name) xReadUvlc ( code, name )
73 #define READ_SVLC( code, name) xReadSvlc ( code, name )
74 #define READ_FLAG( code, name) xReadFlag ( code, name )
77 #define READ_SCODE(length, code, name) xReadSCode ( length, code )
78 #define READ_CODE(length, code, name) xReadCode ( length, code )
79 #define READ_UVLC( code, name) xReadUvlc ( code )
80 #define READ_SVLC( code, name) xReadSvlc ( code )
81 #define READ_FLAG( code, name) xReadFlag ( code )
102 #if DECODER_PARTIAL_CONFORMANCE_CHECK!=0
103 Void xReadSCodeChk (
UInt length,
Int& val,
const TChar *pSymbolName,
const Int minValIncl,
const Int maxValIncl );
105 Void xReadUvlcChk (
UInt& val,
const TChar *pSymbolName,
const UInt minValIncl,
const UInt maxValIncl );
106 Void xReadSvlcChk (
Int& val,
const TChar *pSymbolName,
const Int minValIncl,
const Int maxValIncl );
107 Void xReadFlagChk (
UInt& val,
const TChar *pSymbolName,
const UInt minValIncl,
const UInt maxValIncl );
110 #if RExt__DECODER_DEBUG_BIT_STATISTICS || ENC_DEC_TRACE
150 #endif // !defined(__SYNTAXELEMENTPARSER__)
Void parseAccessUnitDelimiter(TComInputBitstream *bs, UInt &picType)
global variables & functions (header)
Void xReadCode(UInt length, UInt &val)
TComInputBitstream * m_pcBitstream
Void parseFillerData(TComInputBitstream *bs, UInt &fdSize)
TComInputBitstream * getBitstream()
Void setBitstream(TComInputBitstream *p)
Void xReadSCode(UInt length, Int &val)
Void xReadRbspTrailingBits()
Void xReadUvlc(UInt &val)
Void xReadFlag(UInt &val)
virtual ~SyntaxElementParser()