- Timestamp:
- 4 Nov 2014, 00:58:54 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r908 r913 2301 2301 #if R0279_REP_FORMAT_INBL 2302 2302 if ( layerId == 0 || sps->getV1CompatibleSPSFlag() == 1 ) 2303 { 2303 2304 #else 2304 2305 if ( layerId == 0 ) 2305 #endif 2306 { 2307 retVal = sps->getBitDepthY(); 2306 { 2307 #endif 2308 #if VPS_AVC_BL_FLAG_REMOVAL 2309 if( layerId == 0 && vps->getNonHEVCBaseLayerFlag() ) 2310 #else 2311 if( layerId == 0 && vps->getAvcBaseLayerFlag() ) 2312 #endif 2313 { 2314 retVal = vps->getVpsRepFormat(layerId)->getBitDepthVpsLuma(); 2315 } 2316 else 2317 { 2318 retVal = sps->getBitDepthY(); 2319 } 2308 2320 } 2309 2321 else … … 2331 2343 #if R0279_REP_FORMAT_INBL 2332 2344 if ( layerId == 0 || sps->getV1CompatibleSPSFlag() == 1 ) 2345 { 2333 2346 #else 2334 2347 if ( layerId == 0 ) 2335 #endif 2336 { 2337 retVal = sps->getBitDepthC(); 2348 { 2349 #endif 2350 #if VPS_AVC_BL_FLAG_REMOVAL 2351 if( layerId == 0 && vps->getNonHEVCBaseLayerFlag() ) 2352 #else 2353 if( layerId == 0 && vps->getAvcBaseLayerFlag() ) 2354 #endif 2355 { 2356 retVal = vps->getVpsRepFormat(layerId)->getBitDepthVpsChroma(); 2357 } 2358 else 2359 { 2360 retVal = sps->getBitDepthC(); 2361 } 2338 2362 } 2339 2363 else
Note: See TracChangeset for help on using the changeset viewer.