Changeset 655 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncGOP.h
- Timestamp:
- 23 Oct 2013, 23:01:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncGOP.h
r622 r655 57 57 #include "TEncAnalyze.h" 58 58 #include "TEncRateCtrl.h" 59 #if KWU_RC_MADPRED_E0227 60 #include "../App/TAppEncoder/TAppEncTop.h" 61 #endif 59 62 #include <vector> 60 63 … … 99 102 #if H_MV 100 103 TComPicLists* m_ivPicLists; 101 #if H_MV5102 104 std::vector<TComPic*> m_refPicSetInterLayer0; 103 105 std::vector<TComPic*> m_refPicSetInterLayer1; 104 #else105 std::vector<TComPic*> m_refPicSetInterLayer;106 #endif107 106 108 107 Int m_pocLastCoded; … … 148 147 #if H_MV 149 148 Void initGOP ( Int iPOCLast, Int iNumPicRcvd, TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRecOut, std::list<AccessUnit>& accessUnitsInGOP); 150 Void compressPicInGOP ( Int iPOCLast, Int iNumPicRcvd, TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRecOut, std::list<AccessUnit>& accessUnitsInGOP, Int iGOPid );149 Void compressPicInGOP ( Int iPOCLast, Int iNumPicRcvd, TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRecOut, std::list<AccessUnit>& accessUnitsInGOP, Int iGOPid, Bool isField, Bool isTff ); 151 150 #else 152 Void compressGOP( Int iPOCLast, Int iNumPicRcvd, TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRec, std::list<AccessUnit>& accessUnitsInGOP );151 Void compressGOP( Int iPOCLast, Int iNumPicRcvd, TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRec, std::list<AccessUnit>& accessUnitsInGOP, Bool isField, Bool isTff ); 153 152 #endif 154 153 Void xAttachSliceDataToNalUnit (OutputNALUnit& rNalu, TComOutputBitstream*& rpcBitstreamRedirect); … … 169 168 170 169 #if !H_MV 171 Void printOutSummary ( UInt uiNumAllPicCoded );170 Void printOutSummary ( UInt uiNumAllPicCoded , bool isField); 172 171 #endif 173 172 #if H_3D_VSO … … 176 175 Void preLoopFilterPicAll ( TComPic* pcPic, UInt64& ruiDist, UInt64& ruiBits ); 177 176 #endif 178 177 178 #if KWU_RC_MADPRED_E0227 179 TEncTop* getEncTop() { return m_pcEncTop; } 180 #endif 181 179 182 TEncSlice* getSliceEncoder() { return m_pcSliceEncoder; } 180 183 NalUnitType getNalUnitType( Int pocCurr, Int lastIdr ); … … 184 187 185 188 protected: 189 Void xInitGOP( Int iPOCLast, Int iNumPicRcvd, TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRecOut, bool isField ); 190 186 191 Void xInitGOP ( Int iPOC, Int iNumPicRcvd, TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRecOut ); 187 Void xGetBuffer ( TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRecOut, Int iNumPicRcvd, Int iTimeOffset, TComPic*& rpcPic, TComPicYuv*& rpcPicYuvRecOut, Int pocCurr );192 Void xGetBuffer ( TComList<TComPic*>& rcListPic, TComList<TComPicYuv*>& rcListPicYuvRecOut, Int iNumPicRcvd, Int iTimeOffset, TComPic*& rpcPic, TComPicYuv*& rpcPicYuvRecOut, Int pocCurr, bool isField ); 188 193 189 194 Void xCalculateAddPSNR ( TComPic* pcPic, TComPicYuv* pcPicD, const AccessUnit&, Double dEncTime ); 195 Void xCalculateInterlacedAddPSNR( TComPic* pcPicOrgTop, TComPic* pcPicOrgBottom, TComPicYuv* pcPicRecTop, TComPicYuv* pcPicRecBottom, const AccessUnit& accessUnit, Double dEncTime ); 196 190 197 #if H_3D_VSO 191 198 Dist64 xFindDistortionFrame (TComPicYuv* pcPic0, TComPicYuv* pcPic1); … … 216 223 } 217 224 #if H_MV 218 #if H_MV5219 225 Void xSetRefPicListModificationsMv( std::vector<TComPic*> tempPicLists[2], TComSlice* pcSlice, UInt iGOPid ); 220 #else221 Void xSetRefPicListModificationsMv( TComSlice* pcSlice, UInt iGOPid );222 #endif223 226 #endif 224 227 Void dblMetric( TComPic* pcPic, UInt uiNumSlices );
Note: See TracChangeset for help on using the changeset viewer.