Changeset 754 in SHVCSoftware
- Timestamp:
- 29 Apr 2014, 23:42:56 (11 years ago)
- Location:
- branches/SHM-6-dev/source
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp
r721 r754 1535 1535 if( m_isField ) 1536 1536 { 1537 #if SVC_ UPSAMPLING1537 #if SVC_EXTENSION 1538 1538 #if LAYER_CTB 1539 1539 #if AUXILIARY_PICTURES … … 1555 1555 else 1556 1556 { 1557 #if SVC_ UPSAMPLING1557 #if SVC_EXTENSION 1558 1558 #if LAYER_CTB 1559 1559 #if AUXILIARY_PICTURES … … 1994 1994 rpcPicYuvRec = new TComPicYuv; 1995 1995 1996 #if SVC_ UPSAMPLING1996 #if SVC_EXTENSION 1997 1997 #if LAYER_CTB 1998 1998 #if AUXILIARY_PICTURES -
branches/SHM-6-dev/source/Lib/TLibCommon/TComPic.cpp
r595 r754 72 72 { 73 73 } 74 #if SVC_ UPSAMPLING74 #if SVC_EXTENSION 75 75 #if AUXILIARY_PICTURES 76 76 Void TComPic::create( Int iWidth, Int iHeight, ChromaFormat chromaFormatIDC, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, … … 184 184 185 185 deleteSEIs(m_SEIs); 186 #if SVC_EXTENSION && SVC_UPSAMPLING186 #if SVC_EXTENSION 187 187 for( Int i = 0; i < MAX_LAYERS; i++ ) 188 188 { -
branches/SHM-6-dev/source/Lib/TLibCommon/TComPic.h
r722 r754 97 97 virtual ~TComPic(); 98 98 99 #if SVC_EXTENSION 99 100 #if AUXILIARY_PICTURES 100 #if SVC_UPSAMPLING101 101 Void create( Int iWidth, Int iHeight, ChromaFormat chromaFormatIDC, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, 102 102 Int *numReorderPics, TComSPS* pcSps = NULL, Bool bIsVirtual = false ); 103 103 #else 104 Void create( Int iWidth, Int iHeight, ChromaFormat chromaFormatIDC, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow,105 Int *numReorderPics, Bool bIsVirtual = false );106 #endif107 #else108 #if SVC_UPSAMPLING109 104 Void create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, 110 105 Int *numReorderPics, TComSPS* pcSps = NULL, Bool bIsVirtual = false ); 106 #endif 111 107 #else 112 108 Void create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, 113 Int *numReorderPics, Bool bIsVirtual = false ); 114 #endif 115 #endif 109 Int *numReorderPics, Bool bIsVirtual = false ); 110 #endif //SVC_EXTENSION 111 116 112 virtual Void destroy(); 117 113 -
branches/SHM-6-dev/source/Lib/TLibCommon/TComPicYuv.cpp
r750 r754 67 67 { 68 68 } 69 70 #if SVC_EXTENSION 69 71 #if AUXILIARY_PICTURES 70 #if SVC_UPSAMPLING71 72 Void TComPicYuv::create( Int iPicWidth, Int iPicHeight, ChromaFormat chromaFormatIDC, UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxCUDepth, TComSPS* pcSps ) 72 73 #else 73 Void TComPicYuv::create( Int iPicWidth, Int iPicHeight, ChromaFormat chromaFormatIDC, UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxCUDepth )74 #endif75 #else76 #if SVC_UPSAMPLING77 74 Void TComPicYuv::create( Int iPicWidth, Int iPicHeight, UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxCUDepth, TComSPS* pcSps ) 75 #endif 78 76 #else 79 77 Void TComPicYuv::create( Int iPicWidth, Int iPicHeight, UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxCUDepth ) 80 78 #endif 81 #endif82 79 { 83 80 m_iPicWidth = iPicWidth; 84 81 m_iPicHeight = iPicHeight; 85 82 86 #if SVC_ UPSAMPLING83 #if SVC_EXTENSION 87 84 if(pcSps != NULL) 88 85 { -
branches/SHM-6-dev/source/Lib/TLibCommon/TComPicYuv.h
r750 r754 42 42 #include "CommonDef.h" 43 43 #include "TComRom.h" 44 #if SVC_ UPSAMPLING44 #if SVC_EXTENSION 45 45 #include "TComSlice.h" 46 46 #endif … … 94 94 ChromaFormat m_chromaFormatIDC; ////< Chroma Format 95 95 #endif 96 #if SVC_UPSAMPLING97 96 Window m_conformanceWindow; 98 #endif99 97 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 100 98 Bool m_isReconstructed; … … 112 110 // Memory management 113 111 // ------------------------------------------------------------------------------------------------ 112 #if SVC_EXTENSION 114 113 #if AUXILIARY_PICTURES 115 #if SVC_UPSAMPLING116 114 Void create ( Int iPicWidth, Int iPicHeight, ChromaFormat chromaFormatIDC, UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxCUDepth, TComSPS* pcSps = NULL); 117 115 #else 118 Void create ( Int iPicWidth, Int iPicHeight, ChromaFormat chromaFormatIDC, UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxCUDepth );119 #endif120 #else121 #if SVC_UPSAMPLING122 116 Void create ( Int iPicWidth, Int iPicHeight, UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxCUDepth, TComSPS* pcSps = NULL); 117 #endif 123 118 #else 124 119 Void create ( Int iPicWidth, Int iPicHeight, UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxCUDepth ); 125 #endif 126 #endif 120 #endif //SVC_EXTENSION 127 121 128 122 Void destroy (); … … 187 181 #if SVC_EXTENSION 188 182 Void setHeight ( Int iPicHeight ) { m_iPicHeight = iPicHeight; } 189 #if SVC_UPSAMPLING190 183 Window& getConformanceWindow() { return m_conformanceWindow; } 191 184 Void setConformanceWindow(Window& conformanceWindow ) { m_conformanceWindow = conformanceWindow; } 192 #endif193 185 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 194 186 Void setReconstructed(Bool x) { m_isReconstructed = x; } -
branches/SHM-6-dev/source/Lib/TLibCommon/TComPrediction.cpp
r724 r754 781 781 } 782 782 783 #if SVC_ UPSAMPLING783 #if SVC_EXTENSION 784 784 #if O0215_PHASE_ALIGNMENT 785 785 #if O0194_JOINT_US_BITSHIFT … … 807 807 #endif 808 808 #endif 809 #endif 809 #endif //SVC_EXTENSION 810 810 //! \} -
branches/SHM-6-dev/source/Lib/TLibCommon/TComPrediction.h
r703 r754 48 48 #include "TComWeightPrediction.h" 49 49 50 #if SVC_ UPSAMPLING50 #if SVC_EXTENSION 51 51 #include "TComUpsampleFilter.h" 52 52 #endif … … 72 72 73 73 TComInterpolationFilter m_if; 74 75 #if SVC_UPSAMPLING76 TComUpsampleFilter m_cUsf;77 #endif78 74 79 75 Pel* m_pLumaRecBuffer; ///< array for downsampled reconstructed luma sample … … 94 90 Void xDCPredFiltering( Int* pSrc, Int iSrcStride, Pel*& rpDst, Int iDstStride, Int iWidth, Int iHeight ); 95 91 Bool xCheckIdenticalMotion ( TComDataCU* pcCU, UInt PartAddr); 92 93 #if SVC_EXTENSION 94 TComUpsampleFilter m_cUsf; 95 #endif 96 96 97 97 public: … … 118 118 119 119 #if SVC_EXTENSION 120 #if SVC_UPSAMPLING121 120 #if O0215_PHASE_ALIGNMENT 122 121 #if O0194_JOINT_US_BITSHIFT … … 132 131 #endif 133 132 #endif 134 #endif135 133 #endif //SVC_EXTENSION 136 134 }; -
branches/SHM-6-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r708 r754 1 1 #include "TypeDef.h" 2 #if SVC_EXTENSION 2 3 #include "TComUpsampleFilter.h" 3 #include "TypeDef.h" 4 5 #if SVC_UPSAMPLING 4 6 5 #define CNU -1 ///< Coefficients Not Used 7 6 -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r748 r754 179 179 #define DERIVE_LAYER_ID_LIST_VARIABLES 1 ///< Derived variables based on the variables in VPS - for use in syntax table parsing 180 180 181 #define SVC_UPSAMPLING 1 ///< upsampling filters182 181 #define ROUNDING_OFFSET 1 ///< JCTVC-N0111: upsampling rounding offset using scalling factors 183 182 #define N0214_INTERMEDIATE_BUFFER_16BITS 1 ///< JCTVC-N0214: support base layer input more than 8 bits -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp
r749 r754 228 228 229 229 m_cIlpPic[j] = new TComPic; 230 230 231 #if AUXILIARY_PICTURES 231 232 #if REPN_FORMAT_IN_VPS 232 #if SVC_UPSAMPLING233 233 m_cIlpPic[j]->create(picWidth, picHeight, slice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 234 234 #else 235 m_cIlpPic[j]->create(picWidth, picHeight, slice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);236 #endif237 #else238 #if SVC_UPSAMPLING239 235 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), pcSPS->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 240 #else241 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), pcSPS->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);242 #endif243 236 #endif 244 237 #else 245 238 #if REPN_FORMAT_IN_VPS 246 #if SVC_UPSAMPLING247 239 m_cIlpPic[j]->create(picWidth, picHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 248 240 #else 249 m_cIlpPic[j]->create(picWidth, picHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);250 #endif251 #else252 #if SVC_UPSAMPLING253 241 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 254 #else255 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);256 #endif257 242 #endif 258 243 #endif … … 404 389 } 405 390 } 406 #endif 407 391 408 392 #if AUXILIARY_PICTURES 409 393 #if REPN_FORMAT_IN_VPS 410 #if SVC_UPSAMPLING411 394 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), pcSlice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 412 395 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 413 396 #else 414 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), pcSlice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,415 conformanceWindow, defaultDisplayWindow, numReorderPics, true);416 #endif417 #else418 #if SVC_UPSAMPLING419 397 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), pcSlice->getSPS()->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 420 398 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 421 #else422 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), pcSlice->getSPS()->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,423 conformanceWindow, defaultDisplayWindow, numReorderPics, true);424 #endif425 399 #endif 426 400 #else 427 401 #if REPN_FORMAT_IN_VPS 428 #if SVC_UPSAMPLING429 402 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 430 403 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 431 404 #else 432 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,433 conformanceWindow, defaultDisplayWindow, numReorderPics, true);434 #endif435 #else436 #if SVC_UPSAMPLING437 405 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 438 406 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 439 #else 407 #endif 408 #endif 409 410 #else //SVC_EXTENSION 440 411 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 441 412 conformanceWindow, defaultDisplayWindow, numReorderPics, true); 442 #endif 443 #endif 444 #endif 413 #endif //SVC_EXTENSION 414 445 415 m_cListPic.pushBack( rpcPic ); 446 416 … … 481 451 rpcPic->destroy(); 482 452 453 #if SVC_EXTENSION 483 454 #if AUXILIARY_PICTURES 484 455 #if REPN_FORMAT_IN_VPS 485 #if SVC_UPSAMPLING486 456 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), pcSlice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 487 457 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 488 489 #else 490 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), pcSlice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 491 conformanceWindow, defaultDisplayWindow, numReorderPics, true); 492 #endif 493 #else 494 #if SVC_UPSAMPLING 458 #else 495 459 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), pcSlice->getSPS()->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 496 460 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 497 498 #else499 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), pcSlice->getSPS()->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,500 conformanceWindow, defaultDisplayWindow, numReorderPics, true);501 #endif502 461 #endif 503 462 #else 504 463 #if REPN_FORMAT_IN_VPS 505 #if SVC_UPSAMPLING506 464 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 507 465 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 508 466 509 467 #else 510 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,511 conformanceWindow, defaultDisplayWindow, numReorderPics, true);512 #endif513 #else514 #if SVC_UPSAMPLING515 468 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 516 469 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 517 518 #else 470 #endif 471 #endif 472 #else //SVC_EXTENSION 519 473 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 520 474 conformanceWindow, defaultDisplayWindow, numReorderPics, true); 521 #endif 522 #endif 523 #endif 475 #endif //SVC_EXTENSION 524 476 } 525 477 … … 796 748 797 749 #if AUXILIARY_PICTURES 798 #if SVC_UPSAMPLING799 750 #if AVC_SYNTAX 800 751 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), repFormat->getChromaFormatVpsIdc(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, activeSPS, true); … … 803 754 #endif 804 755 #else 805 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), repFormat->getChromaFormatVpsIdc(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, true);806 #endif807 #else808 #if SVC_UPSAMPLING809 756 #if AVC_SYNTAX 810 757 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, activeSPS, true); 811 758 #else 812 759 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, NULL, true); 813 #endif814 #else815 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), onformanceWindow, defaultDisplayWindow, numReorderPics, true);816 760 #endif 817 761 #endif … … 1695 1639 } 1696 1640 #endif 1697 #if SVC_ UPSAMPLING1641 #if SVC_EXTENSION 1698 1642 if( pcPic->isSpatialEnhLayer(refLayerIdc) ) 1699 1643 { … … 1737 1681 } 1738 1682 pcSlice->setFullPelBaseRec ( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc) ); 1739 #endif 1683 #endif //SVC_EXTENSION 1740 1684 } 1741 1685 } -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r739 r754 103 103 m_associatedIRAPPOC = 0; 104 104 #endif 105 #if SVC_ UPSAMPLING105 #if SVC_EXTENSION 106 106 m_pcPredSearch = NULL; 107 #endif108 107 #if Q0048_CGS_3D_ASYMLUT 109 108 m_temp = NULL; 110 109 m_pColorMappedPic = NULL; 111 110 #endif 111 #endif //SVC_EXTENSION 112 112 return; 113 113 } … … 173 173 #if SVC_EXTENSION 174 174 m_ppcTEncTop = pcTEncTop->getLayerEnc(); 175 #endif176 #if SVC_UPSAMPLING177 175 m_pcPredSearch = pcTEncTop->getPredSearch(); ///< encoder search class 178 #endif179 176 #if Q0048_CGS_3D_ASYMLUT 180 177 if( pcTEncTop->getLayerId() ) … … 189 186 } 190 187 #endif 188 #endif //SVC_EXTENSION 191 189 } 192 190 … … 1089 1087 } 1090 1088 #endif 1091 #if SVC_ UPSAMPLING1089 #if SVC_EXTENSION 1092 1090 if( pcPic->isSpatialEnhLayer(refLayerIdc) ) 1093 1091 { … … 1142 1140 } 1143 1141 pcSlice->setFullPelBaseRec ( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc) ); 1144 #endif 1142 #endif //SVC_EXTENSION 1145 1143 } 1146 1144 -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncGOP.h
r694 r754 135 135 UInt m_layerId; 136 136 TEncTop** m_ppcTEncTop; 137 #if SVC_UPSAMPLING138 137 TEncSearch* m_pcPredSearch; ///< encoder search class 139 #endif140 138 #if Q0048_CGS_3D_ASYMLUT 141 139 TEnc3DAsymLUT m_Enc3DAsymLUTPicUpdate; -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncPic.cpp
r595 r754 126 126 * \return Void 127 127 */ 128 #if SVC_EXTENSION 128 129 #if AUXILIARY_PICTURES 129 #if SVC_UPSAMPLING130 130 Void TEncPic::create( Int iWidth, Int iHeight, ChromaFormat chromaFormat, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, 131 131 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, TComSPS* pcSps, Bool bIsVirtual ) 132 133 #else134 135 Void TEncPic::create( Int iWidth, Int iHeight, ChromaFormat chromaFormat, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth,136 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, Bool bIsVirtual )137 #endif138 132 { 139 #if SVC_UPSAMPLING140 133 TComPic::create( iWidth, iHeight, chromaFormat, uiMaxWidth, uiMaxHeight, uiMaxDepth, 141 134 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSps, bIsVirtual ); 142 135 #else 143 TComPic::create( iWidth, iHeight, chromaFormat, uiMaxWidth, uiMaxHeight, uiMaxDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, bIsVirtual ); 136 Void TEncPic::create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, 137 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, TComSPS* pcSps, Bool bIsVirtual ) 138 { 139 TComPic::create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth, 140 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSps, bIsVirtual ); 144 141 #endif 145 142 m_uiMaxAQDepth = uiMaxAQDepth; … … 153 150 } 154 151 } 155 #else 156 #if SVC_UPSAMPLING 157 Void TEncPic::create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, 158 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, TComSPS* pcSps, Bool bIsVirtual ) 159 160 #else 152 #else //SVC_EXTENSION 161 153 Void TEncPic::create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, 162 154 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, Bool bIsVirtual ) 163 #endif164 155 { 165 #if SVC_UPSAMPLING166 TComPic::create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth,167 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSps, bIsVirtual );168 #else169 156 TComPic::create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth, 170 157 conformanceWindow, defaultDisplayWindow, numReorderPics, bIsVirtual ); 171 #endif172 158 m_uiMaxAQDepth = uiMaxAQDepth; 173 159 if ( uiMaxAQDepth > 0 ) … … 180 166 } 181 167 } 182 #endif 168 #endif //SVC_EXTENSION 183 169 184 170 /** Clean up -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncPic.h
r595 r754 41 41 #include "TLibCommon/CommonDef.h" 42 42 #include "TLibCommon/TComPic.h" 43 #if SVC_ UPSAMPLING43 #if SVC_EXTENSION 44 44 #include "TLibCommon/TComSlice.h" 45 45 #endif … … 105 105 virtual ~TEncPic(); 106 106 107 #if SVC_EXTENSION 107 108 #if AUXILIARY_PICTURES 108 #if SVC_UPSAMPLING109 109 Void create( Int iWidth, Int iHeight, ChromaFormat chromaFormat, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, 110 110 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, TComSPS* pcSps, Bool bIsVirtual=false ); 111 111 #else 112 Void create( Int iWidth, Int iHeight, ChromaFormat chromaFormat, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth,113 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, Bool bIsVirtual = false );114 115 #endif116 #else117 #if SVC_UPSAMPLING118 112 Void create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, 119 113 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, TComSPS* pcSps, Bool bIsVirtual = false ); 120 #else 114 #endif 115 #else //SVC_EXTENSION 121 116 Void create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, 122 117 Window &conformanceWindow, Window &defaultDisplayWindow, Int *numReorderPics, Bool bIsVirtual = false ); 123 #endif 124 #endif 118 #endif //SVC_EXTENSION 119 125 120 virtual Void destroy(); 126 121 -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncTop.cpp
r691 r754 820 820 #endif 821 821 822 #if SVC_EXTENSION 822 823 #if AUXILIARY_PICTURES 823 #if SVC_UPSAMPLING824 824 pcEPic->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, m_cPPS.getMaxCuDQPDepth()+1 , 825 825 m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics, &m_cSPS); 826 826 #else 827 pcEPic->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, m_cPPS.getMaxCuDQPDepth()+1 ,828 m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics);829 #endif830 #else831 #if SVC_UPSAMPLING832 827 pcEPic->create( m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, m_cPPS.getMaxCuDQPDepth()+1 , 833 828 m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics, &m_cSPS); 834 #else 829 #endif 830 #else //SVC_EXTENSION 835 831 pcEPic->create( m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, m_cPPS.getMaxCuDQPDepth()+1 , 836 832 m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics); 837 #endif 838 #endif 833 #endif //SVC_EXTENSION 839 834 rpcPic = pcEPic; 840 835 } … … 889 884 #endif 890 885 886 #if SVC_EXTENSION 891 887 #if AUXILIARY_PICTURES 892 #if SVC_UPSAMPLING893 888 rpcPic->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 894 889 m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics, &m_cSPS); 895 890 #else 896 rpcPic->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,897 m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics);898 #endif899 #else900 #if SVC_UPSAMPLING901 891 rpcPic->create( m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 902 892 m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics, &m_cSPS); 903 #else 893 #endif 894 #else //SVC_EXTENSION 904 895 rpcPic->create( m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 905 896 m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics); 906 #endif 907 #endif 897 #endif //SVC_EXTENSION 908 898 } 909 899 m_cListPic.pushBack( rpcPic ); … … 1582 1572 { 1583 1573 m_cIlpPic[j] = new TComPic; 1584 #if SVC_UPSAMPLING1585 1574 #if AUXILIARY_PICTURES 1586 1575 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, &m_cSPS, true); 1587 1576 #else 1588 1577 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, &m_cSPS, true); 1589 #endif1590 #else1591 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);1592 1578 #endif 1593 1579 for (Int i=0; i<m_cIlpPic[j]->getPicSym()->getNumberOfCUsInFrame(); i++) … … 1649 1635 { 1650 1636 m_cIlpPic[j] = new TComPic; 1651 #if SVC_UPSAMPLING1652 1637 #if AUXILIARY_PICTURES 1653 1638 m_cIlpPic[j]->create(picWidth, picHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, &m_cSPS, true); 1654 1639 #else 1655 1640 m_cIlpPic[j]->create(picWidth, picHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, &m_cSPS, true); 1656 #endif1657 #else1658 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);1659 1641 #endif 1660 1642 for (Int i=0; i<m_cIlpPic[j]->getPicSym()->getNumberOfCUsInFrame(); i++)
Note: See TracChangeset for help on using the changeset viewer.