Changeset 468 in SHVCSoftware for branches/SHM-4.0-dev/source/App/TAppDecoder
- Timestamp:
- 14 Nov 2013, 09:02:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/App/TAppDecoder/TAppDecTop.cpp
r467 r468 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 6 * Copyright (c) 2010-2013, ITU/ISO/IEC … … 80 80 m_pchBitstreamFile = NULL; 81 81 } 82 #if SVC_EXTENSION 82 #if SVC_EXTENSION 83 83 for( Int i = 0; i < m_tgtLayerId; i++ ) 84 84 { … … 88 88 m_pchReconFile[i] = NULL; 89 89 } 90 } 90 } 91 91 #if AVC_BASE 92 92 if( m_pchBLReconFile ) … … 240 240 if ( m_pchReconFile[curLayerId] && !openedReconFile[curLayerId] ) 241 241 { 242 if (!m_outputBitDepthY) { m_outputBitDepthY = g_bitDepthY; } 242 if (!m_outputBitDepthY) { m_outputBitDepthY = g_bitDepthY; } 243 243 if (!m_outputBitDepthC) { m_outputBitDepthC = g_bitDepthC; } 244 244 … … 247 247 openedReconFile[curLayerId] = true; 248 248 } 249 if ( bNewPicture && bNewPOC && 249 if ( bNewPicture && bNewPOC && 250 250 ( nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_W_RADL 251 251 || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_N_LP … … 281 281 } 282 282 #endif 283 pcBLPic.destroy(); 283 pcBLPic.destroy(); 284 284 285 285 for(UInt layer = layerIdmin; layer <= m_tgtLayerId; layer++) … … 290 290 m_acTDecTop[layer].deletePicBuffer(); 291 291 } 292 292 293 293 // destroy internal classes 294 294 xDestroyDecLib(); … … 399 399 openedReconFile = true; 400 400 } 401 if ( bNewPicture && 401 if ( bNewPicture && 402 402 ( nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_W_RADL 403 403 || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_N_LP … … 415 415 } 416 416 } 417 417 418 418 #if SYNTAX_OUTPUT 419 419 if( streamSyntaxFile.is_open() ) … … 422 422 } 423 423 #endif 424 424 425 425 xFlushOutput( pcListPic ); 426 426 // delete buffers 427 427 m_cTDecTop.deletePicBuffer(); 428 428 429 429 // destroy internal classes 430 430 xDestroyDecLib(); … … 440 440 #if SVC_EXTENSION 441 441 // initialize global variables 442 initROM(); 442 initROM(); 443 443 444 444 for(UInt layer = 0; layer <= m_tgtLayerId; layer++) … … 450 450 m_acTDecTop[layer].create(); 451 451 452 m_acTDecTop[layer].setLayerDec(m_apcTDecTop); 452 m_acTDecTop[layer].setLayerDec(m_apcTDecTop); 453 453 } 454 454 #else … … 479 479 m_cTVideoIOYuvReconFile. close(); 480 480 } 481 481 482 482 // destroy decoder class 483 483 m_cTDecTop.destroy(); … … 571 571 572 572 #else 573 #if O0194_REPN_FORMAT_IN_VPS_BUGFIX 573 #if O0194_DIFFERENT_BITDEPTH_EL_BL 574 // Compile time bug-fix 574 575 m_acTVideoIOYuvReconFile[layerId].write( pcPicTop->getPicYuvRec(), pcPicBottom->getPicYuvRec(), 575 576 #else … … 732 733 { 733 734 return; 734 } 735 } 735 736 TComList<TComPic*>::iterator iterPic = pcListPic->begin(); 736 737 … … 768 769 769 770 #else 770 #if O0194_REPN_FORMAT_IN_VPS_BUGFIX 771 #if O0194_DIFFERENT_BITDEPTH_EL_BL 772 // Compile time bug-fix 771 773 m_acTVideoIOYuvReconFile[layerId].write( pcPicTop->getPicYuvRec(), pcPicBottom->getPicYuvRec(), 772 774 #else … … 926 928 pcPic = NULL; 927 929 } 928 #endif 930 #endif 929 931 #endif 930 932 iterPic++;
Note: See TracChangeset for help on using the changeset viewer.