RCS file: /designs/cvsroot/codec_tools/hevc/HM/source/Lib/TLibDecoder/TDecCAVLC.cpp,v
retrieving revision 1.1.2.57
diff -u -r1.1.2.57 TDecCAVLC.cpp
|
|
|
1433 | 1433 | } |
1434 | 1434 | } |
1435 | 1435 | } |
| 1436 | Void TDecCavlc::parseRemainingBytes() |
| 1437 | { |
| 1438 | UInt tmp; |
| 1439 | if (m_pcBitstream->getNumBitsLeft() > 0) |
| 1440 | { |
| 1441 | tmp = m_pcBitstream->readByte(); |
| 1442 | assert (tmp == 0); |
| 1443 | } |
| 1444 | } |
1436 | 1445 | |
1437 | 1446 | Void TDecCavlc::parseSkipFlag( TComDataCU* /*pcCU*/, UInt /*uiAbsPartIdx*/, UInt /*uiDepth*/ ) |
1438 | 1447 | { |
RCS file: /designs/cvsroot/codec_tools/hevc/HM/source/Lib/TLibDecoder/TDecCAVLC.h,v
retrieving revision 1.1.2.39
diff -u -r1.1.2.39 TDecCAVLC.h
|
|
|
80 | 80 | Void parseHrdParameters (TComHRD *hrd, Bool cprms_present_flag, UInt tempLevelHigh); |
81 | 81 | Void parseSliceHeader ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager); |
82 | 82 | Void parseTerminatingBit ( UInt& ruiBit ); |
83 | | |
| 83 | Void parseRemainingBytes (); |
| 84 | |
84 | 85 | Void parseMVPIdx ( Int& riMVPIdx ); |
85 | 86 | |
86 | 87 | Void parseSkipFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); |
RCS file: /designs/cvsroot/codec_tools/hevc/HM/source/Lib/TLibDecoder/TDecCu.cpp,v
retrieving revision 1.1.2.44
diff -u -r1.1.2.44 TDecCu.cpp
|
|
|
171 | 171 | |
172 | 172 | if(uiIsLast) |
173 | 173 | { |
| 174 | // check that remaining bytes are zero |
| 175 | m_pcEntropyDecoder->decodeRemainingBytes(); |
174 | 176 | if(pcSlice->isNextSliceSegment()&&!pcSlice->isNextSlice()) |
175 | 177 | { |
176 | 178 | pcSlice->setSliceSegmentCurEndCUAddr(pcCU->getSCUAddr()+uiAbsPartIdx+uiCurNumParts); |
RCS file: /designs/cvsroot/codec_tools/hevc/HM/source/Lib/TLibDecoder/TDecEntropy.h,v
retrieving revision 1.1.2.34
diff -u -r1.1.2.34 TDecEntropy.h
|
|
|
71 | 71 | virtual Void parseSliceHeader ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager) = 0; |
72 | 72 | |
73 | 73 | virtual Void parseTerminatingBit ( UInt& ruilsLast ) = 0; |
74 | | |
| 74 | |
| 75 | virtual Void parseRemainingBytes () = 0; |
| 76 | |
75 | 77 | virtual Void parseMVPIdx ( Int& riMVPIdx ) = 0; |
76 | 78 | |
77 | 79 | public: |
… |
… |
|
133 | 135 | Void decodeSliceHeader ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager) { m_pcEntropyDecoderIf->parseSliceHeader(rpcSlice, parameterSetManager); } |
134 | 136 | |
135 | 137 | Void decodeTerminatingBit ( UInt& ruiIsLast ) { m_pcEntropyDecoderIf->parseTerminatingBit(ruiIsLast); } |
136 | | |
| 138 | |
| 139 | Void decodeRemainingBytes () {m_pcEntropyDecoderIf->parseRemainingBytes();}; |
| 140 | |
137 | 141 | TDecEntropyIf* getEntropyDecoder() { return m_pcEntropyDecoderIf; } |
138 | 142 | |
139 | 143 | public: |
RCS file: /designs/cvsroot/codec_tools/hevc/HM/source/Lib/TLibDecoder/TDecSbac.cpp,v
retrieving revision 1.1.2.43
diff -u -r1.1.2.43 TDecSbac.cpp
|
|
|
190 | 190 | } |
191 | 191 | } |
192 | 192 | |
| 193 | Void TDecSbac::parseRemainingBytes() |
| 194 | { |
| 195 | UInt tmp; |
| 196 | if (m_pcBitstream->getNumBitsLeft() > 0) |
| 197 | { |
| 198 | tmp = m_pcBitstream->readByte(); |
| 199 | assert (tmp == 0); |
| 200 | } |
| 201 | } |
193 | 202 | |
194 | 203 | Void TDecSbac::xReadUnaryMaxSymbol( UInt& ruiSymbol, ContextModel* pcSCModel, Int iOffset, UInt uiMaxSymbol ) |
195 | 204 | { |
RCS file: /designs/cvsroot/codec_tools/hevc/HM/source/Lib/TLibDecoder/TDecSbac.h,v
retrieving revision 1.1.2.34
diff -u -r1.1.2.34 TDecSbac.h
|
|
|
80 | 80 | |
81 | 81 | Void parseSliceHeader ( TComSlice*& /*rpcSlice*/, ParameterSetManagerDecoder* /*parameterSetManager*/) {} |
82 | 82 | Void parseTerminatingBit ( UInt& ruiBit ); |
| 83 | Void parseRemainingBytes (); |
83 | 84 | Void parseMVPIdx ( Int& riMVPIdx ); |
84 | 85 | Void parseSaoMaxUvlc ( UInt& val, UInt maxSymbol ); |
85 | 86 | Void parseSaoMerge ( UInt& ruiVal ); |