Changeset 195 in 3DVCSoftware for branches/HTM-5.0-Qualcomm/source/App/TAppDecoder
- Timestamp:
- 26 Nov 2012, 22:32:00 (12 years ago)
- Location:
- branches/HTM-5.0-Qualcomm/source/App/TAppDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.0-Qualcomm/source/App/TAppDecoder/TAppDecTop.cpp
r194 r195 82 82 Void TAppDecTop::decode() 83 83 { 84 #if VIDYO_VPS_INTEGRATION| MVHEVC84 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 85 85 increaseNumberOfViews( 0, 0, 0 ); 86 86 #else … … 145 145 { 146 146 read(nalu, nalUnit); 147 #if MVHEVC147 #if QC_MVHEVC_B0046 148 148 viewDepthId = nalu.m_layerId; 149 149 Int depth = 0; … … 171 171 if( viewDepthId >= m_tDecTop.size() ) 172 172 { 173 #if VIDYO_VPS_INTEGRATION| MVHEVC173 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 174 174 increaseNumberOfViews( viewDepthId, viewId, depth ); 175 175 #else … … 200 200 if( !(m_iMaxTemporalLayer >= 0 && nalu.m_temporalId > m_iMaxTemporalLayer) ) 201 201 { 202 #if MVHEVC202 #if QC_MVHEVC_B0046 203 203 if(viewDepthId && m_tDecTop[viewDepthId]->m_bFirstNal== false) 204 204 { … … 233 233 if( pcListPic[viewDepthId] ) 234 234 { 235 #if QC_REM_IDV 235 #if QC_REM_IDV_B0046 236 236 Int iviewId = m_tDecTop[viewDepthId]->getViewId(); 237 237 if( newPicture[viewDepthId] && (nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR || ((nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR && iviewId) && m_tDecTop[viewDepthId]->getNalUnitTypeBaseView() == NAL_UNIT_CODED_SLICE_IDR)) ) … … 295 295 m_tDecTop[viewDepthIdx]->destroy() ; 296 296 } 297 #if MVHEVC297 #if QC_MVHEVC_B0046 298 298 if(viewDepthIdx) 299 299 { … … 445 445 m_pocLastDisplay[viewDepthId] = -MAX_INT; 446 446 } 447 #if VIDYO_VPS_INTEGRATION| MVHEVC447 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 448 448 Void TAppDecTop::increaseNumberOfViews ( UInt layerId, UInt viewId, UInt isDepth ) 449 449 #else … … 451 451 #endif 452 452 { 453 #if VIDYO_VPS_INTEGRATION| MVHEVC453 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 454 454 Int newNumberOfViewDepth = layerId + 1; 455 455 #endif … … 458 458 m_outputBitDepth = g_uiBitDepth + g_uiBitIncrement; 459 459 } 460 #if !VIDYO_VPS_INTEGRATION&! MVHEVC460 #if !VIDYO_VPS_INTEGRATION&!QC_MVHEVC_B0046 461 461 Int viewId = (newNumberOfViewDepth-1)>>1; // coding order T0D0T1D1T2D2 462 462 Bool isDepth = ((newNumberOfViewDepth % 2) == 0); // coding order T0D0T1D1T2D2 … … 471 471 m_tVideoIOYuvReconFile.push_back(new TVideoIOYuv); 472 472 Char buffer[4]; 473 #if VIDYO_VPS_INTEGRATION| MVHEVC473 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 474 474 sprintf(buffer,"_%i", viewId ); 475 475 #else … … 477 477 #endif 478 478 Char* nextFilename = NULL; 479 #if VIDYO_VPS_INTEGRATION| MVHEVC479 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 480 480 if( isDepth) 481 481 #else … … 492 492 xAppendToFileNameEnd( m_pchReconFile, buffer, nextFilename); 493 493 } 494 #if !VIDYO_VPS_INTEGRATION&! MVHEVC494 #if !VIDYO_VPS_INTEGRATION&!QC_MVHEVC_B0046 495 495 if( isDepth || ( !isDepth && (m_tVideoIOYuvReconFile.size() % 2) == 1 ) ) 496 496 #endif … … 509 509 { 510 510 m_tDecTop.push_back(new TDecTop); 511 #if !VIDYO_VPS_INTEGRATION&! MVHEVC511 #if !VIDYO_VPS_INTEGRATION&!QC_MVHEVC_B0046 512 512 if( isDepth || ( !isDepth && (m_tVideoIOYuvReconFile.size() % 2) == 1 ) ) 513 513 { … … 519 519 m_tDecTop.back()->setPictureDigestEnabled(m_pictureDigestEnabled); 520 520 m_tDecTop.back()->setCamParsCollector( &m_cCamParsCollector ); 521 #if !VIDYO_VPS_INTEGRATION&! MVHEVC521 #if !VIDYO_VPS_INTEGRATION&!QC_MVHEVC_B0046 522 522 } 523 523 #endif -
branches/HTM-5.0-Qualcomm/source/App/TAppDecoder/TAppDecTop.h
r194 r195 74 74 CamParsCollector m_cCamParsCollector; 75 75 #if DEPTH_MAP_GENERATION 76 #if VIDYO_VPS_INTEGRATION| MVHEVC76 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 77 77 TComVPSAccess m_cVPSAccess; 78 78 #endif … … 88 88 Void destroy (); ///< destroy internal members 89 89 Void decode (); ///< main decoding function 90 #if VIDYO_VPS_INTEGRATION| MVHEVC90 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 91 91 Void increaseNumberOfViews (UInt layerId, UInt viewId, UInt isDepth); 92 92 #else
Note: See TracChangeset for help on using the changeset viewer.