Ignore:
Timestamp:
11 Aug 2013, 17:37:58 (12 years ago)
Author:
zhejiang
Message:

JCT3V-E0204 Simplified Binarization for depth_intra_mode by Zhejiang University

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-2.0-dev3-Zhejiang/source/Lib/TLibEncoder/TEncSbac.cpp

    r557 r561  
    12611261Void TEncSbac::codeIntraDepthMode( TComDataCU* pcCU, UInt absPartIdx )
    12621262{
     1263#if ZJU_DEPTH_INTRA_MODE_E0204
     1264    UInt codeWordTable[3][7] =    {{0, 0, 0, 2, 0,6, 7},{0, 0, 2, 7, 3, 6, 2},{0, 1, 0, 0, 0, 0, 0}};
     1265    UInt codeWordLenTable[3][7] = {{0, 1, 0, 2, 0,3, 3},{1, 1, 2, 3, 2, 3, 2},{1, 1, 0, 0, 0, 0, 0}};
     1266#else
    12631267#if LGE_SDC_REMOVE_DC_E0158
    12641268#if SEC_DMM2_E0146
     
    12761280  UInt codeWordTable[3][9] =    {{0, 0, 0, 2, 0,6, 0, 0, 7},{0, 2, 3, 4, 5, 6, 14, 31, 30},{0, 2, 0, 0, 0, 0, 3, 0, 0}};
    12771281  UInt codeWordLenTable[3][9] = {{0, 1, 0, 2, 0,3, 0, 0, 3},{2, 3, 3, 3, 3, 3,  4,  5,  5},{1, 2, 0, 0, 0, 0, 2, 0, 0}};
     1282#endif
    12781283#endif
    12791284#endif
     
    13231328      default:          codeIdx = 2; break;
    13241329    }
     1330  }
     1331#endif
     1332#if ZJU_DEPTH_INTRA_MODE_E0204
     1333  if( puIdx==1 )
     1334  {
     1335      if( codeIdx==1 || codeIdx==2 || codeIdx==4 )
     1336      {
     1337          m_pcBinIf->encodeBinEP( 0 );
     1338      }
     1339      else
     1340      {
     1341          m_pcBinIf->encodeBinEP( 1 );
     1342      }
    13251343  }
    13261344#endif
Note: See TracChangeset for help on using the changeset viewer.