Changeset 924 in 3DVCSoftware for branches/HTM-10.2-dev3-LGE/source


Ignore:
Timestamp:
17 Apr 2014, 13:54:45 (11 years ago)
Author:
lg
Message:

JCT3V-H0119/JCT3V-H0135

Location:
branches/HTM-10.2-dev3-LGE/source/Lib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev3-LGE/source/Lib/TLibCommon/ContextTables.h

    r884 r924  
    110110#define NUM_DMM1_DATA_CTX             1       ///< number of context models for DMM1 data
    111111#endif
     112#if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135
     113#define NUM_ANGLE_FLAG_CTX            1
     114#else
    112115#define NUM_ANGLE_FLAG_CTX            3
     116#endif
    113117#endif
    114118
     
    368372};
    369373
     374#if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135
     375static const UChar
     376INIT_ANGLE_FLAG[3][NUM_ANGLE_FLAG_CTX] =
     377{
     378  { 154 },
     379  { 141 },
     380  { 155 },
     381};
     382#else
    370383static const UChar
    371384INIT_ANGLE_FLAG[3][NUM_ANGLE_FLAG_CTX] =
     
    375388  { 155, 170, 157 },
    376389};
     390#endif
    377391
    378392static const UChar
  • branches/HTM-10.2-dev3-LGE/source/Lib/TLibCommon/TComDataCU.cpp

    r888 r924  
    23832383UInt TComDataCU::getCtxAngleFlag( UInt uiAbsPartIdx )
    23842384{
     2385#if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135
     2386  return 0;
     2387#else
    23852388  TComDataCU* pcTempCU;
    23862389  UInt        uiTempPartIdx;
     
    23962399
    23972400  return uiCtx;
     2401#endif
    23982402}
    23992403#endif
  • branches/HTM-10.2-dev3-LGE/source/Lib/TLibCommon/TypeDef.h

    r915 r924  
    273273#define H_3D_DIM_DLT                      1   // Depth Lookup Table
    274274
     275#define LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135  1 // Use only one context for CABAC of dim_not_present_flag
    275276#define QC_SIMP_DELTADC_CODING_H0131      1   // Simplify detaDC entropy coding
    276277#if H_3D_DIM_DLT
  • branches/HTM-10.2-dev3-LGE/source/Lib/TLibDecoder/TDecSbac.cpp

    r914 r924  
    11351135  if( ( pcCU->getSlice()->getSPS()->getMaxCUWidth() >> pcCU->getDepth( absPartIdx ) ) < 64 ) //DMM and HEVC intra modes are both allowed
    11361136  {
     1137#if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135
     1138    m_pcTDecBinIf->decodeBin( uiSymbol, m_cAngleFlagSCModel.get( 0, 0, 0 ) );
     1139#else
    11371140    m_pcTDecBinIf->decodeBin( uiSymbol, m_cAngleFlagSCModel.get( 0, 0, pcCU->getCtxAngleFlag( absPartIdx ) ) );
     1141#endif
    11381142  }
    11391143  else
  • branches/HTM-10.2-dev3-LGE/source/Lib/TLibEncoder/TEncSbac.cpp

    r914 r924  
    12431243  if( ( pcCU->getSlice()->getSPS()->getMaxCUWidth() >> pcCU->getDepth( absPartIdx ) ) < 64 ) //DMM and HEVC intra modes are both allowed
    12441244  {
     1245#if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135
     1246    m_pcBinIf->encodeBin( isDimMode( dir ) ? 0 : 1, m_cAngleFlagSCModel.get( 0, 0, 0 ) );
     1247#else
    12451248    m_pcBinIf->encodeBin( isDimMode( dir ) ? 0 : 1, m_cAngleFlagSCModel.get( 0, 0, pcCU->getCtxAngleFlag( absPartIdx ) ) );
     1249#endif
    12461250  }
    12471251  if( isDimMode( dir ) )
Note: See TracChangeset for help on using the changeset viewer.