Ignore:
Timestamp:
4 Apr 2014, 16:15:09 (10 years ago)
Author:
rwth
Message:
  • integration of H0057 and H0072
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.