Changeset 754 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibEncoder
- Timestamp:
- 29 Apr 2014, 23:42:56 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib/TLibEncoder
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
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.