Changeset 613 in 3DVCSoftware for branches/HTM-8.0-dev0/source/Lib/TLibCommon


Ignore:
Timestamp:
3 Sep 2013, 19:44:30 (11 years ago)
Author:
hhi
Message:

LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX: Fix for LGE_PKU_DMM3_OVERLAP_E0159, now including all DMM3 overlap related code.

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  
    28522852  Int           uiColTexIntraDir = pcColTexCU->isIntra( uiTexPartIdx ) ? pcColTexCU->getLumaIntraDir( uiTexPartIdx ) : 255;
    28532853
     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
    28542858  if( uiColTexIntraDir > DC_IDX && uiColTexIntraDir < 35 ) { return g_aauiWdgLstM3[g_aucConvertToBit[uiWidth]][uiColTexIntraDir-2].at(intraTabIdx); }
    28552859  else                                                     { return g_dmmWedgeNodeLists[(g_aucConvertToBit[uiWidth])].at(intraTabIdx).getPatternIdx(); }
     2860#endif
    28562861}
    28572862
  • branches/HTM-8.0-dev0/source/Lib/TLibCommon/TComRom.cpp

    r608 r613  
    347347{ //2x2   4x4   8x8 16x16 32x32 64x64
    348348     0,    7,   10,   11,   11,   13 };
    349 #if LGE_PKU_DMM3_OVERLAP_E0159
     349#if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX
    350350const UChar g_dmm3IntraTabIdxBits[6] =
    351351{ //2x2   4x4   8x8 16x16 32x32 64x64
     
    611611std::vector< std::vector< std::vector<UInt> > > g_aauiWdgLstM3;
    612612
     613#if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX
     614Void initWedgeLists( Bool initNodeList )
     615#else
    613616Void initWedgeLists( Bool initRefinements )
     617#endif
    614618{
    615619  if( !g_dmmWedgeLists.empty() ) return;
     
    624628    g_dmmWedgeRefLists.push_back( acWedgeRefList );
    625629
     630#if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX
     631    if( initNodeList )
     632    {
     633#endif
    626634    // create WedgeNodeList
    627635    std::vector<TComWedgeNode> acWedgeNodeList;
     
    633641        cWedgeNode.setPatternIdx( uiPos );
    634642
     643#if !LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX
    635644        if( initRefinements )
    636645        {
     646#endif
    637647          UInt uiRefPos = 0;
    638648          for( Int iOffS = -1; iOffS <= 1; iOffS++ )
     
    681691            }
    682692          }
     693#if !LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX
    683694        }
     695#endif
    684696        acWedgeNodeList.push_back( cWedgeNode );
    685697      }
    686698    }
    687699    g_dmmWedgeNodeLists.push_back( acWedgeNodeList );
     700#if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX
     701  }
     702#endif
    688703  }
    689704  return;
  • branches/HTM-8.0-dev0/source/Lib/TLibCommon/TComRom.h

    r608 r613  
    174174extern       std::vector< std::vector< std::vector<UInt> > > g_aauiWdgLstM3;
    175175
     176#if LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX
     177Void initWedgeLists( Bool initNodeList = false );
     178#else
    176179Void initWedgeLists( Bool initRefinements = false );
     180#endif
    177181Void createWedgeList( UInt uiWidth, UInt uiHeight, std::vector<TComWedgelet> &racWedgeList, std::vector<TComWedgeRef> &racWedgeRefList, WedgeResolution eWedgeRes );
    178182Void addWedgeletToList( TComWedgelet cWedgelet, std::vector<TComWedgelet> &racWedgeList, std::vector<TComWedgeRef> &racWedgeRefList );
  • branches/HTM-8.0-dev0/source/Lib/TLibCommon/TypeDef.h

    r612 r613  
    265265#endif
    266266#if H_3D_DIM_DMM
    267 #define LGE_PKU_DMM3_OVERLAP_E0159        1   // Removal of overlap between DMM3 and DMM1
     267#define LGE_PKU_DMM3_OVERLAP_E0159_HHIFIX 1   // Removal of overlap between DMM3 and DMM1
    268268#endif
    269269#endif
Note: See TracChangeset for help on using the changeset viewer.