Changeset 903 in 3DVCSoftware for branches/HTM-10.2-dev3-MediaTek


Ignore:
Timestamp:
9 Apr 2014, 09:58:08 (11 years ago)
Author:
mediatek-htm
Message:

Integration of JCT3V-H0084/H0100/H0113 on CABAC simplification of delta_dc_flag.
The MACRO is MTK_DELTA_DC_FLAG_ONE_CONTEXT_H0084_H0100_H0113.

By Yi-Wen Chen (yiwen.chen@…)

Location:
branches/HTM-10.2-dev3-MediaTek
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev3-MediaTek/source/Lib/TLibCommon/TypeDef.h

    r902 r903  
    198198                                              // HS_TSINGHUA_SDC_SPLIT_G0111
    199199                                              // QC_PKU_SDC_SPLIT_G0123 Intra SDC Split
    200 
     200#define MTK_DELTA_DC_FLAG_ONE_CONTEXT_H0084_H0100_H0113     1 // Use only one context for CABAC of delta_dc_flag as in JCTVC-H0084, JCTVC-H0100 and JCTVC-H0113
    201201
    202202
  • branches/HTM-10.2-dev3-MediaTek/source/Lib/TLibDecoder/TDecSbac.cpp

    r884 r903  
    20682068    UInt dir     = pcCU->getLumaIntraDir( absPartIdx );
    20692069    uiNumSegments = isDimMode( dir ) ? 2 : 1;
    2070 
     2070#if MTK_DELTA_DC_FLAG_ONE_CONTEXT_H0084_H0100_H0113
     2071    m_pcTDecBinIf->decodeBin( symbol, m_cDdcFlagSCModel.get( 0, 0, 0 ) );
     2072#else
    20712073    m_pcTDecBinIf->decodeBin( symbol, m_cDdcFlagSCModel.get( 0, 0, uiNumSegments-1 ) );
    2072 
     2074#endif
    20732075    if( pcCU->getSDCFlag( absPartIdx ) )
    20742076    {
  • branches/HTM-10.2-dev3-MediaTek/source/Lib/TLibEncoder/TEncSbac.cpp

    r884 r903  
    23132313      dimDeltaDC = isDimDeltaDC( dir );
    23142314    }
    2315 
     2315#if MTK_DELTA_DC_FLAG_ONE_CONTEXT_H0084_H0100_H0113
     2316    m_pcBinIf->encodeBin( dimDeltaDC, m_cDdcFlagSCModel.get( 0, 0, 0 ) );
     2317#else
    23162318    m_pcBinIf->encodeBin( dimDeltaDC, m_cDdcFlagSCModel.get( 0, 0, uiNumSegments-1 ) );
     2319#endif
    23172320  }
    23182321  else //all-zero inter SDC is not allowed
Note: See TracChangeset for help on using the changeset viewer.