Changeset 537 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecSbac.cpp
- Timestamp:
- 13 Jul 2013, 15:51:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecSbac.cpp
r531 r537 166 166 m_cTransformSkipSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_TRANSFORMSKIP_FLAG ); 167 167 m_CUTransquantBypassFlagSCModel.initBuffer( sliceType, qp, (UChar*)INIT_CU_TRANSQUANT_BYPASS_FLAG ); 168 169 168 #if H_3D_DIM 170 169 m_cDepthIntraModeSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_DEPTH_INTRA_MODE ); … … 184 183 #endif 185 184 #endif 186 187 185 m_uiLastDQpNonZero = 0; 188 186 … … 200 198 UInt uiBit; 201 199 m_pcTDecBinIf->decodeBinTrm(uiBit); 200 assert(uiBit); // end_of_sub_stream_one_bit must be equal to 1 202 201 m_pcTDecBinIf->finish(); 203 202 m_pcBitstream->readOutTrailingBits(); … … 259 258 { 260 259 m_pcTDecBinIf->decodeBinTrm( ruiBit ); 260 if ( ruiBit ) 261 { 262 m_pcTDecBinIf->finish(); 263 } 261 264 } 262 265 … … 613 616 { 614 617 UInt uiSymbol; 615 Bool readPCMSampleFlag = false;616 618 617 619 m_pcTDecBinIf->decodeBinTrm(uiSymbol); … … 622 624 if (uiSymbol) 623 625 { 624 readPCMSampleFlag = true;625 m_pcTDecBinIf->decodePCMAlignBits();626 }627 628 if (readPCMSampleFlag == true)629 {630 626 Bool bIpcmFlag = true; 631 627 … … 693 689 } 694 690 695 m_pcTDecBinIf->resetBac();691 m_pcTDecBinIf->start(); 696 692 } 697 693 } … … 1003 999 else 1004 1000 { 1005 intraPredMode = 0;1006 1001 m_pcTDecBinIf->decodeBinsEP( symbol, 5 ); 1007 1002 intraPredMode = symbol; … … 1444 1439 else 1445 1440 { 1446 iDQp=0;1447 1441 qp = pcCU->getRefQP(uiAbsPartIdx); 1448 1442 } … … 1634 1628 1635 1629 //===== decode significance flags ===== 1636 UInt uiScanPosLast = uiBlkPosLast;1630 UInt uiScanPosLast; 1637 1631 const UInt *scan = g_auiSigLastScan[ uiScanIdx ][ uiLog2BlockSize-1 ]; 1638 1632 for( uiScanPosLast = 0; uiScanPosLast < uiMaxNumCoeffM1; uiScanPosLast++ )
Note: See TracChangeset for help on using the changeset viewer.