Changeset 54 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncTop.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/TLibEncoder/TEncTop.h
r51 r54 73 73 UInt m_uiNumAllPicCoded; ///< number of coded pictures 74 74 TComList<TComPic*> m_cListPic; ///< dynamic list of pictures 75 #if SVC_EXTENSION 76 static Int m_iSPSIdCnt; ///< next Id number for SPS 77 static Int m_iPPSIdCnt; ///< next Id number for PPS 78 #if AVC_SYNTAX 79 fstream* m_pBLSyntaxFile; 80 #endif 81 #endif 75 82 76 83 // encoder search … … 122 129 TEncRateCtrl m_cRateCtrl; ///< Rate control class 123 130 131 #if SVC_EXTENSION 132 TEncTop** m_ppcTEncTop; 133 TEncTop* getLayerEnc(UInt layer) { return m_ppcTEncTop[layer]; } 134 #endif 135 #if REF_IDX_FRAMEWORK 136 TComPic* m_cIlpPic[MAX_NUM_REF]; ///< Inter layer Prediction picture = upsampled picture 137 #endif 138 #if REF_IDX_MFM 139 Bool m_bMFMEnabledFlag; 140 #endif 124 141 protected: 125 142 Void xGetNewPicBuffer ( TComPic*& rpcPic ); ///< get picture buffer which will be processed … … 129 146 Void xInitPPSforTiles (); 130 147 Void xInitRPS (); ///< initialize PPS from encoder options 131 148 #if REF_IDX_FRAMEWORK 149 Void xInitILRP(); 150 #endif 132 151 public: 133 152 TEncTop(); … … 174 193 Void selectReferencePictureSet(TComSlice* slice, Int POCCurr, Int GOPid ); 175 194 TComScalingList* getScalingList () { return &m_scalingList; } 195 #if SVC_EXTENSION 196 Void setLayerEnc(TEncTop** p) {m_ppcTEncTop = p;} 197 TEncTop** getLayerEnc() {return m_ppcTEncTop;} 198 Int getPOCLast () { return m_iPOCLast; } 199 Int getNumPicRcvd () { return m_iNumPicRcvd; } 200 Void setNumPicRcvd ( Int num ) { m_iNumPicRcvd = num; } 201 #endif 202 176 203 // ------------------------------------------------------------------------------------------------------------------- 177 204 // encoder function … … 179 206 180 207 /// encode several number of pictures until end-of-sequence 208 #if SVC_EXTENSION 209 #if REF_IDX_FRAMEWORK 210 TComPic** getIlpList() { return m_cIlpPic; } 211 Void setILRPic(TComPic *pcPic); 212 #endif 213 #if REF_IDX_MFM 214 Void setMFMEnabledFlag (Bool flag) {m_bMFMEnabledFlag = flag;} 215 Bool getMFMEnabledFlag() {return m_bMFMEnabledFlag;} 216 #endif 217 #if AVC_SYNTAX 218 Void setBLSyntaxFile( fstream* pFile ) { m_pBLSyntaxFile = pFile; } 219 fstream* getBLSyntaxFile() { return m_pBLSyntaxFile; } 220 #endif 221 Void encode( TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut, 222 std::list<AccessUnit>& accessUnitsOut, Int iPicIdInGOP ); 223 Void encodePrep( TComPicYuv* pcPicYuvOrg ); 224 #else 181 225 Void encode( Bool bEos, TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut, 182 226 std::list<AccessUnit>& accessUnitsOut, Int& iNumEncoded ); 227 #endif 183 228 184 229 void printSummary() { m_cGOPEncoder.printOutSummary (m_uiNumAllPicCoded); }
Note: See TracChangeset for help on using the changeset viewer.