Changeset 56 in 3DVCSoftware for trunk/source/App/TAppRenderer
- Timestamp:
- 11 May 2012, 21:20:17 (13 years ago)
- Location:
- trunk/source/App/TAppRenderer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppRenderer/RendererMain.cpp
r8 r56 47 47 // print information 48 48 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); 50 50 fprintf( stdout, NVM_ONOS ); 51 51 fprintf( stdout, NVM_COMPILEDBY ); -
trunk/source/App/TAppRenderer/TAppRendererCfg.cpp
r5 r56 43 43 44 44 #include "TAppRendererCfg.h" 45 #include "../../ App/TAppCommon/program_options_lite.h"45 #include "../../Lib/TAppCommon/program_options_lite.h" 46 46 47 47 … … 496 496 iCurPrec = 0; 497 497 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 ); 499 499 500 500 iCurPrec = 0; 501 501 for ( Int iCur = 1; aiIn[uiK] % iCur == 0; iCur *= 10, iCurPrec++); 502 502 iCurPrec = LOG10_VIEW_NUM_PREC - Min(LOG10_VIEW_NUM_PREC, iCurPrec-1 ); 503 iPrecAfter = Max(iPrecAfter, iCurPrec );503 iPrecAfter = max(iPrecAfter, iCurPrec ); 504 504 } 505 505 } -
trunk/source/App/TAppRenderer/TAppRendererCfg.h
r5 r56 44 44 #define __TAppRENDERERCFG__ 45 45 46 #include "../ TAppCommon/TAppComCamPara.h"46 #include "../../Lib/TAppCommon/TAppComCamPara.h" 47 47 #include "../../Lib/TLibCommon/CommonDef.h" 48 #include "../../Lib/TLibCommon/TComMVDRefData.h"49 48 #include "../../Lib/TLibRenderer/TRenModel.h" 50 49 #include "../../Lib/TLibRenderer/TRenModSetupStrParser.h" -
trunk/source/App/TAppRenderer/TAppRendererTop.cpp
r5 r56 188 188 { 189 189 m_apcTVideoIOYuvVideoInput[iBaseViewIdx]->read( apcPicYuvBaseVideo[iBaseViewIdx], aiPad ) ; 190 190 191 apcPicYuvBaseVideo[iBaseViewIdx]->extendPicBorder(); 192 191 193 bAnyEOS |= m_apcTVideoIOYuvVideoInput[iBaseViewIdx]->isEof(); 192 194 … … 209 211 } 210 212 211 m_cCameraData.update( (UInt)iFrame );213 m_cCameraData.update( (UInt)iFrame - m_iFrameSkip ); 212 214 213 215 for(Int iSynthViewIdx=0; iSynthViewIdx < m_iNumberOfOutputViews; iSynthViewIdx++ ) … … 423 425 424 426 // Write Output 427 428 #if PIC_CROPPING 429 m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iSynthViewIdx]->write( pcPicYuvSynthOut, 0, 0, 0, 0 ); 430 #else 425 431 m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iSynthViewIdx]->write( pcPicYuvSynthOut, aiPad ); 432 #endif 426 433 } 427 434 iFrame++; … … 645 652 646 653 // Write Output 654 #if PIC_CROPPING 655 m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iModelNum]->write( pcPicYuvSynthOut, 0 ,0 ,0, 0 ); 656 #else 647 657 m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iModelNum]->write( pcPicYuvSynthOut, aiPad ); 658 #endif 648 659 } 649 660 } … … 837 848 838 849 // Write Output 850 #if PIC_CROPPING 851 m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iSynthViewIdx]->write( pcPicYuvSynthOut, 0, 0, 0, 0 ); 852 #else 839 853 m_apcTVideoIOYuvSynthOutput[m_bSweep ? 0 : iSynthViewIdx]->write( pcPicYuvSynthOut, aiPad ); 854 #endif 840 855 } 841 856 iFrame++; … … 963 978 964 979 // Write Output 980 #if PIC_CROPPING 981 m_apcTVideoIOYuvSynthOutput[iViewIdx-1]->write( pcPicYuvSynthOut, 0, 0, 0 ); 982 #else 965 983 m_apcTVideoIOYuvSynthOutput[iViewIdx-1]->write( pcPicYuvSynthOut, aiPad ); 984 #endif 966 985 967 986 } -
trunk/source/App/TAppRenderer/TAppRendererTop.h
r5 r56 46 46 #include "../../Lib/TLibRenderer/TRenTop.h" 47 47 #include "../../Lib/TLibVideoIO/TVideoIOYuv.h" 48 #include "../../Lib/TLibVideoIO/TVideoIOBits.h"49 #include "../../Lib/TLibCommon/TComBitStream.h"50 48 #include "TAppRendererCfg.h" 51 49 #include "TAppRendererTop.h"
Note: See TracChangeset for help on using the changeset viewer.