Ignore:
Timestamp:
5 Feb 2014, 09:54:12 (11 years ago)
Author:
rwth
Message:
  • cleanup: removed some assertions and added some comments
Location:
branches/HTM-9.3-dev1-RWTH/source/Lib/TLibEncoder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev1-RWTH/source/Lib/TLibEncoder/TEncCu.cpp

    r819 r820  
    23632363    {
    23642364      UChar ucSegment = (UChar)pMask[x];
    2365       assert( ucSegment < 2 );
     2365      AOF( ucSegment < 2 );
    23662366     
    23672367      piDst[x] = (ucSegment==uiValidSegment)?piSrc[x]:DBBP_INVALID_SHORT;
     
    23872387    {
    23882388      UChar ucSegment = (UChar)pMask[x*2];
    2389       assert( ucSegment < 2 );
     2389      AOF( ucSegment < 2 );
    23902390     
    23912391      piDstU[x] = (ucSegment==uiValidSegment)?piSrcU[x]:DBBP_INVALID_SHORT;
     
    24052405  AOF( !rpcTempCU->getSlice()->getIsDepth() );
    24062406 
    2407  
    24082407  UChar uhDepth = rpcTempCU->getDepth( 0 );
    24092408 
     
    24252424  rpcTempCU->setPartSizeSubParts( SIZE_2Nx2N,  0, uhDepth );
    24262425 
    2427   // get coded and reconstructed depth view
     2426  // fetch virtual depth block
    24282427  UInt uiDepthStride = 0;
    24292428  Pel* pDepthPels = rpcTempCU->getVirtualDepthBlock(0, uiWidth, uiHeight, uiDepthStride);
     
    24862485  }
    24872486 
     2487  // store final motion/disparity information in each PU using derived partitioning
    24882488  rpcTempCU->setDepthSubParts( uhDepth, 0 );
    24892489  rpcTempCU->setPartSizeSubParts  ( eVirtualPartSize,  0, uhDepth );
  • branches/HTM-9.3-dev1-RWTH/source/Lib/TLibEncoder/TEncEntropy.cpp

    r816 r820  
    245245  if( pcCU->getDBBPFlag(uiAbsPartIdx) )
    246246  {
     247    AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );
     248   
    247249    // temporarily change partition size for DBBP blocks
    248250    pcCU->setPartSizeSubParts(RWTH_DBBP_PACK_MODE, uiAbsPartIdx, uiDepth);
  • branches/HTM-9.3-dev1-RWTH/source/Lib/TLibEncoder/TEncSbac.cpp

    r816 r820  
    12401240    m_pcBinIf->encodeBin( uiInterDir == 2 ? 1 : 0, *( pCtx + uiCtx ) );
    12411241  }
    1242 #if H_3D_DBBP
    1243   else
    1244   {
    1245     // only uni-prediction is allowed for DBBP
    1246     AOF( uiInterDir == 0 || uiInterDir == 1 );
    1247   }
    1248 #endif
    12491242  if (uiInterDir < 2)
    12501243  {
  • branches/HTM-9.3-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp

    r819 r820  
    46574657      }
    46584658     
    4659       // update these values to virtual partition size
     4659      // update values to virtual partition size
    46604660      pcCU->getPartIndexAndSize( uiPartIdx, uiPartAddr, iRoiWidth, iRoiHeight );
    46614661    }
     
    46674667    if( pcCU->getDBBPFlag(0) )
    46684668    {
    4669       // reset to 2Nx2N for motion search
     4669      // restore 2Nx2N partitioning for motion estimation
    46704670      uiPartIdx = 0;
    46714671      AOF( pcCU->getPartitionSize(0) == pDBBPTmpData->eVirtualPartSize );
Note: See TracChangeset for help on using the changeset viewer.