Ignore:
Timestamp:
16 May 2013, 05:07:24 (11 years ago)
Author:
lg
Message:

D0141 with Macro LGE_CONCATENATE

Location:
branches/HTM-6.2-dev3-LG-2/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev3-LG-2/source/Lib/TLibCommon/ContextTables.h

    r397 r406  
    138138#define SDC_NUM_SIGN_FLAG_CTX            1
    139139#endif
     140#if LGE_CONCATENATE
     141#define SDC_NUM_RESIDUAL_CTX             1
     142#else
    140143#if RWTH_SDC_CTX_SIMPL_D0032
    141144#define SDC_NUM_RESIDUAL_CTX             8
    142145#else
    143146#define SDC_NUM_RESIDUAL_CTX             10
     147#endif
    144148#endif
    145149
     
    576580  }
    577581};
    578 
     582   
     583#if LGE_CONCATENATE
    579584static const UChar INIT_SDC_RESIDUAL[3][SDC_NUM_RESIDUAL_CTX] =
    580585{
     586    {
     587         155
     588    },
     589    {
     590         155
     591    },
     592    {
     593        155
     594    }
     595};
     596#else
     597static const UChar INIT_SDC_RESIDUAL[3][SDC_NUM_RESIDUAL_CTX] =
     598{
    581599  {
    582600    CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU
     
    589607  }
    590608};
     609#endif
    591610
    592611static const UChar INIT_SDC_PRED_MODE[3][3*SDC_NUM_PRED_MODE_CTX] =
  • branches/HTM-6.2-dev3-LG-2/source/Lib/TLibCommon/TypeDef.h

    r397 r406  
    7474#define INTEL_SDC64_D0193                 1   // JCT3V-D0193: SDC binary clean up (use a 1 bit binary code to signal sdc_pred_mode when CU size is 64x64)
    7575#define RWTH_SDC_CTX_SIMPL_D0032          1   // JCT3V-D0032: CABAC Context Reduction for Simplified Depth Coding
     76#define LGE_CONCATENATE                 1 // JCT3V-D0141: concatenate binarization for residual index coding
    7677#endif
    7778#define FIX_SDC_ENC_RD_WVSO_D0163         1   // JCT3V-D0163: fix for SDC encoder rd-cost (VSO -> WVSO)
Note: See TracChangeset for help on using the changeset viewer.