Changeset 1092 in 3DVCSoftware for branches/HTM-12.2-dev1-Mediatek/source/Lib


Ignore:
Timestamp:
28 Oct 2014, 04:29:22 (10 years ago)
Author:
mediatek-htm
Message:

Adding J0035 related changes, which reduces table size for the DMM wedgelet patterns. The corresponding changes are marked by macro MTK_DMM_SIM_J0035.

Location:
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibCommon/TComRom.cpp

    r1084 r1092  
    362362const UChar g_dmm1TabIdxBits[6] =
    363363{ //2x2   4x4   8x8 16x16 32x32 64x64
     364#if MTK_DMM_SIM_J0035
     365     0,    7,   10,   9,    9,   13 };
     366#else
    364367     0,    7,   10,   11,   11,   13 };
     368#endif
    365369
    366370const UChar g_dmm3IntraTabIdxBits[6] =
     
    763767    }
    764768
     769#if MTK_DMM_SIM_J0035
     770    for( Int iK = 0; iK < uiBlockSize; iK += (uiWidth>=16 ?2:1))
     771    {
     772      for( Int iL = 0; iL < uiBlockSize; iL += ((uiWidth>=16 && uiOri<4)?2:1) )
     773      {
     774        cTempWedgelet.setWedgelet( uhStartX + (iK*iStepStartX) , uhStartY + (iK*iStepStartY), uhEndX + (iL*iStepEndX), uhEndY + (iL*iStepEndY), (UChar)uiOri, eWedgeRes, ((iL%2)==0 && (iK%2)==0) );
     775        addWedgeletToList( cTempWedgelet, racWedgeList, racWedgeRefList );
     776      }
     777    }
     778#else
    765779    for( Int iK = 0; iK < uiBlockSize; iK++ )
    766780    {
     
    771785      }
    772786    }
     787#endif
    773788  }
    774789
  • branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibCommon/TypeDef.h

    r1091 r1092  
    273273#define H_3D_FAST_DEPTH_INTRA             1   // Fast DMM and RBC Mode Selection
    274274                                              // SCU_HS_FAST_DEPTH_INTRA_E0238_HHIFIX
     275#define MTK_DMM_SIM_J0035                 1
    275276#endif
    276277
Note: See TracChangeset for help on using the changeset viewer.