Changeset 1454 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 19 Aug 2015, 04:20:49 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1442 r1454 2901 2901 numBits++; 2902 2902 } 2903 READ_CODE( numBits, uiCode, "layer_set_idx_for_ols_minus1"); vps->setOutputLayerSetIdx( i, uiCode + 1);2903 READ_CODE( numBits, uiCode, "layer_set_idx_for_ols_minus1"); 2904 2904 } 2905 2905 else 2906 2906 { 2907 vps->setOutputLayerSetIdx( i, i ); 2908 } 2907 uiCode = 0; 2908 } 2909 2910 vps->setOutputLayerSetIdx( i, i < vps->getNumLayerSets() ? i : (uiCode + 1) ); 2909 2911 2910 2912 Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx(i); … … 3152 3154 for( i = 1; i < vps->getNumOutputLayerSets(); i++ ) 3153 3155 { 3154 vps->setOutputLayerSetIdx( i, i ); 3156 vps->setOutputLayerSetIdx( i, i < vps->getNumLayerSets() ? i : 1 ); 3157 3155 3158 Int lsIdx = vps->getOutputLayerSetIdx(i); 3156 3159
Note: See TracChangeset for help on using the changeset viewer.