Changeset 34 in 3DVCSoftware for branches/0.3-nokia/source/Lib/TLibDecoder
- Timestamp:
- 18 Mar 2012, 10:42:07 (13 years ago)
- Location:
- branches/0.3-nokia/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.3-nokia/source/Lib/TLibDecoder/TDecTop.cpp
r21 r34 513 513 514 514 #if DCM_SKIP_DECODING_FRAMES 515 #if FLEX_CODING_ORDER 516 Bool TDecTop::decode (Bool bEos, TComBitstream* pcBitstream, UInt& ruiPOC, TComList<TComPic*>*& rpcListPic, NalUnitType& reNalUnitType, TComSPS& cComSPS, Int& iSkipFrame, Int& iPOCLastDisplay, Bool& bNewPictureType) 517 #else 515 518 Bool TDecTop::decode (Bool bEos, TComBitstream* pcBitstream, UInt& ruiPOC, TComList<TComPic*>*& rpcListPic, NalUnitType& reNalUnitType, TComSPS& cComSPS, Int& iSkipFrame, Int& iPOCLastDisplay) 519 520 #endif 516 521 #else 517 522 Void TDecTop::decode (Bool bEos, TComBitstream* pcBitstream, UInt& ruiPOC, TComList<TComPic*>*& rpcListPic, NalUnitType& reNalUnitType, TComSPS& cComSPS ) … … 541 546 TComSPS cTempSPS; 542 547 m_cEntropyDecoder.decodeSPS( &cTempSPS ); 548 #if FLEX_CODING_ORDER 549 m_cNewSPS = cTempSPS; 550 #endif 543 551 544 552 if( (m_iViewIdx == cTempSPS.getViewId()) && ( m_bIsDepth == cTempSPS.isDepth() ) ) … … 615 623 { 616 624 m_uiPrevPOC = m_apcSlicePilot->getPOC(); 625 #if FLEX_CODING_ORDER 626 bNewPictureType = m_cNewSPS.isDepth(); 627 #endif 617 628 return true; 618 629 } … … 697 708 std::vector<TComPic*> apcSpatRefPics = getDecTop()->getSpatialRefPics( pcPic->getViewIdx(), pcSlice->getPOC(), m_cSPS.isDepth() ); 698 709 TComPic * const pcTexturePic = m_cSPS.isDepth() ? getDecTop()->getPicFromView( pcPic->getViewIdx(), pcSlice->getPOC(), false ) : NULL; 710 711 #if FLEX_CODING_ORDER 712 if (pcTexturePic != NULL) 713 { 714 assert( ! m_cSPS.isDepth() || pcTexturePic != NULL ); 715 pcSlice->setTexturePic( pcTexturePic ); 716 } 717 #else 699 718 assert( ! m_cSPS.isDepth() || pcTexturePic != NULL ); 700 719 pcSlice->setTexturePic( pcTexturePic ); 701 720 pcSlice->setViewIdx( pcPic->getViewIdx() ); 721 #endif 702 722 #if SONY_COLPIC_AVAILABILITY 703 723 pcSlice->setViewOrderIdx( pcPic->getViewOrderIdx() ); -
branches/0.3-nokia/source/Lib/TLibDecoder/TDecTop.h
r21 r34 111 111 TComList<TComPic*> m_cListPic; // Dynamic buffer 112 112 TComSPS m_cSPS; 113 #if FLEX_CODING_ORDER 114 TComSPS m_cNewSPS; 115 #endif 113 116 TComPPS m_cPPS; 114 117 TComSlice* m_apcSlicePilot; … … 167 170 Void init( TAppDecTop* pcTAppDecTop, Bool bFirstInstance = true ); 168 171 #if DCM_SKIP_DECODING_FRAMES 172 #if FLEX_CODING_ORDER 173 Bool decode (Bool bEos, TComBitstream* pcBitstream, UInt& ruiPOC, TComList<TComPic*>*& rpcListPic, NalUnitType& reNalUnitType, TComSPS& cComSPS, Int& iSkipFrame, Int& iPOCLastDisplay, Bool& bNewPictureType); 174 #else 169 175 Bool decode (Bool bEos, TComBitstream* pcBitstream, UInt& ruiPOC, TComList<TComPic*>*& rpcListPic, NalUnitType& reNalUnitType, TComSPS& cComSPS, Int& iSkipFrame, Int& iPOCLastDisplay); 176 177 #endif 170 178 #else 171 179 Void decode ( Bool bEos, TComBitstream* pcBitstream, UInt& ruiPOC, TComList<TComPic*>*& rpcListPic, NalUnitType& reNalUnitType, TComSPS& cComSPS );
Note: See TracChangeset for help on using the changeset viewer.