Changeset 1036 in SHVCSoftware


Ignore:
Timestamp:
27 Feb 2015, 20:27:54 (10 years ago)
Author:
seregin
Message:

fix loop index

Location:
branches/SHM-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1035 r1036  
    32353235  static Window win;
    32363236
    3237   for( Int i = m_numRefLayerLocationOffsets; i > 0; i-- )
     3237  for( Int i = m_numRefLayerLocationOffsets-1; i >= 0; i-- )
    32383238  {
    32393239    if( layerId == m_refLocationOffsetLayerId[i] )
     
    32523252  static Window win;
    32533253
    3254   for( Int i = m_numRefLayerLocationOffsets; i > 0; i-- )
     3254  for( Int i = m_numRefLayerLocationOffsets-1; i >= 0; i-- )
    32553255  {
    32563256    if( layerId == m_refLocationOffsetLayerId[i] )
     
    32823282  phaseHorLuma = 0, phaseVerLuma = 0, phaseHorChroma = 0, phaseVerChroma = 0;
    32833283
    3284   for( Int i = m_numRefLayerLocationOffsets; i > 0; i-- )
     3284  for( Int i = m_numRefLayerLocationOffsets-1; i >= 0; i-- )
    32853285  {
    32863286    if( refLayerId == m_refLocationOffsetLayerId[i] )
  • branches/SHM-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp

    r1035 r1036  
    9090#endif
    9191#if REF_REGION_OFFSET
    92   const Window &windowRL = currSlice->getPPS()->getRefLayerWindow(refLayerIdc);
     92  const Window &windowRL = currSlice->getPPS()->getRefLayerWindow(refLayerId);
    9393#endif
    9494#else
Note: See TracChangeset for help on using the changeset viewer.