Changeset 627 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 12 Mar 2014, 22:06:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r625 r627 859 859 READ_SVLC( iCode, "scaled_ref_layer_right_offset" ); scaledWindow.setWindowRightOffset (iCode << 1); 860 860 READ_SVLC( iCode, "scaled_ref_layer_bottom_offset" ); scaledWindow.setWindowBottomOffset(iCode << 1); 861 #if P0312_VERT_PHASE_ADJ 862 READ_FLAG( uiCode, "vert_phase_pos_enable_flag" );scaledWindow.setVertPhasePositionEnableFlag (uiCode); pcSPS->setVertPhasePositionEnableFlag(i,uiCode); 863 #endif 861 864 } 862 865 } … … 1938 1941 } 1939 1942 } 1943 #endif 1944 1945 #if P0312_VERT_PHASE_ADJ 1946 READ_FLAG( uiCode, "vps_vui_vert_phase_in_use_flag" ); vps->setVpsVuiVertPhaseInUseFlag(uiCode); 1940 1947 #endif 1941 1948 … … 2486 2493 #endif 2487 2494 #endif 2495 #if P0312_VERT_PHASE_ADJ 2496 for(Int i = 0; i < rpcSlice->getSPS()->getNumScaledRefLayerOffsets(); i++) 2497 { 2498 if (rpcSlice->getSPS()->getVertPhasePositionEnableFlag(rpcSlice->getInterLayerPredLayerIdc(i))) 2499 { 2500 READ_FLAG( uiCode, "phase_pos_flag" ); rpcSlice->setVertPhasePositionFlag( uiCode? true: false, i); 2501 } 2502 } 2503 #endif 2488 2504 2489 2505 if(sps->getUseSAO())
Note: See TracChangeset for help on using the changeset viewer.