Changeset 563 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibDecoder
- Timestamp:
- 27 Jan 2014, 17:44:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r562 r563 2339 2339 if ( rpcSlice->getEnableTMVPFlag() ) 2340 2340 { 2341 #if REMOVE_COL_PICTURE_SIGNALING 2341 #if SVC_EXTENSION && REF_IDX_MFM 2342 // set motion mapping flag 2342 2343 rpcSlice->setMFMEnabledFlag( ( rpcSlice->getNumMotionPredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() ) ? true : false ); 2343 #else 2344 rpcSlice->setMFMEnabledFlag( false ); 2345 rpcSlice->setColRefLayerIdx( 0 ); 2346 rpcSlice->setAltColIndicationFlag( false ); 2347 if ( sps->getLayerId() > 0 && rpcSlice->getActiveNumILRRefIdx() > 0 && rpcSlice->getNumMotionPredRefLayers() > 0 ) 2348 { 2349 READ_FLAG( uiCode, "alt_collocated_indication_flag" ); 2350 rpcSlice->setAltColIndicationFlag( uiCode == 1 ? true : false ); 2351 rpcSlice->setMFMEnabledFlag( uiCode == 1 ? true : false ); 2352 if ( rpcSlice->getNumMotionPredRefLayers() > 1 ) 2353 { 2354 READ_UVLC( uiCode, "collocated_ref_layer_idx" ); 2355 rpcSlice->setColRefLayerIdx( uiCode ); 2356 } 2357 } 2358 else 2359 { 2360 #endif //REMOVE_COL_PICTURE_SIGNALING 2344 #endif 2361 2345 if ( rpcSlice->getSliceType() == B_SLICE ) 2362 2346 {
Note: See TracChangeset for help on using the changeset viewer.