Changeset 627 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 12 Mar 2014, 22:06:13 (12 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
-
TDecCAVLC.cpp (modified) (3 diffs)
-
TDecTop.cpp (modified) (2 diffs)
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()) -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r625 r627 1467 1467 #endif 1468 1468 1469 #if P0312_VERT_PHASE_ADJ 1470 #if O0098_SCALED_REF_LAYER_ID 1471 Window &scalEL = pcSlice->getSPS()->getScaledRefLayerWindowForLayer(pcSlice->getVPS()->getRefLayerId(m_layerId, refLayerIdc)); 1472 #else 1473 Window &scalEL = pcSlice->getSPS()->getScaledRefLayerWindow(refLayerIdc); 1474 #endif 1475 #else 1469 1476 #if O0098_SCALED_REF_LAYER_ID 1470 1477 const Window &scalEL = pcSlice->getSPS()->getScaledRefLayerWindowForLayer(pcSlice->getVPS()->getRefLayerId(m_layerId, refLayerIdc)); 1471 1478 #else 1472 1479 const Window &scalEL = pcSlice->getSPS()->getScaledRefLayerWindow(refLayerIdc); 1480 #endif 1473 1481 #endif 1474 1482 … … 1493 1501 Window &scalEL = pcSlice->getSPS()->getScaledRefLayerWindow(refLayerIdc); 1494 1502 #endif*/ 1503 #if P0312_VERT_PHASE_ADJ 1504 scalEL.setVertPhasePositionFlag (pcSlice->getVertPhasePositionFlag(i)); 1505 #endif 1495 1506 #if O0215_PHASE_ALIGNMENT 1496 1507 #if O0194_JOINT_US_BITSHIFT
Note: See TracChangeset for help on using the changeset viewer.