Changeset 105 in 3DVCSoftware for trunk/source
- Timestamp:
- 14 Aug 2012, 20:24:45 (12 years ago)
- Location:
- trunk/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppDecoder/TAppDecTop.cpp
r81 r105 435 435 if( isDepth ) 436 436 m_useDepth = true; 437 while( m_tVideoIOYuvReconFile.size() < newNumberOfViewDepth) 438 { 439 m_tVideoIOYuvReconFile.push_back(new TVideoIOYuv); 440 Char buffer[4]; 441 #if VIDYO_VPS_INTEGRATION 442 sprintf(buffer,"_%i", viewId ); 443 #else 444 sprintf(buffer,"_%i", (Int)(m_tVideoIOYuvReconFile.size()-1) / 2 ); 445 #endif 446 Char* nextFilename = NULL; 447 #if VIDYO_VPS_INTEGRATION 448 if( isDepth) 449 #else 450 if( (m_tVideoIOYuvReconFile.size() % 2) == 0 ) 451 #endif 452 { 453 Char* pchTempFilename = NULL; 454 xAppendToFileNameEnd( m_pchReconFile, "_depth", pchTempFilename); 455 xAppendToFileNameEnd( pchTempFilename, buffer, nextFilename); 456 free ( pchTempFilename ); 457 } 458 else 459 { 460 xAppendToFileNameEnd( m_pchReconFile, buffer, nextFilename); 461 } 437 438 #if FIX_DECODING_WO_WRITING 439 if ( m_pchReconFile ) 440 { 441 #endif 442 while( m_tVideoIOYuvReconFile.size() < newNumberOfViewDepth) 443 { 444 m_tVideoIOYuvReconFile.push_back(new TVideoIOYuv); 445 Char buffer[4]; 446 #if VIDYO_VPS_INTEGRATION 447 sprintf(buffer,"_%i", viewId ); 448 #else 449 sprintf(buffer,"_%i", (Int)(m_tVideoIOYuvReconFile.size()-1) / 2 ); 450 #endif 451 Char* nextFilename = NULL; 452 #if VIDYO_VPS_INTEGRATION 453 if( isDepth) 454 #else 455 if( (m_tVideoIOYuvReconFile.size() % 2) == 0 ) 456 #endif 457 { 458 Char* pchTempFilename = NULL; 459 xAppendToFileNameEnd( m_pchReconFile, "_depth", pchTempFilename); 460 xAppendToFileNameEnd( pchTempFilename, buffer, nextFilename); 461 free ( pchTempFilename ); 462 } 463 else 464 { 465 xAppendToFileNameEnd( m_pchReconFile, buffer, nextFilename); 466 } 462 467 #if !VIDYO_VPS_INTEGRATION 463 if( isDepth || ( !isDepth && (m_tVideoIOYuvReconFile.size() % 2) == 1 ) )464 #endif 465 {466 m_tVideoIOYuvReconFile.back()->open( nextFilename, true, m_outputBitDepth, g_uiBitDepth + g_uiBitIncrement );467 }468 if( isDepth || ( !isDepth && (m_tVideoIOYuvReconFile.size() % 2) == 1 ) ) 469 #endif 470 { 471 m_tVideoIOYuvReconFile.back()->open( nextFilename, true, m_outputBitDepth, g_uiBitDepth + g_uiBitIncrement ); 472 } 468 473 free ( nextFilename ); 469 } 474 } 475 #if FIX_DECODING_WO_WRITING 476 } 477 #endif 478 470 479 while( m_pocLastDisplay.size() < newNumberOfViewDepth ) 471 480 { -
trunk/source/Lib/TLibCommon/CommonDef.h
r100 r105 58 58 59 59 #define HM_VERSION "6.1" 60 #define NV_VERSION "4.0 rc1"///< Current software version60 #define NV_VERSION "4.0" ///< Current software version 61 61 62 62 // ==================================================================================================================== -
trunk/source/Lib/TLibCommon/TypeDef.h
r101 r105 44 44 #define FIXES 1 45 45 #define POZNAN_CABAC_INIT_FLAG_FIX 1 46 #define FIX_DECODING_WO_WRITING 1 47 #define FIX_INIT_ROM 1 48 #define FIX_VIRT_DESTRUCTOR 1 46 49 47 50 -
trunk/source/Lib/TLibEncoder/TEncTop.cpp
r100 r105 91 91 { 92 92 // initialize global variables 93 initROM(); 94 93 #if FIX_INIT_ROM 94 if( m_viewId == 0 && m_isDepth == false ) 95 { 96 #endif 97 initROM(); 98 #if FIX_INIT_ROM 99 } 100 #endif 101 102 95 103 // create processing unit classes 96 104 m_cGOPEncoder. create( getSourceWidth(), getSourceHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight ); -
trunk/source/Lib/TLibRenderer/TRenSingleModel.h
r100 r105 68 68 { 69 69 public: 70 71 #if FIX_VIRT_DESTRUCTOR 72 virtual ~TRenSingleModel() { } 73 #endif 70 74 #if LGE_VSO_EARLY_SKIP_A0093 71 75 virtual Void create ( Int iMode, Int iWidth, Int iHeight, Int iShiftPrec, Int*** aaaiSubPelShiftTable, Int iHoleMargin, Bool bUseOrgRef, Int iBlendMode, Bool bEarlySkip ) = 0;
Note: See TracChangeset for help on using the changeset viewer.