Changeset 744 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder
- Timestamp:
- 25 Apr 2014, 20:16:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r742 r744 1936 1936 UInt uiCode; 1937 1937 #if DPB_PARAMS_MAXTLAYERS 1938 #if BITRATE_PICRATE_SIGNALLING 1939 Int * MaxSubLayersInLayerSetMinus1 = new Int[vps->getNumLayerSets()]; 1940 for(Int i = 0; i < vps->getNumLayerSets(); i++) 1941 #else 1938 1942 Int * MaxSubLayersInLayerSetMinus1 = new Int[vps->getNumOutputLayerSets()]; 1939 1943 for(Int i = 1; i < vps->getNumOutputLayerSets(); i++) 1944 #endif 1940 1945 { 1941 1946 UInt maxSLMinus1 = 0; … … 1945 1950 Int optLsIdx = i; 1946 1951 #endif 1952 #if BITRATE_PICRATE_SIGNALLING 1953 optLsIdx = i; 1954 #endif 1947 1955 for(Int k = 0; k < vps->getNumLayersInIdList(optLsIdx); k++ ) { 1948 1956 Int lId = vps->getLayerSetLayerIdList(optLsIdx, k); … … 1950 1958 } 1951 1959 MaxSubLayersInLayerSetMinus1[ i ] = maxSLMinus1; 1960 #if BITRATE_PICRATE_SIGNALLING 1961 vps->setMaxSLayersInLayerSetMinus1(i,MaxSubLayersInLayerSetMinus1[ i ]); 1962 #endif 1952 1963 } 1953 1964 #endif … … 1963 1974 READ_FLAG( uiCode, "sub_layer_flag_info_present_flag[i]"); vps->setSubLayerFlagInfoPresentFlag( i, uiCode ? true : false ); 1964 1975 #if DPB_PARAMS_MAXTLAYERS 1976 #if BITRATE_PICRATE_SIGNALLING 1977 for(Int j = 0; j <= MaxSubLayersInLayerSetMinus1[ vps->getOutputLayerSetIdx( i ) ]; j++) 1978 #else 1965 1979 for(Int j = 0; j <= MaxSubLayersInLayerSetMinus1[ i ]; j++) 1980 #endif 1966 1981 #else 1967 1982 for(Int j = 0; j <= vps->getMaxTLayers(); j++) … … 2085 2100 for( i = 0; i < vps->getNumLayerSets(); i++ ) 2086 2101 { 2102 #if BITRATE_PICRATE_SIGNALLING 2103 for( j = 0; j <= vps->getMaxSLayersInLayerSetMinus1(i); j++ ) 2104 #else 2087 2105 for( j = 0; j < vps->getMaxTLayers(); j++ ) 2106 #endif 2088 2107 { 2089 2108 if( parseFlag && vps->getBitRatePresentVpsFlag() )
Note: See TracChangeset for help on using the changeset viewer.