Changeset 994 in 3DVCSoftware for branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibDecoder
- 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/TLibDecoder/TDecSbac.cpp
r983 r994 1194 1194 if( !uiSymbol ) 1195 1195 { 1196 #if HS_DMM_SIGNALLING_I0120 1197 pcCU->setLumaIntraDirSubParts( DIM_OFFSET, absPartIdx, depth ); 1198 #else 1196 1199 pcCU->setLumaIntraDirSubParts( ( 2 * DMM1_IDX + DIM_OFFSET ), absPartIdx, depth ); 1200 #endif 1197 1201 } 1198 1202 else 1199 1203 { 1204 #if HS_DMM_SIGNALLING_I0120 1205 pcCU->setLumaIntraDirSubParts( ( 1+ DIM_OFFSET ), absPartIdx, depth ); 1206 #else 1200 1207 pcCU->setLumaIntraDirSubParts( ( 2 * DMM4_IDX + DIM_OFFSET ), absPartIdx, depth ); 1208 #endif 1201 1209 } 1202 1210 } … … 2112 2120 } 2113 2121 2122 #if HS_DMM_SIGNALLING_I0120 2123 UInt symbol = 1; 2124 UInt uiNumSegments = isDimMode( pcCU->getLumaIntraDir( absPartIdx ) ) ? 2 : 1; 2125 #else 2114 2126 UInt symbol = 0; 2115 2127 UInt uiNumSegments = 0; 2116 2128 #endif 2129 2130 #if HS_DMM_SIGNALLING_I0120 2131 if( pcCU->isIntra( absPartIdx ) && pcCU->getSDCFlag( absPartIdx )) 2132 { 2133 #else 2117 2134 if( pcCU->isIntra( absPartIdx ) ) 2118 2135 { 2119 2136 UInt dir = pcCU->getLumaIntraDir( absPartIdx ); 2120 2137 uiNumSegments = isDimMode( dir ) ? 2 : 1; 2138 #endif 2121 2139 m_pcTDecBinIf->decodeBin( symbol, m_cDdcFlagSCModel.get( 0, 0, 0 ) ); 2140 #if !HS_DMM_SIGNALLING_I0120 2122 2141 if( pcCU->getSDCFlag( absPartIdx ) ) 2123 2142 { 2143 #endif 2124 2144 assert( pcCU->getPartitionSize( absPartIdx ) == SIZE_2Nx2N ); 2125 2145 pcCU->setTrIdxSubParts( 0, absPartIdx, depth ); 2126 2146 pcCU->setCbfSubParts( 1, 1, 1, absPartIdx, depth ); 2127 2147 } 2148 #if !HS_DMM_SIGNALLING_I0120 2128 2149 else 2129 2150 { … … 2136 2157 symbol = 1; 2137 2158 } 2159 #endif 2138 2160 2139 2161
Note: See TracChangeset for help on using the changeset viewer.