Changeset 475 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncEntropy.cpp
- Timestamp:
- 15 Nov 2013, 14:55:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncEntropy.cpp
r345 r475 280 280 const UInt uiTrDepthCurr = uiDepth - pcCU->getDepth( uiAbsPartIdx ); 281 281 const Bool bFirstCbfOfCU = uiTrDepthCurr == 0; 282 #if AUXILIARY_PICTURES 283 if (pcCU->getSlice()->getChromaFormatIdc() != CHROMA_400) 284 { 285 #endif 282 286 if( bFirstCbfOfCU || uiLog2TrafoSize > 2 ) 283 287 { … … 296 300 assert( pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepthCurr ) == pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepthCurr - 1 ) ); 297 301 } 302 #if AUXILIARY_PICTURES 303 } 304 else 305 { 306 assert( pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepthCurr ) == 0 ); 307 assert( pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepthCurr ) == 0 ); 308 } 309 #endif 298 310 299 311 if( uiSubdiv ) … … 402 414 Void TEncEntropy::encodeIntraDirModeChroma( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 403 415 { 416 #if AUXILIARY_PICTURES 417 if ( pcCU->getSlice()->getChromaFormatIdc() == CHROMA_400 ) 418 { 419 return; 420 } 421 #endif 404 422 if( bRD ) 405 423 {
Note: See TracChangeset for help on using the changeset viewer.