Changeset 1128 in 3DVCSoftware for branches/HTM-13.0-MV-draft-2/source/App/TAppDecoder/TAppDecTop.cpp
- Timestamp:
- 10 Nov 2014, 14:19:08 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.0-MV-draft-2/source/App/TAppDecoder/TAppDecTop.cpp
r1084 r1128 67 67 } 68 68 #endif 69 #if H_3D70 m_pScaleOffsetFile = 0;71 #endif72 69 73 70 #if H_MV … … 103 100 m_pchReconFile = NULL; 104 101 } 105 #if H_3D106 if (m_pchScaleOffsetFile)107 {108 free (m_pchScaleOffsetFile);109 m_pchScaleOffsetFile = NULL;110 }111 #endif112 102 } 113 103 … … 139 129 } 140 130 141 #if H_3D142 if( m_pchScaleOffsetFile )143 {144 m_pScaleOffsetFile = ::fopen( m_pchScaleOffsetFile, "wt" );145 AOF( m_pScaleOffsetFile );146 }147 #endif148 131 InputByteStream bytestream(bitstreamFile); 149 132 … … 265 248 } 266 249 } 267 #if H_3D268 if (nalu.m_nalUnitType == NAL_UNIT_VPS )269 {270 m_cCamParsCollector.init( m_pScaleOffsetFile, m_tDecTop[decIdx]->getPrefetchedVPS() );271 }272 #endif273 250 bNewPicture = ( newSliceDiffLayer || newSliceDiffPoc ) && !sliceSkippedFlag; 274 251 if ( nalu.isSlice() && firstSlice && !sliceSkippedFlag ) … … 346 323 #endif 347 324 #endif 348 #if H_3D349 if ( allLayersDecoded || !bitstreamFile )350 {351 for( Int dI = 0; dI < m_numDecoders; dI++ )352 {353 TComPic* picLastCoded = m_ivPicLists.getPic( m_tDecTop[dI]->getLayerId(), pocLastPic );354 assert( picLastCoded != NULL );355 picLastCoded->compressMotion(1);356 }357 }358 #endif359 325 360 326 if( pcListPic ) … … 469 435 } 470 436 #if H_MV 471 #if H_3D472 if( m_cCamParsCollector.isInitialized() )473 {474 m_cCamParsCollector.setSlice( 0 );475 }476 #endif477 437 for(UInt decIdx = 0; decIdx < m_numDecoders; decIdx++) 478 438 { … … 498 458 // initialize global variables 499 459 initROM(); 500 #if H_3D_DIM_DMM501 initWedgeLists();502 #endif503 460 #else 504 461 // create decoder class … … 538 495 // destroy decoder class 539 496 m_cTDecTop.destroy(); 540 #endif541 #if H_3D542 m_cCamParsCollector.uninit();543 if( m_pScaleOffsetFile )544 {545 ::fclose( m_pScaleOffsetFile );546 }547 497 #endif 548 498 } … … 1051 1001 m_tDecTop[ decIdx ]->setTargetOptLayerSetIdx( m_targetOptLayerSetIdx ); 1052 1002 1053 #if H_3D1054 m_tDecTop[ decIdx ]->setCamParsCollector( &m_cCamParsCollector );1055 #endif1056 1003 1057 1004 // append pic list of new decoder to PicLists
Note: See TracChangeset for help on using the changeset viewer.