Ignore:
Timestamp:
4 Apr 2014, 16:15:09 (11 years ago)
Author:
rwth
Message:
  • integration of H0057 and H0072
Location:
branches/HTM-10.2-dev2-RWTH/source/Lib/TLibCommon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev2-RWTH/source/Lib/TLibCommon/TComDataCU.cpp

    r888 r895  
    39403940      && !bARPFlag
    39413941#endif
     3942#if RWTH_H0057_DBBP_NO_SPU
     3943      && !bDBBPFlag
     3944#endif
    39423945      )
    39433946    {
     
    39633966      && !bARPFlag
    39643967#endif
     3968#if RWTH_H0057_DBBP_NO_SPU
     3969      && !bDBBPFlag
     3970#endif
    39653971      )
    39663972    {
     
    39863992      && !bARPFlag
    39873993#endif
     3994#if RWTH_H0057_DBBP_NO_SPU
     3995      && !bDBBPFlag
     3996#endif
    39883997      )
    39893998    {
     
    40064015#if H_3D_ARP
    40074016      && !bARPFlag
     4017#endif
     4018#if RWTH_H0057_DBBP_NO_SPU
     4019      && !bDBBPFlag
    40084020#endif
    40094021      )
     
    40294041#if H_3D_ARP
    40304042      && !bARPFlag
     4043#endif
     4044#if RWTH_H0057_DBBP_NO_SPU
     4045      && !bDBBPFlag
    40314046#endif
    40324047      )
     
    46894704#if H_3D_ARP
    46904705      !bARPFlag &&
     4706#endif
     4707#if RWTH_H0057_DBBP_NO_SPU
     4708      !bDBBPFlag &&
    46914709#endif
    46924710      xAddVspCand( mrgCandIdx, &cDisInfo, iCount, abCandIsInter, pcMvFieldNeighbours, puhInterDirNeighbours, vspFlag, iCount3DV, inheritedVSPDisInfo ) )
  • branches/HTM-10.2-dev2-RWTH/source/Lib/TLibCommon/TComDataCU.h

    r884 r895  
    7070  Bool        abMergeFlag[2];       // for two segments
    7171  UChar       auhMergeIndex[2];     // for two segments
     72#if !RWTH_H0057_DBBP_NO_SPU
    7273  Char        ahVSPFlag[2];         // for two segments
    7374  DisInfo     acDvInfo[2];          // for two segments
     75#endif
    7476 
    7577  PartSize    eVirtualPartSize;
  • branches/HTM-10.2-dev2-RWTH/source/Lib/TLibCommon/TComPrediction.cpp

    r888 r895  
    639639 
    640640  // start mapping process
     641#if !MTK_H0072_DBBP_AMP_REM
    641642  Bool bAMPAvail = uiSize > 8;
    642643  Int matchedPartSum[6][2] = {{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}}; // counter for each part size and boolean option
    643644  PartSize virtualPartSizes[6] = { SIZE_Nx2N, SIZE_2NxN, SIZE_2NxnU, SIZE_2NxnD, SIZE_nLx2N, SIZE_nRx2N };
     645#else
     646  Int matchedPartSum[2][2] = {{0,0},{0,0}}; // counter for each part size and boolean option
     647  PartSize virtualPartSizes[2] = { SIZE_Nx2N, SIZE_2NxN};
     648#endif
    644649 
    645650  UInt uiHalfSize = uiSize>>1;
     651#if !MTK_H0072_DBBP_AMP_REM
    646652  UInt uiQuarterSize = uiSize>>2;
     653#endif
    647654 
    648655  for (Int y=0; y<uiSize; y+=iSubSample)
     
    677684      }
    678685     
     686#if !MTK_H0072_DBBP_AMP_REM
    679687      if( bAMPAvail )
    680688      {
     
    719727        }
    720728      }
     729#endif
    721730    }
    722731   
     
    728737 
    729738  Int iMaxMatchSum = 0;
    730   for(Int p=0; p<6; p++)  // loop over partition sizes
     739#if !MTK_H0072_DBBP_AMP_REM
     740  for(Int p=0; p<6; p++)  // loop over partition
     741#else
     742  for(Int p=0; p<2; p++)  // loop over partition
     743#endif
    731744  {
    732745    for( Int b=0; b<=1; b++ ) // loop over boolean options
  • branches/HTM-10.2-dev2-RWTH/source/Lib/TLibCommon/TypeDef.h

    r888 r895  
    295295#define DBBP_INVALID_SHORT                (-4)
    296296#define RWTH_DBBP_PACK_MODE               SIZE_2NxN
     297#define MTK_H0072_DBBP_AMP_REM                 1
     298#define RWTH_H0057_DBBP_NO_SPU                 1
    297299#endif
    298300
Note: See TracChangeset for help on using the changeset viewer.