Changeset 1183 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 03:11:41 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1182 r1183 47 47 #define CONFORMANCE_BITSTREAM_MODE 1 ///< In order to generate the metadata related to conformance bitstreams 48 48 #define INFERENCE_POC_MSB_VAL_PRESENT 1 ///< JCTVC-Q0146 -- poc_msb_val_present_flag shall be equal to 0 when slice_header_extension_length is (inferred to be ) equal to 0 49 #define NON_REF_NAL_TYPE_DISCARDABLE 1 ///< JCTVC-P0041 -- If discardable picture is a non-IRAP, it must be a non-referenced sub-layer picture50 49 #define POC_RESET_RESTRICTIONS 1 ///< Restrictions on semantics of POC reset-related syntax elements, including one item from R0223 51 50 #define POC_RESET_VALUE_RESTRICTION 1 ///< R0223: Restriction on the value of full_poc_reset_flag -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1182 r1183 1225 1225 if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits) 1226 1226 { 1227 READ_FLAG(uiCode, "discardable_flag"); // ignored 1228 #if NON_REF_NAL_TYPE_DISCARDABLE 1227 READ_FLAG(uiCode, "discardable_flag"); 1229 1228 pcSlice->setDiscardableFlag( uiCode ? true : false ); 1230 if (uiCode) 1229 1230 if( uiCode ) 1231 1231 { 1232 1232 assert(pcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_TRAIL_R && … … 1236 1236 pcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RASL_R); 1237 1237 } 1238 #endif 1238 1239 1239 iBits++; 1240 1240 } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1182 r1183 938 938 { 939 939 assert(!!"discardable_flag"); 940 #if NON_REF_NAL_TYPE_DISCARDABLE 940 941 941 if (pcSlice->getDiscardableFlag()) 942 942 { … … 947 947 pcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RASL_R); 948 948 } 949 #endif 949 950 950 WRITE_FLAG(pcSlice->getDiscardableFlag(), "discardable_flag"); 951 951 iBits++;
Note: See TracChangeset for help on using the changeset viewer.