Changeset 296 in 3DVCSoftware for trunk/source/Lib/TLibCommon/NAL.h
- Timestamp:
- 20 Feb 2013, 22:07:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/NAL.h
r210 r296 46 46 { 47 47 NalUnitType m_nalUnitType; ///< nal_unit_type 48 #if NAL_REF_FLAG49 48 Bool m_nalRefFlag; ///< nal_ref_flag 50 #else51 NalRefIdc m_nalRefIDC; ///< nal_ref_idc52 #endif53 49 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 54 50 unsigned m_layerId; … … 58 54 Bool m_isDepth; ///< is_depth 59 55 unsigned m_temporalId; ///< temporal_id 60 #if !H038861 bool m_OutputFlag; ///< output_flag62 #endif63 56 #endif 64 57 65 58 /** construct an NALunit structure with given header values. */ 66 #if H038867 #if NAL_REF_FLAG68 59 NALUnit( 69 60 NalUnitType nalUnitType, … … 86 77 ,m_temporalId (temporalId) 87 78 {} 88 #else89 NALUnit(90 NalUnitType nalUnitType,91 NalRefIdc nalRefIDC,92 Int viewId,93 Bool isDepth,94 unsigned temporalID = 0)95 {96 m_nalUnitType = nalUnitType;97 m_nalRefIDC = nalRefIDC;98 #if !VIDYO_VPS_INTEGRATION99 m_viewId = viewId;100 m_isDepth = isDepth;101 #else102 m_layerId = layerId;103 #endif104 m_temporalId = temporalID;105 }106 #endif107 #else108 NALUnit(109 NalUnitType nalUnitType,110 NalRefIdc nalRefIDC,111 #if !VIDYO_VPS_INTEGRATION112 Int viewId,113 Bool isDepth,114 #else115 unsigned layerId,116 #endif117 unsigned temporalID = 0,118 bool outputFlag = true)119 {120 m_nalUnitType = nalUnitType;121 m_nalRefIDC = nalRefIDC;122 #if !VIDYO_VPS_INTEGRATION123 m_viewId = viewId;124 m_isDepth = isDepth;125 #else126 m_layerId = layerId;127 #endif128 m_temporalId = temporalID;129 m_OutputFlag = outputFlag;130 }131 #endif132 79 133 80 /** default constructor - no initialization; must be perfomed by user */ … … 138 85 { 139 86 return m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR 140 #if H0566_TLA141 87 #if !QC_REM_IDV_B0046 142 88 || m_nalUnitType == NAL_UNIT_CODED_SLICE_IDV … … 144 90 || m_nalUnitType == NAL_UNIT_CODED_SLICE_CRA 145 91 || m_nalUnitType == NAL_UNIT_CODED_SLICE_TLA 146 #else147 || m_nalUnitType == NAL_UNIT_CODED_SLICE_CDR148 #endif149 92 || m_nalUnitType == NAL_UNIT_CODED_SLICE; 150 93 }
Note: See TracChangeset for help on using the changeset viewer.