Changeset 1444 in SHVCSoftware
- Timestamp:
- 13 Aug 2015, 19:20:08 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp
r1442 r1444 75 75 }; 76 76 77 static const UInt s_auiDFilter[9] =78 {79 0, 1, 0,80 2, 3, 2,81 0, 1, 082 };83 84 77 static Void offsetSubTUCBFs(TComTU &rTu, const ComponentID compID) 85 78 { … … 125 118 , m_pcRDGoOnSbacCoder (NULL) 126 119 , m_pTempPel (NULL) 127 , m_puiDFilter (NULL)128 120 , m_isInitialized (false) 129 121 { … … 131 123 { 132 124 m_ppcQTTempCoeff[ch] = NULL; 133 m_pcQTTempCoeff[ch] = NULL;134 125 #if ADAPTIVE_QP_SELECTION 135 126 m_ppcQTTempArlCoeff[ch] = NULL; 136 m_pcQTTempArlCoeff[ch] = NULL;137 127 #endif 138 128 m_puhQTTempCbf[ch] = NULL; … … 182 172 } 183 173 delete[] m_ppcQTTempCoeff[ch]; 184 delete[] m_pcQTTempCoeff[ch];185 174 delete[] m_puhQTTempCbf[ch]; 186 175 #if ADAPTIVE_QP_SELECTION 187 176 delete[] m_ppcQTTempArlCoeff[ch]; 188 delete[] m_pcQTTempArlCoeff[ch];189 177 #endif 190 178 } … … 260 248 } 261 249 262 m_puiDFilter = s_auiDFilter + 4;263 264 250 // initialize motion cost 265 251 for( Int iNum = 0; iNum < AMVP_MAX_NUM_CANDS+1; iNum++) … … 290 276 const UInt csy=::getComponentScaleY(ComponentID(ch), cform); 291 277 m_ppcQTTempCoeff[ch] = new TCoeff* [uiNumLayersToAllocate]; 292 m_pcQTTempCoeff[ch] = new TCoeff [(maxCUWidth*maxCUHeight)>>(csx+csy) ];293 278 #if ADAPTIVE_QP_SELECTION 294 279 m_ppcQTTempArlCoeff[ch] = new TCoeff*[uiNumLayersToAllocate]; 295 m_pcQTTempArlCoeff[ch] = new TCoeff [(maxCUWidth*maxCUHeight)>>(csx+csy) ];296 280 #endif 297 281 m_puhQTTempCbf[ch] = new UChar [uiNumPartitions]; … … 3855 3839 3856 3840 // calc distortion 3841 3857 3842 #if SVC_EXTENSION 3858 3843 uiCost = m_pcRdCost->getDistPart( pcCU->getSlice()->getBitDepth(CHANNEL_TYPE_LUMA), pcTemplateCand->getAddr(COMPONENT_Y, uiPartAddr), pcTemplateCand->getStride(COMPONENT_Y), pcOrgYuv->getAddr(COMPONENT_Y, uiPartAddr), pcOrgYuv->getStride(COMPONENT_Y), iSizeX, iSizeY, COMPONENT_Y, DF_SAD ); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.h
r1442 r1444 70 70 private: 71 71 TCoeff** m_ppcQTTempCoeff[MAX_NUM_COMPONENT /* 0->Y, 1->Cb, 2->Cr*/]; 72 TCoeff* m_pcQTTempCoeff[MAX_NUM_COMPONENT];73 72 #if ADAPTIVE_QP_SELECTION 74 73 TCoeff** m_ppcQTTempArlCoeff[MAX_NUM_COMPONENT]; 75 TCoeff* m_pcQTTempArlCoeff[MAX_NUM_COMPONENT];76 74 #endif 77 75 UChar* m_puhQTTempTrIdx; … … 115 113 // Misc. 116 114 Pel* m_pTempPel; 117 const UInt* m_puiDFilter;118 115 119 116 // AMVP cost computation
Note: See TracChangeset for help on using the changeset viewer.