Changeset 56 in 3DVCSoftware for trunk/source/App/TAppRenderer


Ignore:
Timestamp:
11 May 2012, 21:20:17 (13 years ago)
Author:
hschwarz
Message:

updated trunk (move to HM6.1)

Location:
trunk/source/App/TAppRenderer
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/App/TAppRenderer/RendererMain.cpp

    r8 r56  
    4747  // print information
    4848  fprintf( stdout, "\n" );
    49   fprintf( stdout, "Multiview Video plus Depth Renderer: Renderer Version [%s]", NV_VERSION );
     49  fprintf( stdout, "3D-HTM software: Renderer Version [%s]", NV_VERSION); 
    5050  fprintf( stdout, NVM_ONOS );
    5151  fprintf( stdout, NVM_COMPILEDBY );
  • trunk/source/App/TAppRenderer/TAppRendererCfg.cpp

    r5 r56  
    4343
    4444#include "TAppRendererCfg.h"
    45 #include "../../App/TAppCommon/program_options_lite.h"
     45#include "../../Lib/TAppCommon/program_options_lite.h"
    4646
    4747
     
    496496    iCurPrec = 0;
    497497    for ( Int iCur = aiIn[uiK]; iCur != 0; iCur /= 10, iCurPrec++ );
    498     iPrecBefore = Max(iPrecBefore, iCurPrec - LOG10_VIEW_NUM_PREC );
     498    iPrecBefore = max(iPrecBefore, iCurPrec - LOG10_VIEW_NUM_PREC );
    499499
    500500    iCurPrec = 0;
    501501    for ( Int iCur = 1;  aiIn[uiK] % iCur == 0; iCur *= 10, iCurPrec++);
    502502    iCurPrec = LOG10_VIEW_NUM_PREC - Min(LOG10_VIEW_NUM_PREC, iCurPrec-1 );
    503     iPrecAfter = Max(iPrecAfter, iCurPrec );
     503    iPrecAfter = max(iPrecAfter, iCurPrec );
    504504  }
    505505}
  • trunk/source/App/TAppRenderer/TAppRendererCfg.h

    r5 r56  
    4444#define __TAppRENDERERCFG__
    4545
    46 #include "../TAppCommon/TAppComCamPara.h"
     46#include "../../Lib/TAppCommon/TAppComCamPara.h"
    4747#include "../../Lib/TLibCommon/CommonDef.h"
    48 #include "../../Lib/TLibCommon/TComMVDRefData.h"
    4948#include "../../Lib/TLibRenderer/TRenModel.h"
    5049#include "../../Lib/TLibRenderer/TRenModSetupStrParser.h"
  • trunk/source/App/TAppRenderer/TAppRendererTop.cpp

    r5 r56  
    188188    {
    189189      m_apcTVideoIOYuvVideoInput[iBaseViewIdx]->read( apcPicYuvBaseVideo[iBaseViewIdx], aiPad  ) ;
     190
    190191      apcPicYuvBaseVideo[iBaseViewIdx]->extendPicBorder();
     192
    191193      bAnyEOS |= m_apcTVideoIOYuvVideoInput[iBaseViewIdx]->isEof();
    192194
     
    209211    }
    210212
    211     m_cCameraData.update( (UInt)iFrame );
     213    m_cCameraData.update( (UInt)iFrame - m_iFrameSkip );
    212214
    213215    for(Int iSynthViewIdx=0; iSynthViewIdx < m_iNumberOfOutputViews; iSynthViewIdx++ )
     
    423425
    424426      // Write Output
     427
     428#if PIC_CROPPING
     429      m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iSynthViewIdx]->write( pcPicYuvSynthOut, 0, 0, 0, 0 );
     430#else
    425431      m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iSynthViewIdx]->write( pcPicYuvSynthOut, aiPad );
     432#endif
    426433    }
    427434    iFrame++;
     
    645652
    646653          // Write Output
     654#if PIC_CROPPING
     655          m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iModelNum]->write( pcPicYuvSynthOut, 0 ,0 ,0, 0 );
     656#else
    647657          m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iModelNum]->write( pcPicYuvSynthOut, aiPad );
     658#endif
    648659        }
    649660      }
     
    837848
    838849      // Write Output
     850#if PIC_CROPPING
     851      m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iSynthViewIdx]->write( pcPicYuvSynthOut, 0, 0, 0, 0 );
     852#else
    839853      m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iSynthViewIdx]->write( pcPicYuvSynthOut, aiPad );
     854#endif
    840855    }
    841856    iFrame++;
     
    963978
    964979      // Write Output
     980#if PIC_CROPPING
     981      m_apcTVideoIOYuvSynthOutput[iViewIdx-1]->write( pcPicYuvSynthOut, 0, 0, 0 );
     982#else
    965983      m_apcTVideoIOYuvSynthOutput[iViewIdx-1]->write( pcPicYuvSynthOut, aiPad );
     984#endif
    966985
    967986    }
  • trunk/source/App/TAppRenderer/TAppRendererTop.h

    r5 r56  
    4646#include "../../Lib/TLibRenderer/TRenTop.h"
    4747#include "../../Lib/TLibVideoIO/TVideoIOYuv.h"
    48 #include "../../Lib/TLibVideoIO/TVideoIOBits.h"
    49 #include "../../Lib/TLibCommon/TComBitStream.h"
    5048#include "TAppRendererCfg.h"
    5149#include "TAppRendererTop.h"
Note: See TracChangeset for help on using the changeset viewer.