Changeset 981 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder


Ignore:
Timestamp:
13 Jan 2015, 23:17:29 (10 years ago)
Author:
seregin
Message:

port fix for the ticket #49 (rev 980)

File:
1 edited

Legend:

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

    r972 r981  
    35483548  }
    35493549#endif
     3550
     3551#if VPS_FIX_TO_MATCH_SPEC
     3552  for( i = vps->getBaseLayerInternalFlag() ? 1 : 2; i < vps->getMaxLayers(); i++ )
     3553#else
    35503554  for(i = 1; i < vps->getMaxLayers(); i++)
    3551   {
     3555#endif
     3556  {
     3557#if VPS_FIX_TO_MATCH_SPEC
     3558    for( j = vps->getBaseLayerInternalFlag() ? 0 : 1; j < i; j++ )
     3559#else
    35523560    for(j = 0; j < i; j++)
     3561#endif
    35533562    {
    35543563      if (vps->getDirectDependencyFlag(i, j))
     
    47464755              if( vps->getNumHrdParameters() + vps->getVpsNumAddHrdParams() > 1 )
    47474756              {
    4748 #endif
    4749 #if VPS_FIX_TO_MATCH_SPEC
    47504757                Int numBits = 1;
    47514758                while ((1 << numBits) < (vps->getNumHrdParameters() + vps->getVpsNumAddHrdParams()))
     
    47544761                }
    47554762                READ_CODE(numBits, uiCode, "bsp_comb_hrd_idx[h][i][t][j][k]");      vps->setBspHrdIdx(h, i, t, j, k, uiCode);
    4756 #else
    4757                 READ_UVLC(uiCode, "bsp_comb_hrd_idx[h][i][t][j][k]");      vps->setBspHrdIdx(h, i, t, j, k, uiCode);
    4758 #endif
    4759 #if VPS_FIX_TO_MATCH_SPEC
    47604763              }
     4764#else
     4765              READ_UVLC(uiCode, "bsp_comb_hrd_idx[h][i][t][j][k]");      vps->setBspHrdIdx(h, i, t, j, k, uiCode);
    47614766#endif
    47624767              READ_UVLC(uiCode, "bsp_comb_sched_idx[h][i][t][j][k]");    vps->setBspSchedIdx(h, i, t, j, k, uiCode);
Note: See TracChangeset for help on using the changeset viewer.