Changeset 994 in 3DVCSoftware for branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibEncoder/TEncSbac.cpp
- Timestamp:
- 15 Jul 2014, 15:44:07 (10 years ago)
- File:
-
- 1 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 )
Note: See TracChangeset for help on using the changeset viewer.