Changeset 613 in 3DVCSoftware for branches/HTM-8.0-dev0/source/Lib/TLibCommon
- Timestamp:
- 3 Sep 2013, 19:44:30 (11 years ago)
- Location:
- branches/HTM-8.0-dev0/source/Lib/TLibCommon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.0-dev0/source/Lib/TLibCommon/TComPrediction.cpp
r612 r613 2852 2852 Int uiColTexIntraDir = pcColTexCU->isIntra( uiTexPartIdx ) ? pcColTexCU->getLumaIntraDir( uiTexPartIdx ) : 255; 2853 2853 2854 #if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 2855 assert( uiColTexIntraDir > DC_IDX && uiColTexIntraDir < 35 ); 2856 return g_aauiWdgLstM3[g_aucConvertToBit[uiWidth]][uiColTexIntraDir-2].at(intraTabIdx); 2857 #else 2854 2858 if( uiColTexIntraDir > DC_IDX && uiColTexIntraDir < 35 ) { return g_aauiWdgLstM3[g_aucConvertToBit[uiWidth]][uiColTexIntraDir-2].at(intraTabIdx); } 2855 2859 else { return g_dmmWedgeNodeLists[(g_aucConvertToBit[uiWidth])].at(intraTabIdx).getPatternIdx(); } 2860 #endif 2856 2861 } 2857 2862 -
branches/HTM-8.0-dev0/source/Lib/TLibCommon/TComRom.cpp
r608 r613 347 347 { //2x2 4x4 8x8 16x16 32x32 64x64 348 348 0, 7, 10, 11, 11, 13 }; 349 #if LGE_PKU_DMM3_OVERLAP_E0159 349 #if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 350 350 const UChar g_dmm3IntraTabIdxBits[6] = 351 351 { //2x2 4x4 8x8 16x16 32x32 64x64 … … 611 611 std::vector< std::vector< std::vector<UInt> > > g_aauiWdgLstM3; 612 612 613 #if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 614 Void initWedgeLists( Bool initNodeList ) 615 #else 613 616 Void initWedgeLists( Bool initRefinements ) 617 #endif 614 618 { 615 619 if( !g_dmmWedgeLists.empty() ) return; … … 624 628 g_dmmWedgeRefLists.push_back( acWedgeRefList ); 625 629 630 #if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 631 if( initNodeList ) 632 { 633 #endif 626 634 // create WedgeNodeList 627 635 std::vector<TComWedgeNode> acWedgeNodeList; … … 633 641 cWedgeNode.setPatternIdx( uiPos ); 634 642 643 #if !LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 635 644 if( initRefinements ) 636 645 { 646 #endif 637 647 UInt uiRefPos = 0; 638 648 for( Int iOffS = -1; iOffS <= 1; iOffS++ ) … … 681 691 } 682 692 } 693 #if !LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 683 694 } 695 #endif 684 696 acWedgeNodeList.push_back( cWedgeNode ); 685 697 } 686 698 } 687 699 g_dmmWedgeNodeLists.push_back( acWedgeNodeList ); 700 #if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 701 } 702 #endif 688 703 } 689 704 return; -
branches/HTM-8.0-dev0/source/Lib/TLibCommon/TComRom.h
r608 r613 174 174 extern std::vector< std::vector< std::vector<UInt> > > g_aauiWdgLstM3; 175 175 176 #if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 177 Void initWedgeLists( Bool initNodeList = false ); 178 #else 176 179 Void initWedgeLists( Bool initRefinements = false ); 180 #endif 177 181 Void createWedgeList( UInt uiWidth, UInt uiHeight, std::vector<TComWedgelet> &racWedgeList, std::vector<TComWedgeRef> &racWedgeRefList, WedgeResolution eWedgeRes ); 178 182 Void addWedgeletToList( TComWedgelet cWedgelet, std::vector<TComWedgelet> &racWedgeList, std::vector<TComWedgeRef> &racWedgeRefList ); -
branches/HTM-8.0-dev0/source/Lib/TLibCommon/TypeDef.h
r612 r613 265 265 #endif 266 266 #if H_3D_DIM_DMM 267 #define LGE_PKU_DMM3_OVERLAP_E0159 267 #define LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 1 // Removal of overlap between DMM3 and DMM1 268 268 #endif 269 269 #endif
Note: See TracChangeset for help on using the changeset viewer.