Changeset 167 in SHVCSoftware
- Timestamp:
- 9 May 2013, 00:25:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r165 r167 978 978 if( i > (vps->getNumLayerSets() - 1) ) 979 979 { 980 Int numBits = std::max(1.0, ceil( log((double)vps->getNumLayerSets() - 1) / log(2.0) ));980 Int numBits = (Int)std::max(1.0, ceil( log((double)vps->getNumLayerSets() - 1) / log(2.0) )); 981 981 READ_CODE( numBits, uiCode, "output_layer_set_idx_minus1"); vps->setOutputLayerSetIdx( i, uiCode + 1); 982 982 Int lsIdx = vps->getOutputLayerSetIdx(i); … … 1006 1006 } 1007 1007 } 1008 Int numBits = std::max(1.0, ceil( log((double)vps->getNumProfileTierLevel()) / log(2.0) ));1008 Int numBits = (Int)std::max(1.0, ceil( log((double)vps->getNumProfileTierLevel()) / log(2.0) )); 1009 1009 READ_CODE( numBits, uiCode, "profile_level_tier_idx[i]" ); vps->setProfileLevelTierIdx(i, uiCode); 1010 1010 }
Note: See TracChangeset for help on using the changeset viewer.