Changeset 1103 in 3DVCSoftware for branches/HTM-12.2-dev2-HHI/source/Lib/TLibDecoder
- Timestamp:
- 5 Nov 2014, 11:34:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.2-dev2-HHI/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1084 r1103 2350 2350 Bool interLayerPredLayerIdcPresentFlag = false; 2351 2351 Int layerId = rpcSlice->getLayerId(); 2352 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 2353 #if H_3D 2354 if( rpcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumRefListLayers( layerId ) > 0 ) 2355 #else 2352 2356 if( rpcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumDirectRefLayers( layerId ) > 0 ) 2357 #endif 2358 #else 2359 if( rpcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumDirectRefLayers( layerId ) > 0 ) 2360 #endif 2353 2361 { 2354 2362 READ_FLAG( uiCode, "inter_layer_pred_enabled_flag" ); rpcSlice->setInterLayerPredEnabledFlag( uiCode == 1 ); 2363 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 2364 #if H_3D 2365 if( rpcSlice->getInterLayerPredEnabledFlag() && vps->getNumRefListLayers( layerId ) > 1 ) 2366 #else 2355 2367 if( rpcSlice->getInterLayerPredEnabledFlag() && vps->getNumDirectRefLayers( layerId ) > 1 ) 2368 #endif 2369 #else 2370 if( rpcSlice->getInterLayerPredEnabledFlag() && vps->getNumDirectRefLayers( layerId ) > 1 ) 2371 #endif 2356 2372 { 2357 2373 if( !vps->getMaxOneActiveRefLayerFlag()) … … 2359 2375 READ_CODE( rpcSlice->getNumInterLayerRefPicsMinus1Len( ), uiCode, "num_inter_layer_ref_pics_minus1" ); rpcSlice->setNumInterLayerRefPicsMinus1( uiCode ); 2360 2376 } 2377 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 2378 #if H_3D 2379 if ( rpcSlice->getNumActiveRefLayerPics() != vps->getNumRefListLayers( layerId ) ) 2380 #else 2361 2381 if ( rpcSlice->getNumActiveRefLayerPics() != vps->getNumDirectRefLayers( layerId ) ) 2382 #endif 2383 #else 2384 if ( rpcSlice->getNumActiveRefLayerPics() != vps->getNumDirectRefLayers( layerId ) ) 2385 #endif 2362 2386 { 2363 2387 interLayerPredLayerIdcPresentFlag = true; … … 2545 2569 } 2546 2570 #if H_3D_IC 2571 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 2572 else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth() && vps->getNumRefListLayers( layerId ) > 0 ) 2573 #else 2547 2574 else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth() && vps->getNumDirectRefLayers( layerId ) > 0 ) 2575 #endif 2548 2576 { 2549 2577 UInt uiCodeTmp = 0;
Note: See TracChangeset for help on using the changeset viewer.