Changeset 1176 in 3DVCSoftware for branches/HTM-13.1-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 7 Apr 2015, 15:48:27 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1175 r1176 2486 2486 READ_FLAG(uiCode, "slice_sao_luma_flag"); rpcSlice->setSaoEnabledFlag((Bool)uiCode); 2487 2487 #if H_3D_DISABLE_CHROMA 2488 if( !rpcSlice->getIsDepth())2488 if( rpcSlice->getSPS()->getChromaFormatIdc() != 0 ) 2489 2489 { 2490 2490 READ_FLAG(uiCode, "slice_sao_chroma_flag"); rpcSlice->setSaoEnabledFlagChroma((Bool)uiCode); … … 3271 3271 wpScalingParam *wp; 3272 3272 #if H_3D_DISABLE_CHROMA 3273 Bool bChroma = !pcSlice->getIsDepth();3273 Bool bChroma = ( pcSlice->getSPS()->getChromaFormatIdc() != 0 ); 3274 3274 #else 3275 3275 Bool bChroma = true; // color always present in HEVC ?
Note: See TracChangeset for help on using the changeset viewer.