HEVC Test Model (HM)
HM-16.18
|
#include <TEncSampleAdaptiveOffset.h>
Private Attributes | |
TEncSbac ** | m_pppcRDSbacCoder |
TEncSbac * | m_pcRDGoOnSbacCoder |
TEncBinCABACCounter ** | m_pppcBinCoderCABAC |
Double | m_lambda [MAX_NUM_COMPONENT] |
SAOStatData *** | m_statData |
SAOStatData *** | m_preDBFstatData |
Double | m_saoDisabledRate [MAX_NUM_COMPONENT][MAX_TLAYER] |
Int | m_lastIRAPPoc |
Int | m_skipLinesR [MAX_NUM_COMPONENT][NUM_SAO_NEW_TYPES] |
Int | m_skipLinesB [MAX_NUM_COMPONENT][NUM_SAO_NEW_TYPES] |
TEncSampleAdaptiveOffset () | |
virtual | ~TEncSampleAdaptiveOffset () |
Void | createEncData (Bool isPreDBFSamplesUsed) |
Void | destroyEncData () |
Void | initRDOCabacCoder (TEncSbac *pcRDGoOnSbacCoder, TComSlice *pcSlice) |
Void | SAOProcess (TComPic *pPic, Bool *sliceEnabled, const Double *lambdas, const Bool bTestSAODisableAtPictureLevel, const Double saoEncodingRate, const Double saoEncodingRateChroma, const Bool isPreDBFSamplesUsed, const Bool bResetStateAfterIRAP) |
Void | getPreDBFStatistics (TComPic *pPic) |
Void | getStatistics (SAOStatData ***blkStats, TComPicYuv *orgYuv, TComPicYuv *srcYuv, TComPic *pPic, Bool isCalculatePreDeblockSamples=false) |
Void | decidePicParams (Bool *sliceEnabled, const TComPic *pic, const Double saoEncodingRate, const Double saoEncodingRateChroma, const Bool bResetStateAfterIRAP) |
Void | decideBlkParams (TComPic *pic, Bool *sliceEnabled, SAOStatData ***blkStats, TComPicYuv *srcYuv, TComPicYuv *resYuv, SAOBlkParam *reconParams, SAOBlkParam *codedParams, const Bool bTestSAODisableAtPictureLevel, const Double saoEncodingRate, const Double saoEncodingRateChroma) |
Void | getBlkStats (const ComponentID compIdx, const Int channelBitDepth, SAOStatData *statsDataTypes, Pel *srcBlk, Pel *orgBlk, Int srcStride, Int orgStride, Int width, Int height, Bool isLeftAvail, Bool isRightAvail, Bool isAboveAvail, Bool isBelowAvail, Bool isAboveLeftAvail, Bool isAboveRightAvail, Bool isCalculatePreDeblockSamples) |
Void | deriveModeNewRDO (const BitDepths &bitDepths, Int ctuRsAddr, SAOBlkParam *mergeList[NUM_SAO_MERGE_TYPES], Bool *sliceEnabled, SAOStatData ***blkStats, SAOBlkParam &modeParam, Double &modeNormCost, TEncSbac **cabacCoderRDO, Int inCabacLabel) |
Void | deriveModeMergeRDO (const BitDepths &bitDepths, Int ctuRsAddr, SAOBlkParam *mergeList[NUM_SAO_MERGE_TYPES], Bool *sliceEnabled, SAOStatData ***blkStats, SAOBlkParam &modeParam, Double &modeNormCost, TEncSbac **cabacCoderRDO, Int inCabacLabel) |
Int64 | getDistortion (const Int channelBitDepth, Int typeIdc, Int typeAuxInfo, Int *offsetVal, SAOStatData &statData) |
Void | deriveOffsets (ComponentID compIdx, const Int channelBitDepth, Int typeIdc, SAOStatData &statData, Int *quantOffsets, Int &typeAuxInfo) |
Int64 | estSaoDist (Int64 count, Int64 offset, Int64 diffSum, Int shift) |
Int | estIterOffset (Int typeIdx, Double lambda, Int offsetInput, Int64 count, Int64 diffSum, Int shift, Int bitIncrease, Int64 &bestDist, Double &bestCost, Int offsetTh) |
Void | addPreDBFStatistics (SAOStatData ***blkStats) |
Definition at line 95 of file TEncSampleAdaptiveOffset.h.
TEncSampleAdaptiveOffset::TEncSampleAdaptiveOffset | ( | ) |
Definition at line 60 of file TEncSampleAdaptiveOffset.cpp.
|
virtual |
Definition at line 69 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 273 of file TEncSampleAdaptiveOffset.cpp.
Definition at line 74 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 782 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 334 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 728 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 585 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 466 of file TEncSampleAdaptiveOffset.cpp.
Void TEncSampleAdaptiveOffset::destroyEncData | ( | ) |
Definition at line 185 of file TEncSampleAdaptiveOffset.cpp.
|
inlineprivate |
Definition at line 433 of file TEncSampleAdaptiveOffset.cpp.
|
inlineprivate |
Definition at line 427 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 911 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 389 of file TEncSampleAdaptiveOffset.cpp.
Definition at line 268 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 287 of file TEncSampleAdaptiveOffset.cpp.
Void TEncSampleAdaptiveOffset::initRDOCabacCoder | ( | TEncSbac * | pcRDGoOnSbacCoder, |
TComSlice * | pcSlice | ||
) |
Definition at line 231 of file TEncSampleAdaptiveOffset.cpp.
Void TEncSampleAdaptiveOffset::SAOProcess | ( | TComPic * | pPic, |
Bool * | sliceEnabled, | ||
const Double * | lambdas, | ||
const Bool | bTestSAODisableAtPictureLevel, | ||
const Double | saoEncodingRate, | ||
const Double | saoEncodingRateChroma, | ||
const Bool | isPreDBFSamplesUsed, | ||
const Bool | bResetStateAfterIRAP | ||
) |
Definition at line 242 of file TEncSampleAdaptiveOffset.cpp.
|
private |
Definition at line 129 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 135 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 123 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 125 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 122 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 133 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 134 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 137 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 136 of file TEncSampleAdaptiveOffset.h.
|
private |
Definition at line 132 of file TEncSampleAdaptiveOffset.h.