Changeset 1287 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.cpp
- Timestamp:
- 17 Jul 2015, 05:43:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.cpp
r1263 r1287 499 499 if ( pcCU->getQtRootCbf( 0) ) 500 500 { 501 m_ppcYuvReco[uiDepth]->addClip( m_ppcYuvReco[uiDepth], m_ppcYuvResi[uiDepth], 0, pcCU->getWidth( 0 ) ); 501 #if SVC_EXTENSION 502 m_ppcYuvReco[uiDepth]->addClip( m_ppcYuvReco[uiDepth], m_ppcYuvResi[uiDepth], 0, pcCU->getWidth( 0 ), pcCU->getSlice()->getBitDepths() ); 503 #else 504 m_ppcYuvReco[uiDepth]->addClip( m_ppcYuvReco[uiDepth], m_ppcYuvResi[uiDepth], 0, pcCU->getWidth( 0 ), pcCU->getSlice()->getSPS()->getBitDepths() ); 505 #endif 502 506 } 503 507 else … … 642 646 #endif 643 647 648 #if SVC_EXTENSION 649 const Int clipbd = pcCU->getSlice()->getBitDepth(toChannelType(compID)); 650 #else 651 const Int clipbd = pcCU->getSlice()->getSPS()->getBitDepth(toChannelType(compID)); 652 #endif 644 653 #if O0043_BEST_EFFORT_DECODING 645 const Int bitDepthDelta = g_bitDepthInStream[toChannelType(compID)] - g_bitDepth[toChannelType(compID)]; 646 #endif 647 const Int clipbd = g_bitDepth[toChannelType(compID)]; 654 const Int bitDepthDelta = pcCU->getSlice()->getSPS()->getStreamBitDepth(toChannelType(compID)) - clipbd; 655 #endif 648 656 649 657 if( useCrossComponentPrediction ) … … 825 833 Pel* piPicReco = pcCU->getPic()->getPicYuvRec()->getAddr(compID, pcCU->getCtuRsAddr(), pcCU->getZorderIdxInCtu()+uiPartIdx); 826 834 const UInt uiPicStride = pcCU->getPic()->getPicYuvRec()->getStride(compID); 827 const UInt uiPcmLeftShiftBit = g_bitDepth[toChannelType(compID)] - pcCU->getSlice()->getSPS()->getPCMBitDepth(toChannelType(compID)); 835 #if SVC_EXTENSION 836 const UInt uiPcmLeftShiftBit = pcCU->getSlice()->getBitDepth(toChannelType(compID)) - pcCU->getSlice()->getSPS()->getPCMBitDepth(toChannelType(compID)); 837 #else 838 const UInt uiPcmLeftShiftBit = pcCU->getSlice()->getSPS()->getBitDepth(toChannelType(compID)) - pcCU->getSlice()->getSPS()->getPCMBitDepth(toChannelType(compID)); 839 #endif 828 840 829 841 for(UInt uiY = 0; uiY < uiHeight; uiY++ )
Note: See TracChangeset for help on using the changeset viewer.