Changeset 81 in 3DVCSoftware for trunk/source/App/TAppRenderer
- Timestamp:
- 21 Jun 2012, 21:01:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppRenderer/TAppRendererTop.cpp
r56 r81 70 70 pcVideoInput->open( m_pchVideoInputFileList[iViewIdx], false, iFileBitDepth, iInteralBitDepth ); // read mode 71 71 pcDepthInput->open( m_pchDepthInputFileList[iViewIdx], false, iFileBitDepth, iInteralBitDepth ); // read mode 72 72 #if HHI_FIX 73 pcVideoInput->skipFrames(m_iFrameSkip, m_iSourceWidth, m_iSourceHeight ); 74 pcDepthInput->skipFrames(m_iFrameSkip, m_iSourceWidth, m_iSourceHeight ); 75 #endif 73 76 m_apcTVideoIOYuvVideoInput.push_back( pcVideoInput ); 74 77 m_apcTVideoIOYuvDepthInput.push_back( pcDepthInput ); … … 184 187 { 185 188 189 #if HHI_FIX 190 if ( iFrame >= m_iFrameSkip ) 191 { 192 #endif 186 193 // read in depth and video 187 194 for(Int iBaseViewIdx=0; iBaseViewIdx < m_iNumberOfInputViews; iBaseViewIdx++ ) … … 203 210 } 204 211 212 #if HHI_FIX 213 } 214 else 215 #else 205 216 if ( iFrame < m_iFrameSkip ) // Skip Frames 217 #endif 218 206 219 { 207 220 std::cout << "Skipping Frame " << iFrame << std::endl; … … 549 562 while ( ( ( iNumOfRenderedFrames < m_iFramesToBeRendered ) || ( m_iFramesToBeRendered == 0 ) ) && !bAnyEOS ) 550 563 { 564 565 #if HHI_FIX 566 if ( iFrame >= m_iFrameSkip ) 567 { 568 #endif 551 569 // read in depth and video 552 570 for(Int iBaseViewIdx=0; iBaseViewIdx < m_iNumberOfInputViews; iBaseViewIdx++ ) … … 558 576 bAnyEOS |= m_apcTVideoIOYuvDepthInput[iBaseViewIdx]->isEof(); 559 577 } 560 578 #if HHI_FIX 579 } 580 else 581 #else 561 582 if ( iFrame < m_iFrameSkip ) 583 #endif 562 584 { 585 #if HHI_FIX 586 iFrame++; 587 #endif 563 588 continue; 564 589 } … … 573 598 } 574 599 600 #if HHI_FIX 601 m_cCameraData.update( (UInt) ( iFrame - m_iFrameSkip )); 602 #endif 603 575 604 for(Int iBaseViewIdx=0; iBaseViewIdx < m_iNumberOfInputViews; iBaseViewIdx++ ) 576 605 { 606 #if HHI_FIX 607 #else 577 608 m_cCameraData.update( (UInt)iFrame ); 609 #endif 578 610 579 611 // setup virtual views … … 755 787 while ( ( ( iNumOfRenderedFrames < m_iFramesToBeRendered ) || ( m_iFramesToBeRendered == 0 ) ) && !bAnyEOS ) 756 788 { 789 790 #if HHI_FIX 791 if ( iFrame >= m_iFrameSkip ) 792 { 793 #endif 757 794 // read in depth and video 758 795 for(Int iBaseViewIdx=0; iBaseViewIdx < m_iNumberOfInputViews; iBaseViewIdx++ ) … … 771 808 } 772 809 810 #if HHI_FIX 811 } 812 else 813 #else 773 814 if ( iFrame < m_iFrameSkip ) // Skip Frames 815 #endif 774 816 { 775 817 iFrame++; … … 777 819 } 778 820 821 #if HHI_FIX 822 m_cCameraData.update( (UInt) (iFrame - m_iFrameSkip )); 823 #else 779 824 m_cCameraData.update( (UInt)iFrame ); 825 #endif 780 826 781 827 for(Int iSynthViewIdx=0; iSynthViewIdx < m_iNumberOfOutputViews; iSynthViewIdx++ ) … … 925 971 while ( ( ( iNumOfRenderedFrames < m_iFramesToBeRendered ) || ( m_iFramesToBeRendered == 0 ) ) && !bAnyEOS ) 926 972 { 927 // set shift LUT 928 973 974 #if HHI_FIX 975 if ( iFrame >= m_iFrameSkip ) 976 { 977 #endif 929 978 // read in depth and video 930 979 for(Int iBaseViewIdx=0; iBaseViewIdx < m_iNumberOfInputViews; iBaseViewIdx++ ) … … 944 993 } 945 994 995 #if HHI_FIX 996 } 997 else 998 #else 946 999 if ( iFrame < m_iFrameSkip ) // Skip Frames 1000 #endif 947 1001 { 948 1002 std::cout << "Skipping Frame " << iFrame << std::endl; … … 952 1006 } 953 1007 1008 #if HHI_FIX 1009 m_cCameraData.update( (UInt) ( iFrame - m_iFrameSkip ) ); 1010 #else 954 1011 m_cCameraData.update( (UInt)iFrame ); 1012 #endif 955 1013 956 1014 for(Int iViewIdx=1; iViewIdx < m_iNumberOfInputViews; iViewIdx++ )
Note: See TracChangeset for help on using the changeset viewer.