Changeset 912 in 3DVCSoftware


Ignore:
Timestamp:
13 Apr 2014, 16:01:57 (11 years ago)
Author:
mediatek-htm
Message:

H0091 integration

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

Legend:

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

    r907 r912  
    269269#define H_3D_DELTA_DLT                    1
    270270#define SEC_NO_RESI_DLT_H0105             1
     271#define MTK_DLT_CODING_FIX_H0091          1
    271272#endif
    272273#define H_3D_DIM_ENC                      1   // Depth Intra encoder optimizations, includes:
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r884 r912  
    423423    pcDLT->setDepthViewBitDepth( (uiCode+8) );
    424424
     425
     426
    425427    for( Int i = 0; i <= pcVPS->getMaxLayersMinus1(); i++ )
    426428    {
     
    440442
    441443            READ_FLAG(uiCode, "inter_view_dlt_pred_enable_flag[ i ]");
     444
     445#if  MTK_DLT_CODING_FIX_H0091
     446            if( uiCode )
     447            {
     448                assert( pcDLT->getUseDLTFlag( 1 ));
     449            }
     450#endif
     451
    442452            pcDLT->setInterViewDltPredEnableFlag( i, (uiCode == 1) ? true : false );
    443453
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecSlice.cpp

    r872 r912  
    221221    }
    222222  }
     223#if  MTK_DLT_CODING_FIX_H0091
     224  if( pcSlice->getPPS()->getDLT() != NULL )
     225  {
     226      assert( pcSlice->getSPS()->getBitDepthY() == pcSlice->getPPS()->getDLT()->getDepthViewBitDepth() );
     227  }
     228#endif
    223229  for( Int iCUAddr = iStartCUAddr; !uiIsLast && iCUAddr < rpcPic->getNumCUsInFrame(); iCUAddr = rpcPic->getPicSym()->xCalculateNxtCUAddr(iCUAddr) )
    224230  {
  • branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibEncoder/TEncCavlc.cpp

    r884 r912  
    272272  WRITE_FLAG( pcPPS->getSliceHeaderExtensionPresentFlag() ? 1 : 0, "slice_segment_header_extension_present_flag");
    273273
     274  #if MTK_DLT_CODING_FIX_H0091
     275    if(( !pcPPS->getSPS()->getVPS()->getDepthId( pcPPS->getSPS()->getLayerId() ) )||
     276        pcPPS->getLayerId() != 1  )
     277    {
     278        pcPPS->setPpsExtensionTypeFlag( PPS_EX_T_3D, false );
     279    }
     280  #endif
     281
    274282#if !H_MV
    275283  WRITE_FLAG( 0, "pps_extension_flag" );
Note: See TracChangeset for help on using the changeset viewer.