Ignore:
Timestamp:
7 Apr 2015, 15:48:27 (9 years ago)
Author:
tech
Message:

Fix for disabling colour components for depth.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.1-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp

    r1175 r1176  
    184184    if(!pcCU->getSDCFlag(uiAbsPartIdx) && !pcCU->getSlice()->getIsDepth() )
    185185#else
    186     if(!pcCU->getSlice()->getIsDepth() )
     186    if(!pcCU->getSDCFlag(uiAbsPartIdx) && pcCU->getSlice()->getSPS()->getChromaFormatIdc() != 0 )
    187187#endif
    188188#else
     
    867867    {
    868868#if H_3D_DISABLE_CHROMA
    869       if (!pcCU->getSlice()->getIsDepth() )     
     869      if (pcCU->getSlice()->getSPS()->getChromaFormatIdc() != 0 )     
    870870      {
    871871      if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth - 1 ) )
     
    10611061    assert( pcCU->getCbf(uiAbsPartIdx, TEXT_LUMA) == 1 );
    10621062#if H_3D_DISABLE_CHROMA
    1063     if (!pcCU->getSlice()->getIsDepth() )
     1063    if (pcCU->getSlice()->getSPS()->getChromaFormatIdc() != 0 )
    10641064    {
    10651065      assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_U) == 1 );
Note: See TracChangeset for help on using the changeset viewer.