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/TDecCAVLC.cpp

    r1175 r1176  
    24862486      READ_FLAG(uiCode, "slice_sao_luma_flag");  rpcSlice->setSaoEnabledFlag((Bool)uiCode);
    24872487#if H_3D_DISABLE_CHROMA
    2488       if( !rpcSlice->getIsDepth() )
     2488      if( rpcSlice->getSPS()->getChromaFormatIdc() != 0 )
    24892489      {
    24902490      READ_FLAG(uiCode, "slice_sao_chroma_flag");  rpcSlice->setSaoEnabledFlagChroma((Bool)uiCode);
     
    32713271  wpScalingParam  *wp;
    32723272#if H_3D_DISABLE_CHROMA
    3273   Bool            bChroma     = !pcSlice->getIsDepth();
     3273  Bool            bChroma     = ( pcSlice->getSPS()->getChromaFormatIdc() != 0 );
    32743274#else
    32753275  Bool            bChroma     = true; // color always present in HEVC ?
Note: See TracChangeset for help on using the changeset viewer.