Changeset 654 in 3DVCSoftware


Ignore:
Timestamp:
21 Oct 2013, 21:26:44 (11 years ago)
Author:
tech
Message:

Fixed minor issues, introduced by update.

Location:
branches/HTM-8.2-dev0-Cleanup/source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev0-Cleanup/source/App/TAppDecoder/TAppDecTop.cpp

    r651 r654  
    739739      {
    740740        // write to file
     741#if H_MV
     742      if ( m_pchReconFiles[decIdx] )
     743#else
    741744        if ( m_pchReconFile )
     745#endif
    742746        {
    743747          const Window &conf = pcPic->getConformanceWindow();
  • branches/HTM-8.2-dev0-Cleanup/source/App/TAppEncoder/TAppEncTop.cpp

    r651 r654  
    10671067    Int i;
    10681068#if H_MV
    1069   if( iNumEncoded > 0 )
    1070   {
    1071     TComList<TComPicYuv*>::iterator iterPicYuvRec = m_picYuvRec[layerId]->end();
     1069    if( iNumEncoded > 0 )
     1070    {
     1071      TComList<TComPicYuv*>::iterator iterPicYuvRec = m_picYuvRec[layerId]->end();
    10721072#else
    10731073    TComList<TComPicYuv*>::iterator iterPicYuvRec = m_cListPicYuvRec.end();
    10741074    list<AccessUnit>::const_iterator iterBitstream = accessUnits.begin();
    10751075#endif
    1076    
     1076
    10771077    for ( i = 0; i < iNumEncoded; i++ )
    10781078    {
    10791079      --iterPicYuvRec;
    10801080    }
    1081    
     1081
    10821082    for ( i = 0; i < iNumEncoded/2; i++ )
    10831083    {
    10841084      TComPicYuv*  pcPicYuvRecTop  = *(iterPicYuvRec++);
    10851085      TComPicYuv*  pcPicYuvRecBottom  = *(iterPicYuvRec++);
    1086      
     1086
    10871087#if H_MV
    10881088      if (m_pchReconFileList[layerId])
     
    10911091      }
    10921092    }
     1093  }
     1094
    10931095  if( ! accessUnits.empty() )
    10941096  {
     
    11091111      const vector<UInt>& statsTop = writeAnnexB(bitstreamFile, auTop);
    11101112      rateStatsAccum(auTop, statsTop);
    1111      
     1113
    11121114      const AccessUnit& auBottom = *(iterBitstream++);
    11131115      const vector<UInt>& statsBottom = writeAnnexB(bitstreamFile, auBottom);
     
    11201122    Int i;
    11211123#if H_MV
    1122   if( iNumEncoded > 0 )
    1123   {
    1124     TComList<TComPicYuv*>::iterator iterPicYuvRec = m_picYuvRec[layerId]->end();
     1124    if( iNumEncoded > 0 )
     1125    {
     1126      TComList<TComPicYuv*>::iterator iterPicYuvRec = m_picYuvRec[layerId]->end();
    11251127#else
    11261128    TComList<TComPicYuv*>::iterator iterPicYuvRec = m_cListPicYuvRec.end();
    11271129    list<AccessUnit>::const_iterator iterBitstream = accessUnits.begin();
    11281130#endif
    1129    
     1131
    11301132    for ( i = 0; i < iNumEncoded; i++ )
    11311133    {
    11321134      --iterPicYuvRec;
    11331135    }
    1134    
     1136
    11351137    for ( i = 0; i < iNumEncoded; i++ )
    11361138    {
     
    11401142      {
    11411143        m_acTVideoIOYuvReconFileList[layerId]->write( pcPicYuvRec, m_confLeft, m_confRight, m_confTop, m_confBottom );
    1142       }
     1144      }   
    11431145    }
    11441146  }
     
    11571159        m_cTVideoIOYuvReconFile.write( pcPicYuvRec, m_confLeft, m_confRight, m_confTop, m_confBottom );
    11581160      }
    1159      
     1161
    11601162      const AccessUnit& au = *(iterBitstream++);
    11611163      const vector<UInt>& stats = writeAnnexB(bitstreamFile, au);
    1162       rateStatsAccum(au, stats);
    1163 #endif
    1164     }
    1165   }
    1166 }
     1164      rateStatsAccum(au, stats);   
     1165    }
     1166#endif   
     1167  }
     1168}
     1169 
    11671170/**
    11681171 *
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibEncoder/TEncCu.cpp

    r653 r654  
    10041004#endif
    10051005        // do normal intra modes
    1006 #if H_3D_DIM_ENC
    1007         if (( rpcBestCU->getSlice()->getIsDepth() && rpcBestCU->getSlice()->isIRAP() ) )
    1008         {
    1009 #endif
    1010        
     1006       
    10111007          // speedup for inter frames
    10121008          if( rpcBestCU->getSlice()->getSliceType() == I_SLICE ||
     
    10601056            }
    10611057          }
    1062 #if H_3D_DIM_ENC
    1063         }
    1064 #endif
    10651058        // test PCM
    10661059        if(pcPic->getSlice(0)->getSPS()->getUsePCM()
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibEncoder/TEncTop.cpp

    r653 r654  
    12201220    }
    12211221  }
    1222 #if H_MV
    1223   }
    1224 #endif
    12251222  if(POCCurr == 1 && slice->getPic()->isField())
    12261223  {
     
    12301227  slice->setRPS(getSPS()->getRPSList()->getReferencePictureSet(slice->getRPSidx()));
    12311228  slice->getRPS()->setNumberOfPictures(slice->getRPS()->getNumberOfNegativePictures()+slice->getRPS()->getNumberOfPositivePictures());
     1229#if H_MV
     1230  }
     1231#endif
     1232
    12321233}
    12331234
Note: See TracChangeset for help on using the changeset viewer.