57 #if EXTENSION_360_VIDEO
58 #include "TAppEncHelper360/TExt360EncGop.h"
96 #if EXTENSION_360_VIDEO
97 TExt360EncGop m_ext360;
99 TExt360EncGop &getExt360Data() {
return m_ext360; }
170 #if JVET_F0064_MSSSIM
194 #if JVET_F0064_MSSSIM
195 Void xCalculateAddPSNRs (
const Bool isField,
const Bool isFieldTopFieldFirst,
const Int iGOPid,
TComPic* pcPic,
const AccessUnit&accessUnit,
TComList<TComPic*> &rcListPic,
Double dEncTime,
const InputColourSpaceConversion snr_conversion,
const Bool printFrameMSE,
const Bool printMSSSIM,
Double* PSNR_Y );
242 #endif // __TENCGOP__
entropy encoder class (header)
TEncSlice * m_pcSliceEncoder
Void xWriteLeadingSEIOrdered(SEIMessages &seiMessages, SEIMessages &duInfoSeiMessages, AccessUnit &accessUnit, Int temporalId, const TComSPS *sps, Bool testWrite)
TEncBinCABAC * m_pcBinCABAC
Int xWriteSPS(AccessUnit &accessUnit, const TComSPS *sps)
Bool m_ltRefPicUsedByCurrPicFlag[MAX_NUM_LONG_TERM_REF_PICS]
TComPicYuv * m_pcDeblockingTempPicYuv
Void xAttachSliceDataToNalUnit(OutputNALUnit &rNalu, TComOutputBitstream *pcBitstreamRedirect)
Void xInitGOP(Int iPOCLast, Int iNumPicRcvd, Bool isField)
NalUnitType getNalUnitType(Int pocCurr, Int lastIdr, Bool isField)
encoder analyzer class (header)
deblocking filter (header)
picture class (symbol + YUV buffers)
Void xWriteTrailingSEIMessages(SEIMessages &seiMessages, AccessUnit &accessUnit, Int temporalId, const TComSPS *sps)
Void preLoopFilterPicAll(TComPic *pcPic, UInt64 &ruiDist)
TEncAnalyze & getAnalyzeBData()
estimation part of sample adaptive offset class (header)
Int xWriteVPS(AccessUnit &accessUnit, const TComVPS *vps)
Int m_iLastRecoveryPicPOC
Bool m_bLongtermTestPictureHasBeenCoded
Void xWriteAccessUnitDelimiter(AccessUnit &accessUnit, TComSlice *slice)
Void xClearSEIs(SEIMessages &seiMessages, Bool deleteMessages)
Void xCreatePerPictureSEIMessages(Int picInGOP, SEIMessages &seiMessages, SEIMessages &nestedSeiMessages, TComSlice *slice)
UInt m_ltRefPicPocLsbSps[MAX_NUM_LONG_TERM_REF_PICS]
Void xCalculateAddPSNRs(const Bool isField, const Bool isFieldTopFieldFirst, const Int iGOPid, TComPic *pcPic, const AccessUnit &accessUnit, TComList< TComPic * > &rcListPic, Double dEncTime, const InputColourSpaceConversion snr_conversion, const Bool printFrameMSE, const Bool printMSSSIM, Double *PSNR_Y)
TComList< TComPic * > * m_pcListPic
Void xCreatePictureTimingSEI(Int IRAPGOPid, SEIMessages &seiMessages, SEIMessages &nestedSeiMessages, SEIMessages &duInfoSeiMessages, TComSlice *slice, Bool isField, std::deque< DUData > &duData)
TComLoopFilter * m_pcLoopFilter
static const Int MAX_ENCODER_DEBLOCKING_QUALITY_LAYERS
TEncCavlc * m_pcCavlcCoder
UInt m_numLongTermRefPicSPS
NalUnitType m_associatedIRAPType
Void xGetBuffer(TComList< TComPic * > &rcListPic, TComList< TComPicYuv * > &rcListPicYuvRecOut, Int iNumPicRcvd, Int iTimeOffset, TComPic *&rpcPic, TComPicYuv *&rpcPicYuvRecOut, Int pocCurr, Bool isField)
Void xUpdateDuInfoSEI(SEIMessages &duInfoSeiMessages, SEIPictureTiming *pictureTimingSEI)
general list class (header)
Void xUpdateTimingSEI(SEIPictureTiming *pictureTimingSEI, std::deque< DUData > &duData, const TComSPS *sps)
Int xWritePPS(AccessUnit &accessUnit, const TComPPS *pps)
TEncRateCtrl * getRateCtrl()
Void xCalculateInterlacedAddPSNR(TComPic *pcPicOrgFirstField, TComPic *pcPicOrgSecondField, TComPicYuv *pcPicRecFirstField, TComPicYuv *pcPicRecSecondField, const InputColourSpaceConversion snr_conversion, const Bool printFrameMSE, const Bool printMSSSIM, Double *PSNR_Y)
#define JVET_F0064_MSSSIM
Calculate MS-SSIM scores.
TComList< TComPic * > * getListPic()
Double xCalculateMSSSIM(const Pel *pOrg, const Int orgStride, const Pel *pRec, const Int recStride, const Int width, const Int height, const UInt bitDepth)
Int m_DBParam[MAX_ENCODER_DEBLOCKING_QUALITY_LAYERS][4]
Void xCreateScalableNestingSEI(SEIMessages &seiMessages, SEIMessages &nestedSeiMessages)
slice encoder class (header)
TEncAnalyze m_gcAnalyzeAll
Void xWriteLeadingSEIMessages(SEIMessages &seiMessages, SEIMessages &duInfoSeiMessages, AccessUnit &accessUnit, Int temporalId, const TComSPS *sps, std::deque< DUData > &duData)
Void xWriteDuSEIMessages(SEIMessages &duInfoSeiMessages, AccessUnit &accessUnit, Int temporalId, const TComSPS *sps, std::deque< DUData > &duData)
Access Unit class (header)
Void arrangeLongtermPicturesInRPS(TComSlice *, TComList< TComPic * > &)
Initializes different SEI message types based on given encoder configuration parameters.
Void init(TEncTop *pcTEncTop)
InputColourSpaceConversion
unsigned long long UInt64
Context-adaptive entropy encoder class (header)
TEncAnalyze m_gcAnalyzeAll_in
std::vector< Int > m_vRVM_RP
TEncAnalyze & getAnalyzePData()
Void xWriteSEISeparately(NalUnitType naluType, SEIMessages &seiMessages, AccessUnit &accessUnit, AccessUnit::iterator &auPos, Int temporalId, const TComSPS *sps)
Bool m_bLongtermTestPictureHasBeenCoded2
TEncAnalyze & getAnalyzeAllData()
std::list< SEI * > SEIMessages
static const Int MAX_NUM_LONG_TERM_REF_PICS
Void xCalculateAddPSNR(TComPic *pcPic, TComPicYuv *pcPicD, const AccessUnit &, Double dEncTime, const InputColourSpaceConversion snr_conversion, const Bool printFrameMSE, const Bool printMSSSIM, Double *PSNR_Y)
TEncSlice * getSliceEncoder()
Rate control manager class.
Void xUpdateDuData(AccessUnit &testAU, std::deque< DUData > &duData)
Void xCreateIRAPLeadingSEIMessages(SEIMessages &seiMessages, const TComSPS *sps, const TComPPS *pps)
CAVLC encoder class (header)
encoder configuration class
TEncEntropy * m_pcEntropyCoder
Int xWriteParameterSets(AccessUnit &accessUnit, TComSlice *slice, const Bool bSeqFirst)
Void applyDeblockingFilterMetric(TComPic *pcPic, UInt uiNumSlices)
TEncRateCtrl * m_pcRateCtrl
Bool m_bufferingPeriodSEIPresentInAU
Class for counting bits (header)
TEncSampleAdaptiveOffset * m_pcSAO
UInt64 xFindDistortionFrame(TComPicYuv *pcPic0, TComPicYuv *pcPic1, const BitDepths &bitDepths)
Void applyDeblockingFilterParameterSelection(TComPic *pcPic, const UInt numSlices, const Int gopID)
Void xWriteSEI(NalUnitType naluType, SEIMessages &seiMessages, AccessUnit &accessUnit, AccessUnit::iterator &auPos, Int temporalId, const TComSPS *sps)
TEncAnalyze & getAnalyzeIData()
Void compressGOP(Int iPOCLast, Int iNumPicRcvd, TComList< TComPic * > &rcListPic, TComList< TComPicYuv * > &rcListPicYuvRec, std::list< AccessUnit > &accessUnitsInGOP, Bool isField, Bool isTff, const InputColourSpaceConversion snr_conversion, const Bool printFrameMSE, const Bool printMSSSIM)
Void printOutSummary(UInt uiNumAllPicCoded, Bool isField, const Bool printMSEBasedSNR, const Bool printSequenceMSE, const Bool printMSSSIM, const BitDepths &bitDepths)