Ignore:
Timestamp:
19 Nov 2012, 21:15:40 (12 years ago)
Author:
mitsubishi-htm
Message:

A second release, as planned

  • Migrate to HTM 4.1
  • Move VSP related switches to cfg file instead of #define in the source code
  • A few bug fixes
  • For VC project files, only VC9 file is updated

TODO

  • Migrate to HTM 5.0, to be used as anchor for CE1 toward Geneva meeting
Location:
branches/HTM-4.0.1-VSP-dev0/source/App/TAppDecoder
Files:
3 edited

Legend:

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

    r100 r193  
    103103  if (!m_pchBitstreamFile)
    104104  {
    105     fprintf(stderr, "No input file specifed, aborting\n");
     105    fprintf(stderr, "No input file specified, aborting\n");
    106106    return false;
    107107  }
  • branches/HTM-4.0.1-VSP-dev0/source/App/TAppDecoder/TAppDecTop.cpp

    r166 r193  
    262262    }
    263263  }
    264 #if DEBUGIMGOUT
    265   for(Int viewDepthIdx=0; viewDepthIdx<m_tVideoIOYuvReconDbgFile.size() ; viewDepthIdx++)
    266   {
    267     if( m_tVideoIOYuvReconDbgFile[viewDepthIdx] )
    268     {
    269       m_tVideoIOYuvReconDbgFile[viewDepthIdx]->close();
    270       delete m_tVideoIOYuvReconDbgFile[viewDepthIdx];
    271       m_tVideoIOYuvReconDbgFile[viewDepthIdx] = NULL ;
    272     }
    273   }
    274 #endif
    275264
    276265  for(Int viewDepthIdx=0; viewDepthIdx<m_tDecTop.size() ; viewDepthIdx++)
     
    341330#endif
    342331      }
    343 #if DEBUGIMGOUT
    344 #if PIC_CROPPING
    345       m_tVideoIOYuvReconDbgFile[viewDepthId]->write( pcPic->getPicYuvRecDbg(), sps->getPicCropLeftOffset(), sps->getPicCropRightOffset(), sps->getPicCropTopOffset(), sps->getPicCropBottomOffset() );
    346 #else
    347       m_tVideoIOYuvReconDbgFile[viewDepthId]->write( pcPic->getPicYuvRecDbg(), pcPic->getSlice(0)->getSPS()->getPad() );
    348 #endif
    349 #endif   
    350332     
    351333      // update POC of display order
     
    406388#endif
    407389      }
    408 #if DEBUGIMGOUT
    409 #if PIC_CROPPING
    410       m_tVideoIOYuvReconDbgFile[viewDepthId]->write( pcPic->getPicYuvRecDbg(), sps->getPicCropLeftOffset(), sps->getPicCropRightOffset(), sps->getPicCropTopOffset(), sps->getPicCropBottomOffset() );
    411 #else
    412       m_tVideoIOYuvReconDbgFile[viewDepthId]->write( pcPic->getPicYuvRecDbg(), pcPic->getSlice(0)->getSPS()->getPad() );
    413 #endif
    414 #endif
    415390     
    416391      // update POC of display order
     
    501476  }
    502477#endif
    503 #if DEBUGIMGOUT
    504   while( m_tVideoIOYuvReconDbgFile.size() < newNumberOfViewDepth)
    505   {
    506     m_tVideoIOYuvReconDbgFile.push_back(new TVideoIOYuv);
    507     Char buffer[4];
    508     sprintf(buffer,"_%i", (Int)(m_tVideoIOYuvReconDbgFile.size()-1) / 2 );
    509     Char* nextFilename = NULL;
    510     if( (m_tVideoIOYuvReconDbgFile.size() % 2) == 0 )
    511     {
    512       Char* pchTempFilename = NULL;
    513       xAppendToFileNameEnd( "DebugImg.yuv", "_depth", pchTempFilename);
    514       xAppendToFileNameEnd( pchTempFilename, buffer, nextFilename);
    515       free ( pchTempFilename );
    516     }
    517     else
    518     {
    519       xAppendToFileNameEnd( "DebugImg.yuv", buffer, nextFilename);
    520     }
    521     if( isDepth || ( !isDepth && (m_tVideoIOYuvReconDbgFile.size() % 2) == 1 ) )
    522     {
    523       m_tVideoIOYuvReconDbgFile.back()->open( nextFilename, true, m_outputBitDepth, g_uiBitDepth + g_uiBitIncrement );
    524     }
    525     free ( nextFilename );
    526   }
    527 #endif
     478
    528479  while( m_pocLastDisplay.size() < newNumberOfViewDepth )
    529480  {
     
    587538{
    588539  //first view does not have VSP
    589 #if VSP_TEXT_ONLY
    590   if((iCodedViewIdx == 0)||(bDepth))
    591 #else
    592540  if((iCodedViewIdx == 0))
    593 #endif
    594541    return;
    595542  pcPicVSP->getSlice(0)->setPOC( iCurPoc );
     543  pcPicVSP->getSlice(0)->setViewId( iCodedViewIdx );
    596544  Int iNeighborViewId = 0;
    597545  Bool bRenderFromLeft;
  • branches/HTM-4.0.1-VSP-dev0/source/App/TAppDecoder/TAppDecTop.h

    r166 r193  
    6868
    6969  std::vector<TVideoIOYuv*>       m_tVideoIOYuvReconFile;         ///< reconstruction YUV class
    70 #if DEBUGIMGOUT
    71   std::vector<TVideoIOYuv*>       m_tVideoIOYuvReconDbgFile;      ///< debug YUV class
    72 #endif
    7370
    7471  // for output control
Note: See TracChangeset for help on using the changeset viewer.