Changeset 1049 in 3DVCSoftware for branches/HTM-12.0-dev1/source/Lib/TLibEncoder
- Timestamp:
- 20 Aug 2014, 08:01:43 (11 years ago)
- Location:
- branches/HTM-12.0-dev1/source/Lib/TLibEncoder
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncEntropy.cpp
r1039 r1049 185 185 else 186 186 { 187 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 188 Int ICEnableCandidate = pcCU->getSlice()->getICEnableCandidate(pcCU->getSlice()->getDepth()); 189 Int ICEnableNum = pcCU->getSlice()->getICEnableNum(pcCU->getSlice()->getDepth()); 190 ICEnableCandidate++; 191 if(pcCU->getICFlag(uiAbsPartIdx)) 192 { 193 ICEnableNum++; 194 } 195 pcCU->getSlice()->setICEnableCandidate(pcCU->getSlice()->getDepth(), ICEnableCandidate); 196 pcCU->getSlice()->setICEnableNum(pcCU->getSlice()->getDepth(), ICEnableNum); 197 #else 187 198 g_aICEnableCANDIDATE[pcCU->getSlice()->getDepth()]++; 188 199 if(pcCU->getICFlag(uiAbsPartIdx)) … … 190 201 g_aICEnableNUM[pcCU->getSlice()->getDepth()]++; 191 202 } 203 #endif 192 204 } 193 205 if( pcCU->isICFlagRequired( uiAbsPartIdx ) ) -
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncGOP.cpp
r1039 r1049 160 160 #endif 161 161 #endif 162 162 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 163 m_aICEnableCandidate = pcTEncTop->getICEnableCandidate(); 164 m_aICEnableNum = pcTEncTop->getICEnableNum(); 165 #endif 163 166 #if KWU_FIX_URQ 164 167 m_pcRateCtrl = pcTEncTop->getRateCtrl(); … … 968 971 #endif 969 972 #endif 973 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 974 pcSlice->setICEnableCandidate( m_aICEnableCandidate ); 975 pcSlice->setICEnableNum( m_aICEnableNum ); 976 #endif 970 977 // Slice info. refinement 971 978 #if H_MV -
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncGOP.h
r964 r1049 116 116 #endif 117 117 #endif 118 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 119 Int *m_aICEnableCandidate; 120 Int *m_aICEnableNum; 121 #endif 118 122 //--Adaptive Loop filter 119 123 TEncSampleAdaptiveOffset* m_pcSAO; -
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncTop.cpp
r1039 r1049 84 84 m_ivPicLists = NULL; 85 85 #endif 86 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 87 m_aICEnableCandidate = NULL; 88 m_aICEnableNum = NULL; 89 #endif 86 90 } 87 91 … … 305 309 306 310 xInitPPSforTiles(); 307 311 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 312 m_aICEnableCandidate = new Int[ 10 ]; 313 m_aICEnableNum = new Int[ 10 ]; 314 315 for(int i=0;i<10;i++) 316 { 317 m_aICEnableCandidate[i]=0; 318 m_aICEnableNum[i]=0; 319 } 320 #endif 308 321 // initialize processing unit classes 309 322 m_cGOPEncoder. init( this ); -
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncTop.h
r872 r1049 79 79 #if H_MV 80 80 TComPicLists* m_ivPicLists; ///< access to picture lists of other layers 81 #endif 82 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 83 Int *m_aICEnableCandidate; 84 Int *m_aICEnableNum; 81 85 #endif 82 86 // encoder search … … 162 166 TComPicLists* getIvPicLists() { return m_ivPicLists; } 163 167 #endif 168 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 169 Int *getICEnableCandidate() { return m_aICEnableCandidate; } 170 Int *getICEnableNum() { return m_aICEnableNum; } 171 #endif 164 172 Void deletePicBuffer (); 165 173 … … 221 229 Void setIvPicLists ( TComPicLists* picLists) { m_ivPicLists = picLists; } 222 230 #endif 231 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 232 Void setICEnableCandidate ( Int* ICEnableCandidate) { m_aICEnableCandidate = ICEnableCandidate; } 233 Void setICEnableNum ( Int* ICEnableNum) { m_aICEnableNum = ICEnableNum; } 234 #endif 223 235 // ------------------------------------------------------------------------------------------------------------------- 224 236 // encoder function
Note: See TracChangeset for help on using the changeset viewer.