Changeset 367 in 3DVCSoftware for branches/HTM-DEV-0.1-dev/source/Lib/TLibEncoder/TEncCfg.h
- Timestamp:
- 3 May 2013, 17:09:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.1-dev/source/Lib/TLibEncoder/TEncCfg.h
r364 r367 69 69 Int m_numRefIdc; 70 70 Int m_refIdc[MAX_NUM_REF_PICS+1]; 71 #if H_MV72 Int m_numInterViewRefPics;73 Int m_interViewRefs [MAX_NUM_REF_PICS];74 Int m_interViewRefPosL[2][MAX_NUM_REF_PICS];75 #endif76 71 GOPEntry() 77 72 : m_POC(-1) … … 88 83 , m_deltaRPS(0) 89 84 , m_numRefIdc(0) 90 #if H_MV91 , m_numInterViewRefPics(0)92 #endif93 85 { 94 86 ::memset( m_referencePics, 0, sizeof(m_referencePics) ); 95 87 ::memset( m_usedByCurrPic, 0, sizeof(m_usedByCurrPic) ); 96 88 ::memset( m_refIdc, 0, sizeof(m_refIdc) ); 97 #if H_MV98 ::memset( m_interViewRefs, 0, sizeof(m_interViewRefs) );99 ::memset( m_interViewRefPosL[0], -1, sizeof(m_interViewRefPosL[0]) ); ::memset( m_interViewRefPosL[1], -1, sizeof(m_interViewRefPosL[1]) );100 #endif101 89 } 102 90 }; … … 139 127 UInt m_uiDecodingRefreshType; ///< the type of decoding refresh employed for the random access. 140 128 Int m_iGOPSize; 141 #if H_MV142 GOPEntry m_GOPList[MAX_GOP+1];143 #else144 129 GOPEntry m_GOPList[MAX_GOP]; 145 #endif146 130 Int m_extraRPSs; 147 131 Int m_maxDecPicBuffering[MAX_TLAYER]; … … 353 337 Bool m_useStrongIntraSmoothing; ///< enable the use of strong intra smoothing (bi_linear interpolation) for 32x32 blocks when reference samples are flat. 354 338 355 #if H_MV356 Int m_layerId;357 Int m_layerIdInVps;358 Int m_viewId;359 #if H_3D360 Bool m_isDepth;361 #endif362 #endif363 339 public: 364 340 TEncCfg() 365 341 : m_puiColumnWidth() 366 342 , m_puiRowHeight() 367 #if H_MV368 , m_layerId(-1)369 , m_layerIdInVps(-1)370 , m_viewId(-1)371 #if H_3D372 , m_isDepth(false)373 #endif374 #endif375 343 {} 376 344 … … 394 362 Void setFramesToBeEncoded ( Int i ) { m_framesToBeEncoded = i; } 395 363 396 #if H_MV397 Void setLayerId ( Int layerId ) { m_layerId = layerId; }398 Int getLayerId () { return m_layerId; }399 Int getLayerIdInVps () { return m_layerIdInVps; }400 Void setLayerIdInVps ( Int layerIdInVps) { m_layerIdInVps = layerIdInVps; }401 Void setViewId ( Int viewId ) { m_viewId = viewId; }402 Int getViewId () { return m_viewId; }403 #if H_3D404 Void setIsDepth ( Bool isDepth ) { m_isDepth = isDepth; }405 Bool getIsDepth () { return m_isDepth; }406 #endif407 #endif408 364 //====== Coding Structure ======== 409 365 Void setIntraPeriod ( Int i ) { m_uiIntraPeriod = (UInt)i; } 410 366 Void setDecodingRefreshType ( Int i ) { m_uiDecodingRefreshType = (UInt)i; } 411 367 Void setGOPSize ( Int i ) { m_iGOPSize = i; } 412 #if H_MV413 Void setGopList ( GOPEntry* GOPList ) { for ( Int i = 0; i < MAX_GOP+1; i++ ) m_GOPList[i] = GOPList[i]; }414 #else415 368 Void setGopList ( GOPEntry* GOPList ) { for ( Int i = 0; i < MAX_GOP; i++ ) m_GOPList[i] = GOPList[i]; } 416 #endif417 369 Void setExtraRPSs ( Int i ) { m_extraRPSs = i; } 418 370 GOPEntry getGOPEntry ( Int i ) { return m_GOPList[i]; }
Note: See TracChangeset for help on using the changeset viewer.