Changeset 921 in 3DVCSoftware


Ignore:
Timestamp:
16 Apr 2014, 11:34:33 (11 years ago)
Author:
mediatek-htm
Message:

Integration of H0094

Location:
branches/HTM-10.2-dev2-MediaTek
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibCommon/ContextTables.h

    r884 r921  
    430430
    431431#if H_3D_DBBP
     432#if MTK_DBBP_SIGNALING_H0094
    432433static const UChar INIT_DBBP_FLAG[3][DBBP_NUM_FLAG_CTX] =
    433434{
    434   { CNU },
    435   { CNU },
    436   { CNU },
    437 };
    438 #endif
    439 
    440 #endif
     435  { 161 },
     436  { 161 },
     437  { 161 },
     438};
     439#else
     440static const UChar INIT_DBBP_FLAG[3][DBBP_NUM_FLAG_CTX] =
     441{
     442  { CNU },
     443  { CNU },
     444  { CNU },
     445};
     446#endif
     447#endif
     448
     449#endif
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibCommon/TypeDef.h

    r912 r921  
    301301#define RWTH_DBBP_NO_SPU_H0057                 1
    302302#define SEC_DBBP_FILTERING_H0104               1
     303#define MTK_DBBP_SIGNALING_H0094               1   
    303304#endif
    304305
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecEntropy.cpp

    r898 r921  
    139139 
    140140#if H_3D_DBBP
     141
     142#if MTK_DBBP_SIGNALING_H0094
     143  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) )
     144#else
    141145  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE )
     146#endif
    142147  {
    143148    decodeDBBPFlag(pcCU, uiAbsPartIdx, uiDepth);
     
    145150    if( pcCU->getDBBPFlag(uiAbsPartIdx) )
    146151    {
     152#if !MTK_DBBP_SIGNALING_H0094
    147153      AOF( pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE );
    148      
     154#endif
     155
    149156      // get collocated depth block
    150157      UInt uiDepthStride = 0;
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecSbac.cpp

    r884 r921  
    21412141Void TDecSbac::parseDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
    21422142{
     2143#if !MTK_DBBP_SIGNALING_H0094
    21432144  PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );
     2145#endif
    21442146  AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );
    21452147  AOF( !pcCU->getSlice()->getIsDepth() );
     2148#if !MTK_DBBP_SIGNALING_H0094
    21462149  AOF( ePartSize == RWTH_DBBP_PACK_MODE );
     2150#endif
    21472151 
    21482152  UInt uiSymbol = 0;
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibEncoder/TEncEntropy.cpp

    r884 r921  
    246246 
    247247#if H_3D_DBBP
     248
     249#if MTK_DBBP_SIGNALING_H0094
     250  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) )
     251#else
    248252  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE )
     253#endif
    249254  {
    250255    encodeDBBPFlag(pcCU, uiAbsPartIdx, bRD);
     
    252257    if( pcCU->getDBBPFlag(uiAbsPartIdx) )
    253258    {
     259#if !MTK_DBBP_SIGNALING_H0094
    254260      AOF( pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE );
     261#endif
    255262      // restore virtual partition size for DBBP blocks
    256263      pcCU->setPartSizeSubParts(eVirtualPartSize, uiAbsPartIdx, uiDepth);
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibEncoder/TEncSbac.cpp

    r884 r921  
    23562356Void TEncSbac::codeDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx )
    23572357{
     2358#if !MTK_DBBP_SIGNALING_H0094
    23582359  PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );
    23592360  AOF( ePartSize == RWTH_DBBP_PACK_MODE );
     2361#endif
    23602362  AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );
    23612363  AOF( !pcCU->getSlice()->getIsDepth() );
Note: See TracChangeset for help on using the changeset viewer.