Changeset 1029 in 3DVCSoftware for branches/HTM-11.2-dev0/source/Lib/TLibEncoder


Ignore:
Timestamp:
30 Jul 2014, 18:43:21 (11 years ago)
Author:
tech
Message:

Merged 11.2-dev1-MediaTek@1004.

Location:
branches/HTM-11.2-dev0/source/Lib/TLibEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev0/source/Lib/TLibEncoder/TEncCu.cpp

    r1019 r1029  
    25452545  AOF( uiWidth == uiHeight );
    25462546 
     2547#if SEC_DBBP_DISALLOW_8x8_I0078
     2548  if(uiWidth <= 8)
     2549  {
     2550    return;
     2551  }
     2552#endif
     2553 
    25472554  rpcTempCU->setPartSizeSubParts( SIZE_2Nx2N,  0, uhDepth );
    25482555 
     
    26412648 
    26422649  // reconstruct final prediction signal by combining both segments
     2650#if SHARP_DBBP_SIMPLE_FLTER_I0109
     2651  m_pcPredSearch->combineSegmentsWithMask(apPredYuv, m_ppcPredYuvTemp[uhDepth], pMask, uiWidth, uiHeight, 0, eVirtualPartSize);
     2652#else
    26432653  m_pcPredSearch->combineSegmentsWithMask(apPredYuv, m_ppcPredYuvTemp[uhDepth], pMask, uiWidth, uiHeight);
     2654#endif
    26442655 
    26452656  m_pcPredSearch->encodeResAndCalcRdInterCU( rpcTempCU, m_ppcOrigYuv[uhDepth], m_ppcPredYuvTemp[uhDepth], m_ppcResiYuvTemp[uhDepth], m_ppcResiYuvBest[uhDepth], m_ppcRecoYuvTemp[uhDepth], false );
  • branches/HTM-11.2-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp

    r983 r1029  
    262262 
    263263#if H_3D_DBBP
     264#if! SEC_DBBP_EXPLICIT_SIG_I0077
    264265  PartSize eVirtualPartSize = pcCU->getPartitionSize(uiAbsPartIdx);
    265266  if( pcCU->getDBBPFlag(uiAbsPartIdx) )
     
    271272  }
    272273#endif
     274#endif
    273275 
    274276  m_pcEntropyCoderIf->codePartSize( pcCU, uiAbsPartIdx, uiDepth );
    275277 
    276278#if H_3D_DBBP
     279#if SEC_DBBP_EXPLICIT_SIG_I0077
     280#if SEC_DBBP_DISALLOW_8x8_I0078
     281  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 )
     282#else
     283  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) )
     284#endif
     285#else
     286#if SEC_DBBP_DISALLOW_8x8_I0078
     287  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getWidth(uiAbsPartIdx) > 8 )
     288#else
    277289  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) )
     290#endif
     291#endif
    278292  {
    279293    encodeDBBPFlag(pcCU, uiAbsPartIdx, bRD);
    280    
     294#if !SEC_DBBP_EXPLICIT_SIG_I0077
    281295    if( pcCU->getDBBPFlag(uiAbsPartIdx) )
    282296    {
     
    284298      pcCU->setPartSizeSubParts(eVirtualPartSize, uiAbsPartIdx, uiDepth);
    285299    }
     300#endif
    286301  }
    287302#endif
  • branches/HTM-11.2-dev0/source/Lib/TLibEncoder/TEncSbac.cpp

    r1015 r1029  
    24182418Void TEncSbac::codeDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx )
    24192419{
     2420#if SEC_DBBP_EXPLICIT_SIG_I0077
     2421  PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );
     2422  AOF( ePartSize == SIZE_2NxN || ePartSize == SIZE_Nx2N );
     2423#endif
    24202424  AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );
    24212425  AOF( !pcCU->getSlice()->getIsDepth() );
Note: See TracChangeset for help on using the changeset viewer.