Changeset 1169 in 3DVCSoftware for branches/HTM-13.1-dev0/source/Lib/TLibCommon/TComDataCU.cpp
- Timestamp:
- 5 Apr 2015, 22:37:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev0/source/Lib/TLibCommon/TComDataCU.cpp
r1164 r1169 2446 2446 Void TComDataCU::setCbfSubParts( UInt uiCbfY, UInt uiCbfU, UInt uiCbfV, UInt uiAbsPartIdx, UInt uiDepth ) 2447 2447 { 2448 #if H_3D_DISABLE_CHROMA 2449 if( this->getSlice()->getIsDepth() ) 2450 { 2451 uiCbfU = 0; 2452 uiCbfV = 0; 2453 } 2454 #endif 2448 2455 UInt uiCurrPartNumb = m_pcPic->getNumPartInCU() >> (uiDepth << 1); 2449 2456 memset( m_puhCbf[0] + uiAbsPartIdx, uiCbfY, sizeof( UChar ) * uiCurrPartNumb ); … … 2454 2461 Void TComDataCU::setCbfSubParts( UInt uiCbf, TextType eTType, UInt uiAbsPartIdx, UInt uiDepth ) 2455 2462 { 2463 #if H_3D_DISABLE_CHROMA 2464 assert( getSlice() != NULL ); 2465 if( this->getSlice()->getIsDepth() && g_aucConvertTxtTypeToIdx[eTType] > 0 ) 2466 { 2467 uiCbf = 0; 2468 } 2469 #endif 2470 2456 2471 UInt uiCurrPartNumb = m_pcPic->getNumPartInCU() >> (uiDepth << 1); 2457 2472 memset( m_puhCbf[g_aucConvertTxtTypeToIdx[eTType]] + uiAbsPartIdx, uiCbf, sizeof( UChar ) * uiCurrPartNumb ); … … 2468 2483 Void TComDataCU::setCbfSubParts ( UInt uiCbf, TextType eTType, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth ) 2469 2484 { 2485 #if H_3D_DISABLE_CHROMA 2486 assert( getSlice() != NULL ); 2487 if( this->getSlice()->getIsDepth() && g_aucConvertTxtTypeToIdx[eTType] > 0 ) 2488 { 2489 uiCbf = 0; 2490 } 2491 #endif 2470 2492 setSubPart<UChar>( uiCbf, m_puhCbf[g_aucConvertTxtTypeToIdx[eTType]], uiAbsPartIdx, uiDepth, uiPartIdx ); 2471 2493 }
Note: See TracChangeset for help on using the changeset viewer.