Ignore:
Timestamp:
1 Nov 2012, 19:22:41 (12 years ago)
Author:
mitsubishi-htm
Message:

Initial integration of VSP into HTM 4.0.1. The version used for JCT3V-B0102 at Shanghai meeting.

  • VC9 project/solution files updated. Other Visual C++ project/solution files are not updated.
  • Linux make file updated.

TODO

  • A second release is expected to include some bug fix and improvements on the interface, e.g. to move switches from macro definition to the configuration file.
  • A third release is expected after being integrated within HTM 5.x, which is to be used for CE1.h anchor.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.0.1-VSP-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp

    r77 r166  
    169169}
    170170
     171
     172#if FORCE_REF_VSP==1
     173Void TEncEntropy::encodeVspFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD )
     174{
     175  if ( pcCU->getSlice()->isIntra() || pcCU->getSlice()->getViewId() == 0 )
     176  {
     177    return;
     178  }
     179  if( bRD )
     180  {
     181    uiAbsPartIdx = 0;
     182  }
     183  m_pcEntropyCoderIf->codeVspFlag( pcCU, uiAbsPartIdx );
     184}
     185#endif
     186
    171187Void TEncEntropy::codeFiltCountBit(ALFParam* pAlfParam, Int64* ruiRate)
    172188{
     
    12851301    uiAbsPartIdx = 0;
    12861302  }
     1303
     1304#if FORCE_REF_VSP==1
     1305  if( pcCU->isVspMode( uiAbsPartIdx ) )
     1306  {
     1307    return;
     1308  }
     1309#endif
    12871310 
    12881311  PartSize eSize = pcCU->getPartitionSize( uiAbsPartIdx );
     
    13451368        {
    13461369          encodeRefFrmIdxPU ( pcCU, uiSubPartIdx, RefPicList( uiRefListIdx ) );
     1370#if VSP_MV_ZERO
     1371          Int iRefIdx = pcCU->getCUMvField( RefPicList( uiRefListIdx ) )->getRefIdx(uiSubPartIdx);
     1372          if( !(pcCU->getSlice()->getViewId() && iRefIdx >= 0 && pcCU->getSlice()->getRefViewId( RefPicList( uiRefListIdx ), iRefIdx ) == NUM_VIEW_VSP) )
     1373          {
     1374#endif
    13471375          encodeMvdPU       ( pcCU, uiSubPartIdx, RefPicList( uiRefListIdx ) );
    13481376          encodeMVPIdxPU    ( pcCU, uiSubPartIdx, RefPicList( uiRefListIdx ) );
     1377#if VSP_MV_ZERO
     1378          }
     1379#endif
    13491380        }
    13501381      }
     
    16321663  {
    16331664    {
     1665#if FORCE_REF_VSP==1
     1666      if( !pcCU->isVspMode( uiAbsPartIdx ) )
     1667#endif
    16341668#if HHI_MPI
    16351669      if( !(pcCU->getMergeFlag( uiAbsPartIdx ) && pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2Nx2N &&
Note: See TracChangeset for help on using the changeset viewer.