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

Fixed minor issues, introduced by update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 *
Note: See TracChangeset for help on using the changeset viewer.