Changeset 42 in SHVCSoftware for branches/SHM-1.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 21 Feb 2013, 00:01:40 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-1.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r38 r42 561 561 if (m_bFirstSliceInPicture) 562 562 { 563 564 563 #if AVC_BASE 565 564 if( m_layerId == 1 ) … … 609 608 } 610 609 } 611 #if AVC_SYNTAX612 if( m_apcSlicePilot->getPOC() == 0 )613 {614 // initialize partition order.615 UInt* piTmp = &g_auiZscanToRaster[0];616 initZscanToRaster( pBLPic->getPicSym()->getMaxDepth() + 1, 1, 0, piTmp );617 initRasterToZscan( pBLPic->getPicSym()->getMaxCUWidth(), pBLPic->getPicSym()->getMaxCUHeight(), pBLPic->getPicSym()->getMaxDepth() + 1 );618 }619 pBLPic->getSlice( 0 )->setPOC( m_apcSlicePilot->getPOC() );620 pBLPic->getSlice( 0 )->setSliceType( m_apcSlicePilot->getSliceType() );621 pBLPic->readBLSyntax( m_ppcTDecTop[0]->getBLSyntaxFile(), SYNTAX_BYTES );622 #endif623 610 } 624 611 #endif … … 758 745 { 759 746 pcSlice->checkCRA(pcSlice->getRPS(), m_pocCRA, m_prevRAPisBLA, m_cListPic); 760 #if !REF_IDX_FRAMEWORK 747 #if !REF_IDX_FRAMEWORK || AVC_SYNTAX 761 748 // Set reference list 762 749 pcSlice->setRefPicList( m_cListPic ); … … 768 755 #if AVC_BASE 769 756 pcSlice->setBaseColPic ( *m_ppcTDecTop[0]->getListPic()->begin() ); 757 #if AVC_SYNTAX 758 TComPic* pBLPic = pcSlice->getBaseColPic(); 759 if( pcSlice->getPOC() == 0 ) 760 { 761 // initialize partition order. 762 UInt* piTmp = &g_auiZscanToRaster[0]; 763 initZscanToRaster( pBLPic->getPicSym()->getMaxDepth() + 1, 1, 0, piTmp ); 764 initRasterToZscan( pBLPic->getPicSym()->getMaxCUWidth(), pBLPic->getPicSym()->getMaxCUHeight(), pBLPic->getPicSym()->getMaxDepth() + 1 ); 765 } 766 pBLPic->getSlice( 0 )->initBaseLayerRPL( pcSlice ); 767 pBLPic->readBLSyntax( m_ppcTDecTop[0]->getBLSyntaxFile(), SYNTAX_BYTES ); 768 #endif 769 770 770 #else 771 771 TDecTop *pcTDecTop = (TDecTop *)getLayerDec( m_layerId-1 ); … … 788 788 789 789 #if REF_IDX_FRAMEWORK 790 #if !AVC_SYNTAX 790 791 // Set reference list 791 792 pcSlice->setRefPicList( m_cListPic ); 793 #endif 792 794 if(m_layerId > 0) 793 795 {
Note: See TracChangeset for help on using the changeset viewer.