Ticket #54: 54Patch.patch

File 54Patch.patch, 1.8 KB (added by tung@…, 14 years ago)

Patch 54

  • TComRom.cpp

     
    7373
    7474#if HHI_TRANSFORM_CODING
    7575  // init adaptive scan for sig/last SE coding
     76#if BUGFIX54
     77  for ( i = 0; i < MAX_CU_DEPTH+1; i++ )
     78#else
    7679  for ( i = 0; i < MAX_CU_DEPTH; i++ )
     80#endif
    7781  {
    7882    const int   iBlockSize    = 1 << i;
    7983    const UInt  uiNumScanPos  = UInt( iBlockSize * iBlockSize );
     
    8387    initSigLastScanPattern( g_auiSigLastScan[ i ][ 0 ], i, false );
    8488  }
    8589#endif
     90#endif
    8691
    8792#if QC_MDDT
    8893  int ipredmode;
  • TComRom.h

     
    4747// Macros
    4848// ====================================================================================================================
    4949
    50 #define     MAX_CU_DEPTH            7                           // log2(LCUSize)
     50#define     MAX_CU_DEPTH            6                           // log2(LCUSize)
    5151#define     MAX_CU_SIZE             (1<<(MAX_CU_DEPTH))         // maximum allowable size of CU
    5252#define     MIN_PU_SIZE             4
    5353#define     MAX_NUM_SPU_W           (MAX_CU_SIZE/MIN_PU_SIZE)   // maximum number of SPU in horizontal line
  • TypeDef.h

     
    5858#define HHI_AMVP_OFF                      0           ///< SOPH: Advanced Motion Vector Predictor deactivated [not in TMuC]
    5959#define HHI_DEBLOCKING_FILTER             0           ///< MW: deblocking filter supporting residual quadtrees
    6060
     61#define BUGFIX54                          1
     62
    6163#if ( HHI_RQT_INTRA && !HHI_RQT )
    6264#error "HHI_RQT_INTRA can only be equal to 1 if HHI_RQT is equal to 1"
    6365#endif