Ticket #22: CtxIntraModeLuma.patch

File CtxIntraModeLuma.patch, 1.5 KB (added by h.huang, 8 years ago)
  • Lib/TLibDecoder/TDecSbac.cpp

     
    13621362    {
    13631363#if JVET_B0051_NON_MPM_MODE
    13641364#if JVET_C0024_QTBT
    1365       m_pcTDecBinIf->decodeBin( symbol, m_cCUIntraPredSCModel.get( 0, 0, 9/3) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(ctype) );
     1365      m_pcTDecBinIf->decodeBin( symbol, m_cCUIntraPredSCModel.get( 0, 0, 9) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(ctype) );
    13661366#else
    13671367      m_pcTDecBinIf->decodeBin( symbol, m_cCUIntraPredSCModel.get( 0, 0, 9+mode/3) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(ctype) );
    13681368#endif
  • Lib/TLibEncoder/TEncSbac.cpp

     
    13181318
    13191319#if JVET_B0051_NON_MPM_MODE
    13201320#if JVET_C0024_QTBT
    1321       m_pcBinIf->encodeBin(( (dir[j]%4) ==0 ) ? 1 : 0, m_cCUIntraPredSCModel.get( 0, 0, 9/3 ) ); // flag to indicate if it is selected mode or non-selected mode
     1321      m_pcBinIf->encodeBin(( (dir[j]%4) ==0 ) ? 1 : 0, m_cCUIntraPredSCModel.get( 0, 0, 9 ) ); // flag to indicate if it is selected mode or non-selected mode
    13221322#else
    13231323      m_pcBinIf->encodeBin(( (dir[j]%4) ==0 ) ? 1 : 0, m_cCUIntraPredSCModel.get( 0, 0, 9+mode/3 ) ); // flag to indicate if it is selected mode or non-selected mode
    13241324#endif