Changeset 364 in 3DVCSoftware for branches/HTM-DEV-0.1-dev/source/Lib
- Timestamp:
- 3 May 2013, 16:34:51 (12 years ago)
- Location:
- branches/HTM-DEV-0.1-dev/source/Lib
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.1-dev/source/Lib/TAppCommon/program_options_lite.h
r324 r364 46 46 #endif 47 47 #endif 48 49 48 //! \ingroup TAppCommon 50 49 //! \{ … … 382 381 } 383 382 #endif 384 385 383 /** 386 384 * Add option described by name to the parent Options list, -
branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/CommonDef.h
r362 r364 168 168 169 169 #endif 170 171 170 172 171 // ==================================================================================================================== -
branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/NAL.h
r362 r364 47 47 NalUnitType m_nalUnitType; ///< nal_unit_type 48 48 UInt m_temporalId; ///< temporal_id 49 50 49 #if H_MV 51 50 Int m_layerId; ///< layer id -
branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/TComDataCU.cpp
r324 r364 3200 3200 Bool bIsCurrRefLongTerm = m_pcSlice->getRefPic( eRefPicList, iRefIdx)->getIsLongTerm(); 3201 3201 Bool bIsNeibRefLongTerm = false; 3202 3203 3202 //--------------- V1 (END) ------------------// 3204 3203 if( pcTmpCU->getCUMvField(eRefPicList)->getRefIdx(uiIdx) >= 0) -
branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/TComPic.h
r324 r364 93 93 #endif 94 94 #endif 95 96 95 public: 97 96 TComPic(); … … 116 115 #endif 117 116 #endif 118 119 117 Bool getUsedByCurr() { return m_bUsedByCurr; } 120 118 Void setUsedByCurr( Bool bUsed ) { m_bUsedByCurr = bUsed; } … … 186 184 Void print( Bool legend ); 187 185 #endif 188 189 190 191 186 /** transfer ownership of seis to this picture */ 192 187 void setSEIs(SEIMessages& seis) { m_SEIs = seis; } -
branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/TComSlice.h
r363 r364 603 603 TimingInfo* getTimingInfo() { return &m_timingInfo; } 604 604 #endif 605 606 605 #if H_MV 607 606 Void setAvcBaseLayerFlag( Bool val ) { m_avcBaseLayerFlag = val; } … … 971 970 static const Int m_winUnitY[MAX_CHROMA_FORMAT_IDC+1]; 972 971 TComPTL m_pcPTL; 973 974 972 #if H_MV 975 973 Bool m_interViewMvVertConstraintFlag; 976 974 #endif 977 978 975 public: 979 976 TComSPS(); … … 1106 1103 1107 1104 TComPTL* getPTL() { return &m_pcPTL; } 1108 1109 1105 #if H_MV 1110 1106 Void setInterViewMvVertConstraintFlag(Bool val) { m_interViewMvVertConstraintFlag = val; } … … 1464 1460 1465 1461 Bool m_enableTMVPFlag; 1466 1467 1462 #if H_MV 1468 1463 Int m_layerId; … … 1472 1467 #endif 1473 1468 #endif 1474 1475 1469 public: 1476 1470 TComSlice(); … … 1639 1633 Void decodingMarking( TComList<TComPic*>& rcListPic, Int iGOPSIze, Int& iMaxRefPicNum ); 1640 1634 Void applyReferencePictureSet( TComList<TComPic*>& rcListPic, TComReferencePictureSet *RPSList); 1641 1642 1635 #if H_MV 1643 1636 Void createAndApplyIvReferencePictureSet( TComPicLists* ivPicLists, std::vector<TComPic*>& refPicSetInterLayer ); … … 1648 1641 Void xPrintRefPicList(); 1649 1642 #endif 1650 1651 1643 Bool isTemporalLayerSwitchingPoint( TComList<TComPic*>& rcListPic ); 1652 1644 Bool isStepwiseTemporalLayerSwitchingPointCandidate( TComList<TComPic*>& rcListPic ); -
branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/TypeDef.h
r362 r364 91 91 #define MAX_VPS_NUM_HRD_PARAMETERS 1 92 92 #define MAX_VPS_OP_SETS_PLUS1 1024 93 94 93 #if H_MV 95 94 #define MAX_VPS_NUH_LAYER_ID_PLUS1 64 … … 105 104 #define MAX_CPB_CNT 32 ///< Upper bound of (cpb_cnt_minus1 + 1) 106 105 #define MAX_NUM_LAYER_IDS 64 106 #if H_MV 107 107 #define MAX_NUM_LAYERS 64 108 #endif 108 109 109 110 #define COEF_REMAIN_BIN_REDUCTION 3 ///< indicates the level at which the VLC … … 569 570 #endif 570 571 #endif 571 -
branches/HTM-DEV-0.1-dev/source/Lib/TLibDecoder/TDecGop.cpp
r324 r364 208 208 rpcPic->compressMotion(); 209 209 #endif 210 211 210 Char c = (pcSlice->isIntra() ? 'I' : pcSlice->isInterP() ? 'P' : 'B'); 212 211 if (!pcSlice->isReferenced()) c += 32; 213 212 214 213 //-- For time output for each slice 215 216 214 #if H_MV 217 215 printf("\nLayer %2d POC %4d TId: %1d ( %c-SLICE, QP%3d ) ", pcSlice->getLayerId(), -
branches/HTM-DEV-0.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r363 r364 93 93 } 94 94 95 96 95 Void TDecTop::init() 97 96 { … … 100 99 initROM(); 101 100 #endif 102 103 101 m_cGopDecoder.init( &m_cEntropyDecoder, &m_cSbacDecoder, &m_cBinCABAC, &m_cCavlcDecoder, &m_cSliceDecoder, &m_cLoopFilter, &m_cSAO); 104 102 m_cSliceDecoder.init( &m_cEntropyDecoder, &m_cCuDecoder ); … … 222 220 rpcListPic = &m_cListPic; 223 221 m_cCuDecoder.destroy(); 224 225 222 #if H_MV 226 223 TComSlice::markIvRefPicsAsShortTerm( m_refPicSetInterLayer ); 227 224 TComSlice::markIvRefPicsAsUnused ( m_ivPicLists, targetDecLayerIdSet, m_parameterSetManagerDecoder.getActiveVPS(), m_layerId, poc ); 228 225 #endif 229 230 226 m_bFirstSliceInPicture = true; 231 227 … … 380 376 m_apcSlicePilot->setLayerId( nalu.m_layerId ); 381 377 #endif 382 383 378 m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder); 384 379 -
branches/HTM-DEV-0.1-dev/source/Lib/TLibDecoder/TDecTop.h
r324 r364 64 64 class TAppDecTop; 65 65 #endif 66 67 66 /// decoder class 68 67 class TDecTop … … 81 80 ParameterSetManagerDecoder m_parameterSetManagerDecoder; // storage for parameter sets 82 81 #endif 83 84 82 TComSlice* m_apcSlicePilot; 85 83 -
branches/HTM-DEV-0.1-dev/source/Lib/TLibEncoder/TEncCfg.h
r363 r364 406 406 #endif 407 407 #endif 408 409 408 //====== Coding Structure ======== 410 409 Void setIntraPeriod ( Int i ) { m_uiIntraPeriod = (UInt)i; } -
branches/HTM-DEV-0.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r362 r364 410 410 UInt *accumNalsDU = NULL; 411 411 SEIDecodingUnitInfo decodingUnitInfoSEI; 412 413 412 #if !H_MV 414 413 for ( Int iGOPid=0; iGOPid < m_iGopSize; iGOPid++ ) … … 472 471 if(pocCurr>=m_pcCfg->getFramesToBeEncoded()) 473 472 { 474 475 473 #if H_MV 476 474 delete pcBitstreamRedirect; … … 2057 2055 assert ( m_iNumPicCoded == iNumPicRcvd ); 2058 2056 #endif 2059 2060 2057 } 2061 2058 … … 2377 2374 m_gcAnalyzeAll.addResult (dYPSNR, dUPSNR, dVPSNR, (Double)uibits); 2378 2375 #endif 2379 2380 2376 TComSlice* pcSlice = pcPic->getSlice(0); 2381 2377 if (pcSlice->isIntra()) … … 2386 2382 m_gcAnalyzeI.addResult (dYPSNR, dUPSNR, dVPSNR, (Double)uibits); 2387 2383 #endif 2388 2389 2384 } 2390 2385 if (pcSlice->isInterP()) -
branches/HTM-DEV-0.1-dev/source/Lib/TLibEncoder/TEncGOP.h
r363 r364 108 108 #endif 109 109 #endif 110 111 110 //--Adaptive Loop filter 112 111 TEncSampleAdaptiveOffset* m_pcSAO; -
branches/HTM-DEV-0.1-dev/source/Lib/TLibEncoder/TEncTop.h
r362 r364 63 63 // Class definition 64 64 // ==================================================================================================================== 65 66 67 65 68 66 /// encoder class … … 133 131 TEncAnalyze m_cAnalyzeB; 134 132 #endif 135 136 133 protected: 137 134 Void xGetNewPicBuffer ( TComPic*& rpcPic ); ///< get picture buffer which will be processed … … 148 145 Void create (); 149 146 Void destroy (); 150 151 147 Void init (); 152 153 148 #if H_MV 154 149 TComPicLists* getIvPicLists() { return m_ivPicLists; } 155 150 #endif 156 157 151 Void deletePicBuffer (); 158 152 … … 162 156 Void initNewPic(TComPicYuv* pcPicYuvOrg); 163 157 #endif 164 165 158 // ------------------------------------------------------------------------------------------------------------------- 166 159 // member access functions
Note: See TracChangeset for help on using the changeset viewer.