Ignore:
Timestamp:
18 Jul 2014, 06:18:17 (10 years ago)
Author:
sharpjp-htm
Message:

LUT size reduction for DMM1 proposed in JCTVC-I0110 was integrated with a macro: SHARP_DMM1_I0110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev3-Sharp/source/Lib/TLibDecoder/TDecCu.cpp

    r983 r1001  
    12981298  {
    12991299    Int uiTabIdx = pcCU->getDmmWedgeTabIdx(DMM1_IDX, uiAbsPartIdx);
    1300    
     1300
     1301#if SHARP_DMM1_I0110
     1302    WedgeList* pacWedgeList  = pcCU->isDMM1UpscaleMode(uiWidth) ? &g_dmmWedgeLists[(g_aucConvertToBit[pcCU->getDMM1BasePatternWidth(uiWidth)])] :  &g_dmmWedgeLists[(g_aucConvertToBit[uiWidth])];
     1303#else
    13011304    WedgeList* pacWedgeList = &g_dmmWedgeLists[(g_aucConvertToBit[uiWidth])];
     1305#endif
    13021306    TComWedgelet* pcWedgelet = &(pacWedgeList->at( uiTabIdx ));
    1303    
     1307
    13041308    uiNumSegments = 2;
     1309
     1310#if SHARP_DMM1_I0110
     1311    pbMask       = pcCU->isDMM1UpscaleMode( uiWidth ) ? pcWedgelet->getScaledPattern(uiWidth) : pcWedgelet->getPattern();
     1312    uiMaskStride = pcCU->isDMM1UpscaleMode( uiWidth ) ? uiWidth : pcWedgelet->getStride();
     1313#else
    13051314    pbMask = pcWedgelet->getPattern();
    13061315    uiMaskStride = pcWedgelet->getStride();
     1316#endif
    13071317  }
    13081318  if( getDimType( uiLumaPredMode ) == DMM4_IDX )
Note: See TracChangeset for help on using the changeset viewer.