Changeset 981 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder
- Timestamp:
- 13 Jan 2015, 23:17:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/Lib/TLibDecoder/TDecCAVLC.cpp
r972 r981 3548 3548 } 3549 3549 #endif 3550 3551 #if VPS_FIX_TO_MATCH_SPEC 3552 for( i = vps->getBaseLayerInternalFlag() ? 1 : 2; i < vps->getMaxLayers(); i++ ) 3553 #else 3550 3554 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 3552 3560 for(j = 0; j < i; j++) 3561 #endif 3553 3562 { 3554 3563 if (vps->getDirectDependencyFlag(i, j)) … … 4746 4755 if( vps->getNumHrdParameters() + vps->getVpsNumAddHrdParams() > 1 ) 4747 4756 { 4748 #endif4749 #if VPS_FIX_TO_MATCH_SPEC4750 4757 Int numBits = 1; 4751 4758 while ((1 << numBits) < (vps->getNumHrdParameters() + vps->getVpsNumAddHrdParams())) … … 4754 4761 } 4755 4762 READ_CODE(numBits, uiCode, "bsp_comb_hrd_idx[h][i][t][j][k]"); vps->setBspHrdIdx(h, i, t, j, k, uiCode); 4756 #else4757 READ_UVLC(uiCode, "bsp_comb_hrd_idx[h][i][t][j][k]"); vps->setBspHrdIdx(h, i, t, j, k, uiCode);4758 #endif4759 #if VPS_FIX_TO_MATCH_SPEC4760 4763 } 4764 #else 4765 READ_UVLC(uiCode, "bsp_comb_hrd_idx[h][i][t][j][k]"); vps->setBspHrdIdx(h, i, t, j, k, uiCode); 4761 4766 #endif 4762 4767 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.