Changeset 994 in 3DVCSoftware for branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibEncoder
- Timestamp:
- 15 Jul 2014, 15:44:07 (11 years ago)
- Location:
- branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibEncoder/TEncSbac.cpp
r983 r994 2324 2324 } 2325 2325 2326 #if HS_DMM_SIGNALLING_I0120 2327 UInt uiNumSegments = isDimMode( pcCU->getLumaIntraDir( absPartIdx ) ) ? 2 : 1; 2328 UInt dimDeltaDC = 1; 2329 #else 2326 2330 UInt uiNumSegments = 0; 2327 2331 UInt dimDeltaDC = 0; 2328 2332 #endif 2333 2334 #if HS_DMM_SIGNALLING_I0120 2335 if( pcCU->isIntra( absPartIdx ) && pcCU->getSDCFlag( absPartIdx )) 2336 { 2337 #else 2329 2338 if( pcCU->isIntra( absPartIdx ) ) 2330 2339 { … … 2334 2343 if( pcCU->getSDCFlag( absPartIdx ) ) 2335 2344 { 2345 #endif 2336 2346 if( uiNumSegments == 1 ) 2337 2347 { … … 2342 2352 dimDeltaDC = ( pcCU->getSDCSegmentDCOffset( 0, absPartIdx ) || pcCU->getSDCSegmentDCOffset( 1, absPartIdx ) ) ? 1 : 0; 2343 2353 } 2354 #if !HS_DMM_SIGNALLING_I0120 2344 2355 } 2345 2356 else … … 2347 2358 dimDeltaDC = isDimDeltaDC( dir ); 2348 2359 } 2360 #endif 2349 2361 m_pcBinIf->encodeBin( dimDeltaDC, m_cDdcFlagSCModel.get( 0, 0, 0 ) ); 2350 2362 } 2363 #if !HS_DMM_SIGNALLING_I0120 2351 2364 else //all-zero inter SDC is not allowed 2352 2365 { … … 2354 2367 dimDeltaDC = 1; 2355 2368 } 2369 #endif 2356 2370 2357 2371 if( dimDeltaDC ) -
branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibEncoder/TEncSearch.cpp
r993 r994 3157 3157 pcCU->setDimDeltaDC( dmmType, 1, uiPartOffset, deltaDC2 ); 3158 3158 3159 #if HS_DMM_SIGNALLING_I0120 3160 uiRdModeList[ numModesForFullRD++ ] = (dmmType +DIM_OFFSET); 3161 #else 3159 3162 uiRdModeList[ numModesForFullRD++ ] = (2*dmmType +DIM_OFFSET); 3160 3163 uiRdModeList[ numModesForFullRD++ ] = (2*dmmType+1+DIM_OFFSET); 3164 #endif 3161 3165 3162 3166 if( DMM4_IDX == dmmType ) { biSegmentation->destroy(); delete biSegmentation; } … … 3213 3217 if (uiMode < numModesForFullRD) 3214 3218 { 3215 3219 uiOrgMode = uiRdModeList[uiMode]; 3216 3220 } 3217 3221 else … … 3226 3230 { 3227 3231 if (uiOrgMode != uiBestPUModeConv && uiOrgMode != uiSecondBestPUModeConv && uiOrgMode != uiThirdBestPUModeConv 3228 && uiOrgMode > 1 && uiOrgMode < NUM_INTRA_MODE && varCU < 4)3232 && uiOrgMode > 1 && uiOrgMode < NUM_INTRA_MODE && varCU < 4) 3229 3233 continue; 3230 3234 }
Note: See TracChangeset for help on using the changeset viewer.