Changeset 936 in 3DVCSoftware for branches/HTM-10.2-dev0/source/Lib/TLibEncoder


Ignore:
Timestamp:
22 Apr 2014, 16:03:08 (11 years ago)
Author:
tech
Message:

Merged 10.2-dev2-MediaTek@930.

Location:
branches/HTM-10.2-dev0/source/Lib/TLibEncoder
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp

    r884 r936  
    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" );
  • branches/HTM-10.2-dev0/source/Lib/TLibEncoder/TEncCu.cpp

    r935 r936  
    23972397    pDBBPTmpData->auhMergeIndex[uiSegment] = rpcTempCU->getMergeIndex(0);
    23982398   
     2399#if RWTH_DBBP_NO_SPU_H0057
     2400    AOF( rpcTempCU->getSPIVMPFlag(0) == false );
     2401    AOF( rpcTempCU->getVSPFlag(0) == 0 );
     2402#else
    23992403    pDBBPTmpData->ahVSPFlag[uiSegment] = rpcTempCU->getVSPFlag(0);
    24002404    pDBBPTmpData->acDvInfo[uiSegment] = rpcTempCU->getDvInfo(0);
     2405#endif
    24012406   
    24022407    for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ )
     
    24302435    rpcTempCU->setMergeIndexSubParts(pDBBPTmpData->auhMergeIndex[uiSegment], uiPartAddr, uiSegment, uhDepth);
    24312436   
     2437#if !RWTH_DBBP_NO_SPU_H0057
    24322438    rpcTempCU->setVSPFlagSubParts(pDBBPTmpData->ahVSPFlag[uiSegment], uiPartAddr, uiSegment, uhDepth);
    24332439    rpcTempCU->setDvInfoSubParts(pDBBPTmpData->acDvInfo[uiSegment], uiPartAddr, uiSegment, uhDepth);
     2440#endif
    24342441   
    24352442    for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ )
  • branches/HTM-10.2-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp

    r884 r936  
    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-dev0/source/Lib/TLibEncoder/TEncSbac.cpp

    r884 r936  
    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() );
  • branches/HTM-10.2-dev0/source/Lib/TLibEncoder/TEncSearch.cpp

    r935 r936  
    11461146        for( UInt uiX = 0; uiX < uiWidth; uiX++ )
    11471147        {
    1148 #if H_3D_DIM
     1148#if H_3D_DIM && !SEC_NO_RESI_DLT_H0105
    11491149          if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getPPS()->getDLT()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) )
    11501150          {
     
    12211221      for( UInt uiX = 0; uiX < uiWidth; uiX++ )
    12221222      {
    1223 #if H_3D_DIM
     1223#if H_3D_DIM && !SEC_NO_RESI_DLT_H0105
    12241224        if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getPPS()->getDLT()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) )
    12251225        {
     
    36663666      pcCU->setInterDirSubParts(pDBBPTmpData->auhInterDir[0], 0, 0, pcCU->getDepth(0)); // interprets depth relative to LCU level
    36673667     
     3668#if !RWTH_DBBP_NO_SPU_H0057
    36683669      pcCU->setVSPFlagSubParts(pDBBPTmpData->ahVSPFlag[0], 0, 0, pcCU->getDepth(0));
    36693670      pcCU->setDvInfoSubParts(pDBBPTmpData->acDvInfo[0], 0, 0, pcCU->getDepth(0));
     3671#endif
    36703672     
    36713673      for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ )
Note: See TracChangeset for help on using the changeset viewer.