Changeset 792 in 3DVCSoftware for branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder
- Timestamp:
- 23 Jan 2014, 05:06:49 (11 years ago)
- Location:
- branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder/TDecCu.cpp
r782 r792 652 652 UInt uiWidth = pcCU->getWidth ( 0 ); 653 653 UInt uiHeight = pcCU->getHeight( 0 ); 654 #if !SEC_INTER_SDC_G0101 654 655 UChar* pMask = pcCU->getInterSDCMask(); 655 656 656 657 memset( pMask, 0, uiWidth*uiHeight ); 657 658 pcCU->xSetInterSDCCUMask( pcCU, pMask ); 659 #endif 658 660 659 661 Pel *pResi; … … 666 668 for( uiPelX = 0; uiPelX < uiWidth; uiPelX++ ) 667 669 { 670 #if SEC_INTER_SDC_G0101 671 pResi[ uiPelX ] = pcCU->getSDCSegmentDCOffset( 0, 0 ); 672 #else 668 673 UChar uiSeg = pMask[ uiPelX + uiPelY*uiWidth ]; 669 674 #if QC_SDC_UNIFY_G0130 … … 671 676 #else 672 677 pResi[ uiPelX ] = pcCU->getInterSDCSegmentDCOffset( uiSeg, 0 ); 678 #endif 673 679 #endif 674 680 } -
branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder/TDecEntropy.cpp
r782 r792 814 814 } 815 815 816 #if SEC_INTER_SDC_G0101 817 if( !pcCU->getSlice()->getIsDepth() || pcCU->getPartitionSize( uiAbsPartIdx ) != SIZE_2Nx2N || pcCU->isSkipped( uiAbsPartIdx ) ) 818 #else 816 819 if( !pcCU->getSlice()->getIsDepth() || ( pcCU->isIntra( uiAbsPartIdx ) && pcCU->getPartitionSize( uiAbsPartIdx ) != SIZE_2Nx2N ) || pcCU->isSkipped( uiAbsPartIdx ) ) 817 { 818 return; 819 } 820 820 #endif 821 { 822 return; 823 } 824 825 #if SEC_INTER_SDC_G0101 826 assert( pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_2Nx2N || ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->isSkipped( uiAbsPartIdx ) ) ); 827 #else 821 828 assert( ( pcCU->isIntra( uiAbsPartIdx ) && pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_2Nx2N ) || ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->isSkipped( uiAbsPartIdx ) ) ); 829 #endif 822 830 823 831 m_pcEntropyDecoderIf->parseSDCFlag( pcCU, uiAbsPartIdx, uiDepth ); -
branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder/TDecSbac.cpp
r782 r792 2210 2210 else 2211 2211 { 2212 #if SEC_INTER_SDC_G0101 2213 uiNumSegments = 1; 2214 #else 2212 2215 PartSize cPartSize = pcCU->getPartitionSize( absPartIdx ); 2213 2214 2216 uiNumSegments = ( cPartSize == SIZE_2Nx2N ) ? 1 : ( cPartSize == SIZE_NxN ? 4 : 2 ); 2217 #endif 2215 2218 symbol = 1; 2216 2219 }
Note: See TracChangeset for help on using the changeset viewer.