Ignore:
Timestamp:
12 Mar 2014, 22:06:13 (11 years ago)
Author:
qualcomm
Message:

JCTVC-P312: vertical phase adjustment for interlace-to-progressive scalability, from Jianle Chen (cjianle@…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r625 r627  
    859859      READ_SVLC( iCode, "scaled_ref_layer_right_offset" );   scaledWindow.setWindowRightOffset (iCode << 1);
    860860      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
    861864    }
    862865  }
     
    19381941    }
    19391942  }
     1943#endif
     1944
     1945#if P0312_VERT_PHASE_ADJ
     1946  READ_FLAG( uiCode, "vps_vui_vert_phase_in_use_flag" ); vps->setVpsVuiVertPhaseInUseFlag(uiCode);
    19401947#endif
    19411948
     
    24862493#endif
    24872494#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
    24882504
    24892505    if(sps->getUseSAO())
Note: See TracChangeset for help on using the changeset viewer.