Changeset 54 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/App/TAppEncoder/TAppEncTop.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/App/TAppEncoder/TAppEncTop.h
r51 r54 59 59 private: 60 60 // class interface 61 #if SVC_EXTENSION 62 TEncTop m_acTEncTop [MAX_LAYERS]; ///< encoder class 63 TEncTop* m_apcTEncTop [MAX_LAYERS]; ///< encoder pointer class 64 TVideoIOYuv m_acTVideoIOYuvInputFile [MAX_LAYERS]; ///< input YUV file 65 TVideoIOYuv m_acTVideoIOYuvReconFile [MAX_LAYERS]; ///< output reconstruction file 66 67 TComList<TComPicYuv*> m_acListPicYuvRec [MAX_LAYERS]; ///< list of reconstruction YUV files 68 #else 61 69 TEncTop m_cTEncTop; ///< encoder class 62 70 TVideoIOYuv m_cTVideoIOYuvInputFile; ///< input YUV file … … 64 72 65 73 TComList<TComPicYuv*> m_cListPicYuvRec; ///< list of reconstruction YUV files 74 #endif 66 75 67 76 Int m_iFrameRcvd; ///< number of received frames … … 77 86 78 87 /// obtain required buffers 88 #if SVC_EXTENSION 89 Void xGetBuffer(TComPicYuv*& rpcPicYuvRec, UInt layer); 90 #else 79 91 Void xGetBuffer(TComPicYuv*& rpcPicYuvRec); 92 #endif 80 93 81 94 /// delete allocated buffers … … 83 96 84 97 // file I/O 98 #if SVC_EXTENSION 99 Void xWriteRecon(UInt layer, Int iNumEncoded); 100 Void xWriteStream(std::ostream& bitstreamFile, Int iNumEncoded, const std::list<AccessUnit>& accessUnits); 101 Void printOutSummary(); 102 #else 85 103 Void xWriteOutput(std::ostream& bitstreamFile, Int iNumEncoded, const std::list<AccessUnit>& accessUnits); ///< write bitstream to file 104 #endif 86 105 void rateStatsAccum(const AccessUnit& au, const std::vector<UInt>& stats); 87 106 void printRateSummary(); … … 92 111 93 112 Void encode (); ///< main encoding function 113 #if SVC_EXTENSION 114 TEncTop& getTEncTop (UInt layer) { return m_acTEncTop[layer]; } ///< return encoder class pointer reference 115 #else 94 116 TEncTop& getTEncTop () { return m_cTEncTop; } ///< return encoder class pointer reference 117 #endif 95 118 };// END CLASS DEFINITION TAppEncTop 96 119
Note: See TracChangeset for help on using the changeset viewer.