Changeset 475 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibCommon/TComPic.cpp
- Timestamp:
- 15 Nov 2013, 14:55:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComPic.cpp
r459 r475 79 79 } 80 80 #if SVC_UPSAMPLING 81 #if AUXILIARY_PICTURES 82 Void TComPic::create( Int iWidth, Int iHeight, ChromaFormat chromaFormatIDC, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, 83 Int *numReorderPics, TComSPS* pcSps, Bool bIsVirtual) 84 #else 81 85 Void TComPic::create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, 82 86 Int *numReorderPics, TComSPS* pcSps, Bool bIsVirtual) 83 87 #endif 84 88 { 85 89 m_apcPicSym = new TComPicSym; m_apcPicSym ->create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth ); 86 90 if (!bIsVirtual) 87 91 { 92 #if AUXILIARY_PICTURES 93 m_apcPicYuv[0] = new TComPicYuv; m_apcPicYuv[0]->create( iWidth, iHeight, chromaFormatIDC, uiMaxWidth, uiMaxHeight, uiMaxDepth, pcSps ); 94 #else 88 95 m_apcPicYuv[0] = new TComPicYuv; m_apcPicYuv[0]->create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth, pcSps ); 89 } 96 #endif 97 } 98 #if AUXILIARY_PICTURES 99 m_apcPicYuv[1] = new TComPicYuv; m_apcPicYuv[1]->create( iWidth, iHeight, chromaFormatIDC, uiMaxWidth, uiMaxHeight, uiMaxDepth, pcSps ); 100 #else 90 101 m_apcPicYuv[1] = new TComPicYuv; m_apcPicYuv[1]->create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth, pcSps ); 102 #endif 91 103 92 104 for( Int i = 0; i < MAX_LAYERS; i++ ) … … 94 106 if( m_bSpatialEnhLayer[i] ) 95 107 { 108 #if AUXILIARY_PICTURES 109 m_pcFullPelBaseRec[i] = new TComPicYuv; m_pcFullPelBaseRec[i]->create( iWidth, iHeight, chromaFormatIDC, uiMaxWidth, uiMaxHeight, uiMaxDepth, pcSps ); 110 #else 96 111 m_pcFullPelBaseRec[i] = new TComPicYuv; m_pcFullPelBaseRec[i]->create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth, pcSps ); 112 #endif 97 113 } 98 114 } … … 407 423 { 408 424 m_pNDBFilterYuvTmp = new TComPicYuv(); 425 #if AUXILIARY_PICTURES 426 m_pNDBFilterYuvTmp->create(picWidth, picHeight, getChromaFormat(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth); 427 #else 409 428 m_pNDBFilterYuvTmp->create(picWidth, picHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth); 429 #endif 430 410 431 } 411 432
Note: See TracChangeset for help on using the changeset viewer.