Changeset 754 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibCommon
- Timestamp:
- 29 Apr 2014, 23:42:56 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib/TLibCommon
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset for help on using the changeset viewer.