Changeset 446 in 3DVCSoftware for branches/HTM-DEV-0.2-dev/source/App/TAppRenderer/TAppRendererTop.cpp
- Timestamp:
- 26 May 2013, 16:22:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.2-dev/source/App/TAppRenderer/TAppRendererTop.cpp
r438 r446 33 33 34 34 35 36 35 #include <list> 37 36 #include <stdio.h> … … 42 41 #include "TAppRendererTop.h" 43 42 43 #if H_3D 44 44 45 // ==================================================================================================================== 45 46 // Constructor / destructor / initialization / destroy 46 47 // ==================================================================================================================== 47 #if !QC_MVHEVC_B0046 48 48 49 TAppRendererTop::TAppRendererTop() 49 50 { … … 59 60 Void TAppRendererTop::xCreateLib() 60 61 { 61 Int iInteralBitDepth = g_uiBitDepth + g_uiBitIncrement;62 Int iFileBitDepth = 8;63 62 m_pcRenTop = new TRenTop(); 64 63 … … 68 67 TVideoIOYuv* pcDepthInput = new TVideoIOYuv; 69 68 70 pcVideoInput->open( m_pchVideoInputFileList[iViewIdx], false, iFileBitDepth, iInteralBitDepth); // read mode71 pcDepthInput->open( m_pchDepthInputFileList[iViewIdx], false, iFileBitDepth, iInteralBitDepth); // read mode69 pcVideoInput->open( m_pchVideoInputFileList[iViewIdx], false, m_inputBitDepthY, m_inputBitDepthC, m_internalBitDepthY, m_internalBitDepthC); // read mode 70 pcDepthInput->open( m_pchDepthInputFileList[iViewIdx], false, m_inputBitDepthY, m_inputBitDepthC, m_internalBitDepthY, m_internalBitDepthC ); // read mode 72 71 pcVideoInput->skipFrames(m_iFrameSkip, m_iSourceWidth, m_iSourceHeight ); 73 72 pcDepthInput->skipFrames(m_iFrameSkip, m_iSourceWidth, m_iSourceHeight ); … … 80 79 { 81 80 TVideoIOYuv* pcSynthOutput = new TVideoIOYuv; 82 pcSynthOutput->open( m_pchSynthOutputFileList[iViewIdx], true, iFileBitDepth, iInteralBitDepth); // write mode81 pcSynthOutput->open( m_pchSynthOutputFileList[iViewIdx], true, m_outputBitDepthY, m_outputBitDepthC, m_internalBitDepthY, m_internalBitDepthC ); // write mode 83 82 m_apcTVideoIOYuvSynthOutput.push_back( pcSynthOutput ); 84 83 } … … 469 468 render(); 470 469 break; 470 #if H_3D_VSO 471 471 case 1: 472 472 renderModel(); 473 473 break; 474 #endif 474 475 case 10: 475 476 renderUsedPelsMap( ); … … 481 482 } 482 483 484 #if H_3D_VSO 483 485 Void TAppRendererTop::renderModel() 484 486 { … … 493 495 } 494 496 497 498 495 499 Void TAppRendererTop::xRenderModelFromString() 496 500 { 497 498 501 xCreateLib(); 499 502 xInitLib(); … … 522 525 523 526 AOT( m_iLog2SamplingFactor != 0 ); 524 #if LGE_VSO_EARLY_SKIP_A0093527 #if H_3D_VSO_EARLY_SKIP 525 528 cCurModel.create( m_cRenModStrParser.getNumOfBaseViews(), m_cRenModStrParser.getNumOfModels(), m_iSourceWidth, m_iSourceHeight, m_iShiftPrecision, m_iBlendHoleMargin, false ); 526 529 #else … … 683 686 } 684 687 688 685 689 Void TAppRendererTop::xRenderModelFromNums() 686 690 { … … 700 704 AOT( m_iLog2SamplingFactor != 0 ); 701 705 cCurModel.setupPart( 0, m_iSourceHeight ); 702 #if LGE_VSO_EARLY_SKIP_A0093706 #if H_3D_VSO_EARLY_SKIP 703 707 cCurModel.create( m_iNumberOfInputViews, m_iNumberOfOutputViews, m_iSourceWidth, m_iSourceHeight, m_iShiftPrecision, m_iBlendHoleMargin, false ); 704 708 #else … … 880 884 881 885 } 886 #endif 882 887 883 888 Void TAppRendererTop::renderUsedPelsMap( )
Note: See TracChangeset for help on using the changeset viewer.