Changeset 1568 in SHVCSoftware
- Timestamp:
- 20 Jun 2016, 18:11:09 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1567 r1568 1382 1382 TComRPSList m_RPSList; 1383 1383 Bool m_bLongTermRefsPresent; 1384 Bool m_ TMVPFlagsPresent;1384 Bool m_SPSTemporalMVPEnabledFlag; 1385 1385 Int m_numReorderPics[MAX_TLAYER]; 1386 1386 … … 1521 1521 Bool getLongTermRefsPresent() const { return m_bLongTermRefsPresent; } 1522 1522 Void setLongTermRefsPresent(Bool b) { m_bLongTermRefsPresent=b; } 1523 Bool get TMVPFlagsPresent() const { return m_TMVPFlagsPresent;}1524 Void set TMVPFlagsPresent(Bool b) { m_TMVPFlagsPresent=b;}1523 Bool getSPSTemporalMVPEnabledFlag() const { return m_SPSTemporalMVPEnabledFlag; } 1524 Void setSPSTemporalMVPEnabledFlag(Bool b) { m_SPSTemporalMVPEnabledFlag=b; } 1525 1525 // physical transform 1526 1526 Void setMaxTrSize( UInt u ) { m_uiMaxTrSize = u; } -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1567 r1568 944 944 } 945 945 } 946 READ_FLAG( uiCode, "sps_temporal_mvp_enable _flag" ); pcSPS->setTMVPFlagsPresent(uiCode);946 READ_FLAG( uiCode, "sps_temporal_mvp_enabled_flag" ); pcSPS->setSPSTemporalMVPEnabledFlag(uiCode); 947 947 948 948 READ_FLAG( uiCode, "strong_intra_smoothing_enable_flag" ); pcSPS->setUseStrongIntraSmoothing(uiCode); … … 1523 1523 pcSlice->setRPS(rps); 1524 1524 } 1525 if (sps->get TMVPFlagsPresent())1525 if (sps->getSPSTemporalMVPEnabledFlag()) 1526 1526 { 1527 1527 READ_FLAG( uiCode, "slice_temporal_mvp_enabled_flag" ); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1567 r1568 716 716 } 717 717 } 718 WRITE_FLAG( pcSPS->get TMVPFlagsPresent() ? 1 : 0, "sps_temporal_mvp_enable_flag" );718 WRITE_FLAG( pcSPS->getSPSTemporalMVPEnabledFlag() ? 1 : 0, "sps_temporal_mvp_enabled_flag" ); 719 719 720 720 WRITE_FLAG( pcSPS->getUseStrongIntraSmoothing(), "strong_intra_smoothing_enable_flag" ); … … 1140 1140 } 1141 1141 } 1142 if (pcSlice->getSPS()->get TMVPFlagsPresent())1142 if (pcSlice->getSPS()->getSPSTemporalMVPEnabledFlag()) 1143 1143 { 1144 1144 WRITE_FLAG( pcSlice->getEnableTMVPFlag() ? 1 : 0, "slice_temporal_mvp_enabled_flag" ); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1567 r1568 921 921 m_cSPS.setQuadtreeTUMaxDepthIntra( m_uiQuadtreeTUMaxDepthIntra ); 922 922 923 m_cSPS.set TMVPFlagsPresent((getTMVPModeId() == 2 || getTMVPModeId() == 1));923 m_cSPS.setSPSTemporalMVPEnabledFlag((getTMVPModeId() == 2 || getTMVPModeId() == 1)); 924 924 925 925 m_cSPS.setMaxTrSize ( 1 << m_uiQuadtreeTULog2MaxSize );
Note: See TracChangeset for help on using the changeset viewer.