Changeset 251 in 3DVCSoftware for branches/HTM-5.1-dev1-LG/source/Lib/TLibCommon/TComDataCU.cpp
- Timestamp:
- 4 Feb 2013, 01:35:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev1-LG/source/Lib/TLibCommon/TComDataCU.cpp
r210 r251 135 135 #if HHI_DMM_PRED_TEX 136 136 m_puiWedgePredTexTabIdx = NULL; 137 #if LGE_DMM3_SIMP_C0044 138 m_puiWedgePredTexIntraTabIdx = NULL; 139 #endif 137 140 m_piWedgePredTexDeltaDC1 = NULL; 138 141 m_piWedgePredTexDeltaDC2 = NULL; … … 283 286 #if HHI_DMM_PRED_TEX 284 287 m_puiWedgePredTexTabIdx = (UInt*)xMalloc(UInt, uiNumPartition); 288 #if LGE_DMM3_SIMP_C0044 289 m_puiWedgePredTexIntraTabIdx = (UInt*)xMalloc(UInt, uiNumPartition); 290 #endif 285 291 m_piWedgePredTexDeltaDC1 = (Int* )xMalloc(Int, uiNumPartition); 286 292 m_piWedgePredTexDeltaDC2 = (Int* )xMalloc(Int, uiNumPartition); … … 408 414 #if HHI_DMM_PRED_TEX 409 415 if ( m_puiWedgePredTexTabIdx ) { xFree(m_puiWedgePredTexTabIdx ); m_puiWedgePredTexTabIdx = NULL; } 416 #if LGE_DMM3_SIMP_C0044 417 if ( m_puiWedgePredTexIntraTabIdx ) { xFree(m_puiWedgePredTexIntraTabIdx); m_puiWedgePredTexIntraTabIdx = NULL; } 418 #endif 410 419 if ( m_piWedgePredTexDeltaDC1 ) { xFree(m_piWedgePredTexDeltaDC1 ); m_piWedgePredTexDeltaDC1 = NULL; } 411 420 if ( m_piWedgePredTexDeltaDC2 ) { xFree(m_piWedgePredTexDeltaDC2 ); m_piWedgePredTexDeltaDC2 = NULL; } … … 618 627 #if HHI_DMM_PRED_TEX 619 628 memset( m_puiWedgePredTexTabIdx + firstElement, 0, sizeof( UInt ) * numElements ); 629 #if LGE_DMM3_SIMP_C0044 630 memset( m_puiWedgePredTexIntraTabIdx + firstElement, 0, sizeof( UInt ) * numElements ); 631 #endif 620 632 memset( m_piWedgePredTexDeltaDC1 + firstElement, 0, sizeof( Int ) * numElements ); 621 633 memset( m_piWedgePredTexDeltaDC2 + firstElement, 0, sizeof( Int ) * numElements ); … … 803 815 #if HHI_DMM_PRED_TEX 804 816 m_puiWedgePredTexTabIdx [ui] = 0; 817 #if LGE_DMM3_SIMP_C0044 818 m_puiWedgePredTexIntraTabIdx [ui] = 0; 819 #endif 805 820 m_piWedgePredTexDeltaDC1 [ui] = 0; 806 821 m_piWedgePredTexDeltaDC2 [ui] = 0; … … 921 936 #if HHI_DMM_PRED_TEX 922 937 memset( m_puiWedgePredTexTabIdx, 0, sizeof( UInt ) * m_uiNumPartition ); 938 #if LGE_DMM3_SIMP_C0044 939 memset( m_puiWedgePredTexIntraTabIdx, 0, sizeof( UInt ) * m_uiNumPartition ); 940 #endif 923 941 memset( m_piWedgePredTexDeltaDC1, 0, sizeof( Int ) * m_uiNumPartition ); 924 942 memset( m_piWedgePredTexDeltaDC2, 0, sizeof( Int ) * m_uiNumPartition ); … … 992 1010 #if HHI_DMM_PRED_TEX 993 1011 m_puiWedgePredTexTabIdx [ui]=pcCU->getWedgePredTexTabIdx (uiPartOffset+ui); 1012 #if LGE_DMM3_SIMP_C0044 1013 m_puiWedgePredTexIntraTabIdx [ui]=pcCU->getWedgePredTexIntraTabIdx (uiPartOffset+ui); 1014 #endif 994 1015 m_piWedgePredTexDeltaDC1 [ui]=pcCU->getWedgePredTexDeltaDC1 (uiPartOffset+ui); 995 1016 m_piWedgePredTexDeltaDC2 [ui]=pcCU->getWedgePredTexDeltaDC2 (uiPartOffset+ui); … … 1193 1214 #if HHI_DMM_PRED_TEX 1194 1215 m_puiWedgePredTexTabIdx = pcCU->getWedgePredTexTabIdx() + uiPart; 1216 #if LGE_DMM3_SIMP_C0044 1217 m_puiWedgePredTexIntraTabIdx = pcCU->getWedgePredTexIntraTabIdx() + uiPart; 1218 #endif 1195 1219 m_piWedgePredTexDeltaDC1 = pcCU->getWedgePredTexDeltaDC1() + uiPart; 1196 1220 m_piWedgePredTexDeltaDC2 = pcCU->getWedgePredTexDeltaDC2() + uiPart; … … 1375 1399 #if HHI_DMM_PRED_TEX 1376 1400 memcpy( m_puiWedgePredTexTabIdx + uiOffset, pcCU->getWedgePredTexTabIdx(), sizeof( UInt ) * uiNumPartition ); 1401 #if LGE_DMM3_SIMP_C0044 1402 memcpy( m_puiWedgePredTexIntraTabIdx + uiOffset, pcCU->getWedgePredTexIntraTabIdx(), sizeof( UInt ) * uiNumPartition ); 1403 #endif 1377 1404 memcpy( m_piWedgePredTexDeltaDC1 + uiOffset, pcCU->getWedgePredTexDeltaDC1(), sizeof( Int ) * uiNumPartition ); 1378 1405 memcpy( m_piWedgePredTexDeltaDC2 + uiOffset, pcCU->getWedgePredTexDeltaDC2(), sizeof( Int ) * uiNumPartition ); … … 1501 1528 #if HHI_DMM_PRED_TEX 1502 1529 memcpy( rpcCU->getWedgePredTexTabIdx() + m_uiAbsIdxInLCU, m_puiWedgePredTexTabIdx, sizeof( UInt ) * m_uiNumPartition ); 1530 #if LGE_DMM3_SIMP_C0044 1531 memcpy( rpcCU->getWedgePredTexIntraTabIdx() + m_uiAbsIdxInLCU, m_puiWedgePredTexIntraTabIdx, sizeof( UInt ) * m_uiNumPartition ); 1532 #endif 1503 1533 memcpy( rpcCU->getWedgePredTexDeltaDC1() + m_uiAbsIdxInLCU, m_piWedgePredTexDeltaDC1, sizeof( Int ) * m_uiNumPartition ); 1504 1534 memcpy( rpcCU->getWedgePredTexDeltaDC2() + m_uiAbsIdxInLCU, m_piWedgePredTexDeltaDC2, sizeof( Int ) * m_uiNumPartition ); … … 1628 1658 #if HHI_DMM_PRED_TEX 1629 1659 memcpy( rpcCU->getWedgePredTexTabIdx() + uiPartOffset, m_puiWedgePredTexTabIdx, sizeof( UInt ) * uiQNumPart ); 1660 #if LGE_DMM3_SIMP_C0044 1661 memcpy( rpcCU->getWedgePredTexIntraTabIdx() + uiPartOffset, m_puiWedgePredTexIntraTabIdx, sizeof( UInt ) * uiQNumPart ); 1662 #endif 1630 1663 memcpy( rpcCU->getWedgePredTexDeltaDC1() + uiPartOffset, m_piWedgePredTexDeltaDC1, sizeof( Int ) * uiQNumPart ); 1631 1664 memcpy( rpcCU->getWedgePredTexDeltaDC2() + uiPartOffset, m_piWedgePredTexDeltaDC2, sizeof( Int ) * uiQNumPart ); … … 7786 7819 } 7787 7820 7821 #if LGE_DMM3_SIMP_C0044 7822 Void TComDataCU::setWedgePredTexIntraTabIdxSubParts( UInt uiTIdx, UInt uiAbsPartIdx, UInt uiDepth ) 7823 { 7824 UInt uiCurrPartNumb = m_pcPic->getNumPartInCU() >> (uiDepth << 1); 7825 7826 for ( UInt ui = 0; ui < uiCurrPartNumb; ui++ ) 7827 { 7828 m_puiWedgePredTexIntraTabIdx[uiAbsPartIdx+ui] = uiTIdx; 7829 } 7830 } 7831 #endif 7832 7788 7833 Void TComDataCU::setWedgePredTexDeltaDC1SubParts( Int iDC1, UInt uiAbsPartIdx, UInt uiDepth ) 7789 7834 {
Note: See TracChangeset for help on using the changeset viewer.