Changeset 622 in SHVCSoftware
- Timestamp:
- 6 Mar 2014, 18:25:43 (11 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibCommon/TypeDef.h
r617 r622 236 236 237 237 #define P0138_USE_ALT_CPB_PARAMS_FLAG 1 ///< JCTVC-P0138: use_alt_cpb_params_flag syntax in buffering period SEI message extension 238 #define P0166_MODIFIED_PPS_EXTENSION 1 ///< JCTVC-P0166: add pps_extension_type_flag 238 239 239 240 #if VIEW_ID_RELATED_SIGNALING -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r621 r622 334 334 if (uiCode) 335 335 { 336 #if P0166_MODIFIED_PPS_EXTENSION 337 UInt ppsExtensionTypeFlag[8]; 338 for (UInt i = 0; i < 8; i++) 339 { 340 READ_FLAG( ppsExtensionTypeFlag[i], "pps_extension_type_flag" ); 341 } 342 if (ppsExtensionTypeFlag[1]) 343 { 344 } 345 if (ppsExtensionTypeFlag[7]) 346 { 347 #endif 348 336 349 while ( xMoreRbspData() ) 337 350 { 338 351 READ_FLAG( uiCode, "pps_extension_data_flag"); 339 352 } 353 #if P0166_MODIFIED_PPS_EXTENSION 354 } 355 #endif 340 356 } 341 357 } -
branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r621 r622 251 251 WRITE_UVLC( pcPPS->getLog2ParallelMergeLevelMinus2(), "log2_parallel_merge_level_minus2"); 252 252 WRITE_FLAG( pcPPS->getSliceHeaderExtensionPresentFlag() ? 1 : 0, "slice_segment_header_extension_present_flag"); 253 #if P0166_MODIFIED_PPS_EXTENSION 254 WRITE_FLAG( 1, "pps_extension_flag" ); 255 if( 1 ) //pps_extension_flag 256 { 257 UInt ppsExtensionTypeFlag[8] = { 0, 1, 0, 0, 0, 0, 0, 0 }; 258 for (UInt i = 0; i < 8; i++) 259 { 260 WRITE_FLAG( ppsExtensionTypeFlag[i], "pps_extension_type_flag" ); 261 } 262 if( ppsExtensionTypeFlag[1] ) 263 { 264 } 265 } 266 #else 253 267 WRITE_FLAG( 0, "pps_extension_flag" ); 268 #endif 254 269 } 255 270
Note: See TracChangeset for help on using the changeset viewer.