Changeset 156 in SHVCSoftware for branches/SHM-2.0-dev/source
- Timestamp:
- 8 May 2013, 00:57:17 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h
r154 r156 54 54 #define VPS_EXTN_DIRECT_REF_LAYERS 1 ///< Include indication of direct dependency of layers in VPS extension 55 55 #define VPS_EXTN_DIRECT_REF_LAYERS_CONTINUE 1 56 #define VPS_OUTPUT_LAYER_SET_IDX 1 ///< Signal output_layer_set_idx[i] as output_layer_set_idx_minus1[i] 56 57 #endif 57 58 -
branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r133 r156 926 926 for(i = 0; i < vps->getNumOutputLayerSets(); i++) 927 927 { 928 #if VPS_OUTPUT_LAYER_SET_IDX 929 READ_UVLC( uiCode, "vps_output_layer_set_idx_minus1[i]"); vps->setOutputLayerSetIdx(i, uiCode + 1); 930 #else 928 931 READ_UVLC( uiCode, "vps_output_layer_set_idx[i]"); vps->setOutputLayerSetIdx(i, uiCode); 932 #endif 929 933 Int lsIdx = vps->getOutputLayerSetIdx(i); 930 934 for(j = 0; j <= vps->getMaxLayerId(); j++) -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r133 r156 719 719 for(i = 0; i < vps->getNumOutputLayerSets(); i++) 720 720 { 721 #if VPS_OUTPUT_LAYER_SET_IDX 722 assert(vps->getOutputLayerSetIdx(i) > 0); 723 WRITE_UVLC( vps->getOutputLayerSetIdx(i) - 1, "vps_output_layer_set_idx_minus1[i]"); 724 #else 721 725 WRITE_UVLC( vps->getOutputLayerSetIdx(i), "vps_output_layer_set_idx[i]"); 726 #endif 722 727 Int lsIdx = vps->getOutputLayerSetIdx(i); 723 728 for(j = 0; j <= vps->getMaxLayerId(); j++)
Note: See TracChangeset for help on using the changeset viewer.