Changeset 839 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 25 Jul 2014, 18:35:47 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r838 r839 2201 2201 else 2202 2202 { 2203 #if VPS_VUI_VST_PARAMS 2204 vps->setNumVideoSignalInfo(vps->getMaxLayers() - vps->getBaseLayerInternalFlag() ? 0 : 1); 2205 #else 2203 2206 vps->setNumVideoSignalInfo(vps->getMaxLayers()); 2207 #endif 2204 2208 } 2205 2209 … … 2212 2216 READ_CODE(8, uiCode, "matrix_coeffs_vps" );vps->setMaxtrixCoeff(i,uiCode); 2213 2217 } 2218 #if VPS_VUI_VST_PARAMS 2219 if( vps->getVideoSigPresentVpsFlag() && vps->getNumVideoSignalInfo() > 1 ) 2220 { 2221 for(i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++) 2222 { 2223 READ_CODE(4, uiCode, "vps_video_signal_info_idx" ); vps->setVideoSignalInfoIdx(i, uiCode); 2224 } 2225 } 2226 else if ( !vps->getVideoSigPresentVpsFlag() ) 2227 { 2228 for(i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++) 2229 { 2230 vps->setVideoSignalInfoIdx( i, i ); 2231 } 2232 } 2233 else // ( vps->getNumVideoSignalInfo() = 0 ) 2234 { 2235 for(i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++) 2236 { 2237 vps->setVideoSignalInfoIdx( i, 0 ); 2238 } 2239 } 2240 #else 2214 2241 if(!vps->getVideoSigPresentVpsFlag()) 2215 2242 { … … 2233 2260 } 2234 2261 } 2262 #endif 2235 2263 #endif 2236 2264 #if VPS_VUI_TILES_NOT_IN_USE__FLAG
Note: See TracChangeset for help on using the changeset viewer.