Changeset 852 in 3DVCSoftware for branches/HTM-10.0-dev0/source/App/TAppDecoder


Ignore:
Timestamp:
13 Feb 2014, 22:34:17 (11 years ago)
Author:
tech
Message:

Update HM-12.0 -> HM-13.0.

Location:
branches/HTM-10.0-dev0/source/App/TAppDecoder
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.0-dev0/source/App/TAppDecoder/TAppDecCfg.cpp

    r773 r852  
    44 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2013, ITU/ISO/IEC
     6* Copyright (c) 2010-2014, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
  • branches/HTM-10.0-dev0/source/App/TAppDecoder/TAppDecCfg.h

    r773 r852  
    44 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2013, ITU/ISO/IEC
     6* Copyright (c) 2010-2014, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
  • branches/HTM-10.0-dev0/source/App/TAppDecoder/TAppDecTop.cpp

    r773 r852  
    44 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2013, ITU/ISO/IEC
     6* Copyright (c) 2010-2014, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    165165  Bool firstSlice        = true;
    166166#endif
    167  
     167  Bool loopFiltered      = false;
     168
    168169  while (!!bitstreamFile)
    169170  {
     
    278279          bitstreamFile.seekg(location-streamoff(3));
    279280          bytestream.reset();
     281#if H_MV_ENC_DEC_TRAC
    280282#if ENC_DEC_TRACE
    281 #if H_MV_ENC_DEC_TRAC
    282283          const Bool resetCounter = false;
    283284          if ( resetCounter )
     
    287288          else
    288289          {
    289             g_disableHLSTrace = true;     // Trancing of second parsing of SH is not carried out
    290           }         
    291 #else
    292           g_nSymbolCounter = symCount;
    293 #endif
    294 #endif
    295         }
    296       }
    297     }
    298     if (bNewPicture || !bitstreamFile)
    299     {
    300 #if H_MV
    301       assert( decIdxLastPic != -1 );
    302       m_tDecTop[decIdxLastPic]->endPicDecoding(poc, pcListPic, m_targetDecLayerIdSet );
    303 #else
    304       m_cTDecTop.executeLoopFilters(poc, pcListPic);
    305 #endif
     290            g_disableHLSTrace = true;     // Tracing of second parsing of SH is not carried out
     291          }     
     292#endif
     293#endif
     294        }
     295      }
     296    }
     297    if (bNewPicture || !bitstreamFile || nalu.m_nalUnitType == NAL_UNIT_EOS )
     298    {
     299      if (!loopFiltered || bitstreamFile)
     300      {
     301#if H_MV
     302        assert( decIdxLastPic != -1 );
     303        m_tDecTop[decIdxLastPic]->endPicDecoding(poc, pcListPic, m_targetDecLayerIdSet );
     304#else
     305        m_cTDecTop.executeLoopFilters(poc, pcListPic);
     306#endif
     307      }
     308      loopFiltered = (nalu.m_nalUnitType == NAL_UNIT_EOS);
    306309    }
    307310#if H_3D
     
    351354#endif
    352355      }
     356      if (nalu.m_nalUnitType == NAL_UNIT_EOS)
     357      {
     358#if H_MV
     359        xFlushOutput( pcListPic, decIdxLastPic );
     360#else
     361        xFlushOutput( pcListPic );
     362#endif
     363      }
    353364      // write reconstruction to file
    354365      if(bNewPicture)
     
    462473#endif
    463474{
     475
     476  if (pcListPic->empty())
     477  {
     478    return;
     479  }
     480
    464481  TComList<TComPic*>::iterator iterPic   = pcListPic->begin();
    465482  Int numPicsNotYetDisplayed = 0;
     
    647664#endif
    648665{
    649   if(!pcListPic)
     666  if(!pcListPic || pcListPic->empty())
    650667  {
    651668    return;
  • branches/HTM-10.0-dev0/source/App/TAppDecoder/TAppDecTop.h

    r773 r852  
    44 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2013, ITU/ISO/IEC
     6* Copyright (c) 2010-2014, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
  • branches/HTM-10.0-dev0/source/App/TAppDecoder/decmain.cpp

    r608 r852  
    44 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2013, ITU/ISO/IEC
     6* Copyright (c) 2010-2014, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
Note: See TracChangeset for help on using the changeset viewer.