Changeset 54 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPic.h
- Timestamp:
- 2 Mar 2013, 09:25:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPic.h
r51 r54 45 45 #include "TComBitStream.h" 46 46 #include "SEI.h" 47 #if AVC_BASE || SYNTAX_OUTPUT 48 #include <fstream> 49 #endif 47 50 48 51 //! \ingroup TLibCommon … … 58 61 private: 59 62 UInt m_uiTLayer; // Temporal layer 63 #if SVC_EXTENSION 64 UInt m_layerId; // Layer ID 65 #endif 60 66 Bool m_bUsedByCurr; // Used by current picture 61 67 Bool m_bIsLongTerm; // IS long term picture … … 85 91 86 92 SEIMessages m_SEIs; ///< Any SEI messages that have been received. If !NULL we own the object. 93 #if SVC_EXTENSION 94 Bool m_bSpatialEnhLayer; // whether current layer is a spatial enhancement layer, 95 TComPicYuv* m_pcFullPelBaseRec; // upsampled base layer recontruction for difference domain inter prediction 96 #if REF_IDX_ME_AROUND_ZEROMV || REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM 97 Bool m_bIsILR; // Is ILR picture 98 #endif 99 #endif 87 100 88 101 public: … … 90 103 virtual ~TComPic(); 91 104 105 #if SVC_UPSAMPLING 92 106 Void create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, 93 Int *numReorderPics, Bool bIsVirtual = false ); 94 107 Int *numReorderPics, TComSPS* pcSps = NULL, Bool bIsVirtual = false ); 108 #if REF_IDX_FRAMEWORK 109 Void createWithOutYuv( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, TComSPS* pcSps = NULL, Bool bIsVirtual = false ); 110 Void setPicYuvRec(TComPicYuv *pPicYuv) { m_apcPicYuv[1]=pPicYuv; } 111 #endif 112 #else 113 Void create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, 114 Int *numReorderPics, Bool bIsVirtual = false ); 115 #endif 95 116 virtual Void destroy(); 96 117 97 118 UInt getTLayer() { return m_uiTLayer; } 98 119 Void setTLayer( UInt uiTLayer ) { m_uiTLayer = uiTLayer; } 120 #if SVC_EXTENSION 121 Void setLayerId (UInt layerId) { m_layerId = layerId; } 122 UInt getLayerId () { return m_layerId; } 123 Bool isSpatialEnhLayer() { return m_bSpatialEnhLayer; } 124 Void setSpatialEnhLayerFlag (Bool b) { m_bSpatialEnhLayer = b; } 125 Void setFullPelBaseRec ( TComPicYuv* p) { m_pcFullPelBaseRec = p; } 126 TComPicYuv* getFullPelBaseRec () { return m_pcFullPelBaseRec; } 127 #endif 128 #if REF_IDX_ME_AROUND_ZEROMV || REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM 129 Void setIsILR( Bool bIsILR) {m_bIsILR = bIsILR;} 130 Bool getIsILR() {return m_bIsILR;} 131 #endif 132 133 #if REF_IDX_MFM 134 Void copyUpsampledMvField ( TComPic* pcPicBase ); 135 #if !REUSE_BLKMAPPING 136 Void deriveUnitIdxBase ( UInt uiUpsamplePelX, UInt uiUpsamplePelY, UInt ratio, UInt& uiBaseCUAddr, UInt& uiBaseAbsPartIdx ); 137 #endif 138 #endif 99 139 100 140 Bool getUsedByCurr() { return m_bUsedByCurr; } … … 177 217 const SEIMessages& getSEIs() const { return m_SEIs; } 178 218 219 #if REF_IDX_FRAMEWORK 220 Void copyUpsampledPictureYuv(TComPicYuv* pcPicYuvIn, TComPicYuv* pcPicYuvOut); 221 #endif 222 #if AVC_SYNTAX 223 Void readBLSyntax( fstream* filestream, UInt numBytes ); 224 #endif 225 #if SYNTAX_OUTPUT 226 Void wrireBLSyntax( fstream* filestream, UInt numBytes ); 227 #endif 228 179 229 };// END CLASS DEFINITION TComPic 180 230
Note: See TracChangeset for help on using the changeset viewer.