Changeset 575 in 3DVCSoftware for branches/HTM-DEV-2.0-dev2-LG
- Timestamp:
- 16 Aug 2013, 03:46:37 (11 years ago)
- Location:
- branches/HTM-DEV-2.0-dev2-LG/source/Lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-2.0-dev2-LG/source/Lib/TLibCommon/TComDataCU.cpp
r571 r575 291 291 m_pbInterSDCFlag = (Bool* )xMalloc(Bool, uiNumPartition); 292 292 for( Int i = 0; i < 4; i++ ) 293 { 293 294 m_apSegmentInterDCOffset[i] = (Int*)xMalloc(Int, uiNumPartition); 295 } 294 296 #endif 295 297 } -
branches/HTM-DEV-2.0-dev2-LG/source/Lib/TLibDecoder/TDecCu.cpp
r571 r575 490 490 #if LGE_INTER_SDC_E0156 491 491 if( m_ppcCU[uiDepth]->getInterSDCFlag( 0 ) ) 492 { 492 493 xReconInterSDC( m_ppcCU[uiDepth], uiAbsPartIdx, uiDepth ); 494 } 493 495 else 496 { 494 497 #endif 495 498 xReconInter( m_ppcCU[uiDepth], uiDepth ); 499 #if LGE_INTER_SDC_E0156 500 } 501 #endif 496 502 break; 497 503 case MODE_INTRA: -
branches/HTM-DEV-2.0-dev2-LG/source/Lib/TLibDecoder/TDecEntropy.cpp
r571 r575 674 674 675 675 if( !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) 676 return; 676 { 677 return; 678 } 677 679 678 680 if( !pcCU->getSlice()->getIsDepth() || pcCU->isIntra( uiAbsPartIdx ) || pcCU->isSkipped( uiAbsPartIdx ) ) 679 return; 681 { 682 return; 683 } 680 684 681 685 m_pcEntropyDecoderIf->parseInterSDCFlag( pcCU, uiAbsPartIdx, uiDepth ); … … 685 689 { 686 690 if( !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) 687 return; 691 { 692 return; 693 } 688 694 689 695 if( !pcCU->getSlice()->getIsDepth() || pcCU->isIntra( uiAbsPartIdx ) || !pcCU->getInterSDCFlag( uiAbsPartIdx ) ) 690 return; 696 { 697 return; 698 } 691 699 692 700 UInt uiNumSegments = ( pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_2Nx2N ) ? 1 : ( pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_NxN ? 4 : 2 ); … … 694 702 // decode residual data for each segment 695 703 for( UInt uiSeg = 0; uiSeg < uiNumSegments; uiSeg++ ) 704 { 696 705 m_pcEntropyDecoderIf->parseInterSDCResidualData( pcCU, uiAbsPartIdx, uiDepth, uiSeg ); 706 } 697 707 } 698 708 #endif -
branches/HTM-DEV-2.0-dev2-LG/source/Lib/TLibDecoder/TDecSbac.cpp
r571 r575 2267 2267 } 2268 2268 else 2269 { 2269 2270 pcCU->setInterSDCFlagSubParts( false, uiAbsPartIdx, 0, uiDepth); 2271 } 2270 2272 } 2271 2273 -
branches/HTM-DEV-2.0-dev2-LG/source/Lib/TLibEncoder/TEncCu.cpp
r571 r575 1864 1864 #if LGE_INTER_SDC_E0156 1865 1865 if( rpcTempCU->getSlice()->getVPS()->getInterSDCFlag( rpcTempCU->getSlice()->getLayerIdInVps() ) ) 1866 { 1866 1867 bestIsSkip = !rpcBestCU->getSDCFlag( 0 ) && ( rpcBestCU->getQtRootCbf(0) == 0 ); 1868 } 1867 1869 else 1870 { 1868 1871 #endif 1869 1872 bestIsSkip = rpcBestCU->getQtRootCbf(0) == 0; 1873 #if LGE_INTER_SDC_E0156 1874 } 1875 #endif 1870 1876 } 1871 1877 } -
branches/HTM-DEV-2.0-dev2-LG/source/Lib/TLibEncoder/TEncEntropy.cpp
r571 r575 828 828 { 829 829 if( !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) 830 return; 830 { 831 return; 832 } 831 833 832 834 if( !pcCU->getSlice()->getIsDepth() || pcCU->isIntra( uiAbsPartIdx ) || pcCU->isSkipped( uiAbsPartIdx ) ) 833 return; 834 835 if( bRD ) 836 uiAbsPartIdx = 0; 835 { 836 return; 837 } 838 839 if( bRD ) 840 { 841 uiAbsPartIdx = 0; 842 } 837 843 838 844 m_pcEntropyCoderIf->codeInterSDCFlag( pcCU, uiAbsPartIdx ); … … 842 848 { 843 849 if( !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) 844 return; 850 { 851 return; 852 } 845 853 846 854 if( !pcCU->getSlice()->getIsDepth() || pcCU->isIntra( uiAbsPartIdx ) || !pcCU->getInterSDCFlag( uiAbsPartIdx ) ) 847 return; 848 849 if( bRD ) 850 uiAbsPartIdx = 0; 855 { 856 return; 857 } 858 859 if( bRD ) 860 { 861 uiAbsPartIdx = 0; 862 } 851 863 852 864 // number of segments depends on prediction mode for INTRA … … 855 867 // encode residual data for each segment 856 868 for( UInt uiSeg = 0; uiSeg < uiNumSegments; uiSeg++ ) 869 { 857 870 m_pcEntropyCoderIf->codeInterSDCResidualData( pcCU, uiAbsPartIdx, uiSeg ); 871 } 858 872 } 859 873 #endif -
branches/HTM-DEV-2.0-dev2-LG/source/Lib/TLibEncoder/TEncSearch.cpp
r571 r575 5532 5532 #if H_3D_VSO //M 14 5533 5533 if ( m_pcRdCost->getUseLambdaScaleVSO() ) 5534 { 5534 5535 rdCost = m_pcRdCost->calcRdCostVSO( uiBits, ruiDist ); 5536 } 5535 5537 else 5536 5538 #endif
Note: See TracChangeset for help on using the changeset viewer.