Changeset 71 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder


Ignore:
Timestamp:
8 Mar 2013, 01:22:04 (12 years ago)
Author:
seregin
Message:

formating the code, lossless

Location:
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncGOP.cpp

    r57 r71  
    514514
    515515#if SVC_EXTENSION     
    516       if(m_layerId > 0)
    517       {
    518         TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId-1]->getListPic();
    519         pcSlice->setBaseColPic (*cListPic, m_layerId );
     516    if(m_layerId > 0)
     517    {
     518      TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId-1]->getListPic();
     519      pcSlice->setBaseColPic (*cListPic, m_layerId );
    520520#if SVC_UPSAMPLING
    521         if ( pcPic->isSpatialEnhLayer())
    522         {   
    523           m_pcPredSearch->upsampleBasePic( pcPic->getFullPelBaseRec(), pcSlice->getBaseColPic()->getPicYuvRec(), pcPic->getPicYuvRec() );
    524         }
    525         else
    526         {
    527           pcPic->setFullPelBaseRec( pcSlice->getBaseColPic()->getPicYuvRec() );
    528         }
    529         pcSlice->setFullPelBaseRec ( pcPic->getFullPelBaseRec() );
    530 #endif
    531       }
     521      if ( pcPic->isSpatialEnhLayer())
     522      {   
     523        m_pcPredSearch->upsampleBasePic( pcPic->getFullPelBaseRec(), pcSlice->getBaseColPic()->getPicYuvRec(), pcPic->getPicYuvRec() );
     524      }
     525      else
     526      {
     527        pcPic->setFullPelBaseRec( pcSlice->getBaseColPic()->getPicYuvRec() );
     528      }
     529      pcSlice->setFullPelBaseRec ( pcPic->getFullPelBaseRec() );
     530#endif
     531    }
    532532#endif
    533533
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncTop.cpp

    r57 r71  
    407407Void TEncTop::encodePrep( TComPicYuv* pcPicYuvOrg )
    408408{
    409   if (pcPicYuvOrg) {
     409  if (pcPicYuvOrg)
     410  {
    410411    // get original YUV
    411412    TComPic* pcPicCurr = NULL;
     
    10941095  {
    10951096    for(Int i=0; i<m_iNumRowsMinus1; i++)
     1097    {
    10961098      uiCummulativeRowHeight += m_puiRowHeight[i];
     1099    }
    10971100
    10981101    if( uiCummulativeRowHeight >= iHeightInCU )
Note: See TracChangeset for help on using the changeset viewer.