Changeset 1165 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 01:08:07 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1164 r1165 72 72 73 73 #define P0130_EOB 1 ///< JCTVC-P0130, set layer Id of EOB NALU to be fixed to 0 74 #define P0307_VPS_NON_VUI_EXT_UPDATE 1 ///< JCTVC-P0307, implementation related to NON VUI VPS Extension signalling75 74 76 75 #define DISCARDABLE_PIC_RPS 1 ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1164 r1165 3151 3151 assert( vps->getVpsNonVuiExtLength() >= 0 && vps->getVpsNonVuiExtLength() <= 4096 ); 3152 3152 3153 #if P0307_VPS_NON_VUI_EXT_UPDATE3154 3153 Int nonVuiExtByte = uiCode; 3155 3154 for (i = 1; i <= nonVuiExtByte; i++) … … 3157 3156 READ_CODE( 8, uiCode, "vps_non_vui_extension_data_byte" ); //just parse and discard for now. 3158 3157 } 3159 #else3160 if ( vps->getVpsNonVuiExtLength() > 0 )3161 {3162 printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n");3163 }3164 #endif3165 3158 3166 3159 READ_FLAG( uiCode, "vps_vui_present_flag"); vps->setVpsVuiPresentFlag(uiCode ? true : false); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1164 r1165 2289 2289 2290 2290 WRITE_UVLC( vps->getVpsNonVuiExtLength(), "vps_non_vui_extension_length" ); 2291 #if P0307_VPS_NON_VUI_EXT_UPDATE 2292 for (i = 1; i <= vps->getVpsNonVuiExtLength(); i++)2291 2292 for( i = 1; i <= vps->getVpsNonVuiExtLength(); i++ ) 2293 2293 { 2294 2294 WRITE_CODE(1, 8, "vps_non_vui_extension_data_byte"); 2295 2295 } 2296 #else2297 if ( vps->getVpsNonVuiExtLength() > 0 )2298 {2299 printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n");2300 }2301 #endif2302 2296 2303 2297 vps->setVpsVuiPresentFlag(true);
Note: See TracChangeset for help on using the changeset viewer.