HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
TLibEncoder - Library containing encoder functionality

Classes

struct  OutputNALUnit
 
class  SEIWriter
 
class  TEncAnalyze
 encoder analyzer class More...
 
class  TEncBinCABAC
 
class  TEncBinCABACCounter
 
class  TEncCfg
 encoder configuration class More...
 
class  TEncQPAdaptationUnit
 Unit block for storing image characteristics. More...
 
class  TEncPreanalyzer
 Source picture analyzer class. More...
 
class  TEncSbac
 SBAC encoder class. More...
 
class  TEncTop
 encoder class More...
 
static std::vector< UIntwriteAnnexB (std::ostream &out, const AccessUnit &au)
 
static const UChar emulation_prevention_three_byte [] = {3}
 
Void writeNalUnitHeader (ostream &out, OutputNALUnit &nalu)
 
Void write (ostream &out, OutputNALUnit &nalu)
 
Void SEIEncoder::initSEIActiveParameterSets (SEIActiveParameterSets *sei, const TComVPS *vps, const TComSPS *sps)
 
Void SEIEncoder::initSEIFramePacking (SEIFramePacking *sei, Int currPicNum)
 
Void SEIEncoder::initSEIDisplayOrientation (SEIDisplayOrientation *sei)
 
Void SEIEncoder::initSEIToneMappingInfo (SEIToneMappingInfo *sei)
 
Void SEIEncoder::initSEISOPDescription (SEISOPDescription *sei, TComSlice *slice, Int picInGOP, Int lastIdr, Int currGOPSize)
 
Void SEIEncoder::initSEIBufferingPeriod (SEIBufferingPeriod *sei, TComSlice *slice)
 
Void SEIEncoder::initSEIScalableNesting (SEIScalableNesting *sei, SEIMessages &nestedSEIs)
 
Void SEIEncoder::initSEIRecoveryPoint (SEIRecoveryPoint *sei, TComSlice *slice)
 
Void SEIEncoder::initSEISegmentedRectFramePacking (SEISegmentedRectFramePacking *sei)
 
Void SEIEncoder::initSEITempMotionConstrainedTileSets (SEITempMotionConstrainedTileSets *sei, const TComPPS *pps)
 
Void SEIEncoder::initSEIKneeFunctionInfo (SEIKneeFunctionInfo *sei)
 
Void SEIEncoder::initSEIContentColourVolume (SEIContentColourVolume *sei)
 
Void SEIEncoder::initSEIErp (SEIEquirectangularProjection *sei)
 
Void SEIEncoder::initSEISphereRotation (SEISphereRotation *sei)
 
Void SEIEncoder::initSEIOmniViewport (SEIOmniViewport *sei)
 
Void SEIEncoder::initSEICubemapProjection (SEICubemapProjection *sei)
 
Void SEIEncoder::initSEIRegionWisePacking (SEIRegionWisePacking *sei)
 
Void SEIEncoder::initSEIChromaResamplingFilterHint (SEIChromaResamplingFilterHint *sei, Int iHorFilterIndex, Int iVerFilterIndex)
 
Void SEIEncoder::initSEITimeCode (SEITimeCode *sei)
 
Bool SEIEncoder::initSEIColourRemappingInfo (SEIColourRemappingInfo *sei, Int currPOC)
 
Void SEIEncoder::initSEIAlternativeTransferCharacteristics (SEIAlternativeTransferCharacteristics *sei)
 
Void SEIEncoder::readToneMappingInfoSEI (std::istream &fic, SEIToneMappingInfo *seiToneMappingInfo, Bool &failed)
 
Void SEIEncoder::readChromaResamplingFilterHintSEI (std::istream &fic, SEIChromaResamplingFilterHint *seiChromaResamplingFilterHint, Bool &failed)
 
Void SEIEncoder::readKneeFunctionInfoSEI (std::istream &fic, SEIKneeFunctionInfo *seiKneeFunctionInfo, Bool &failed)
 
Void SEIEncoder::readColourRemapSEI (std::istream &fic, SEIColourRemappingInfo *seiColorRemappingInfo, Bool &failed)
 
Void SEIEncoder::readContentColourVolumeSEI (std::istream &fic, SEIContentColourVolume *seiContentColourVolume, Bool &failed)
 
Bool SEIEncoder::initSEIRegionalNesting (SEIRegionalNesting *sei, Int currPOC)
 
Void SEIEncoder::readRNSEIWindow (std::istream &fic, RNSEIWindowVec::iterator regionIter, Bool &failed)
 
Void SEIEncoder::initDecodedPictureHashSEI (SEIDecodedPictureHash *sei, TComPic *pcPic, std::string &rHashString, const BitDepths &bitDepths)
 calculate hashes for entire reconstructed picture More...
 
Void SEIEncoder::initTemporalLevel0IndexSEI (SEITemporalLevel0Index *sei, TComSlice *slice)
 
Void SEIEncoder::initSEIGreenMetadataInfo (SEIGreenMetadataInfo *sei, UInt u)
 
Void SEIWriter::xWriteSEIpayloadData (TComBitIf &bs, const SEI &sei, const TComSPS *sps)
 
Void SyntaxElementWriter::xWriteSCode (Int iCode, UInt uiLength)
 
Void SyntaxElementWriter::xWriteCode (UInt uiCode, UInt uiLength)
 
Void SyntaxElementWriter::xWriteUvlc (UInt uiCode)
 
Void SyntaxElementWriter::xWriteSvlc (Int iCode)
 
Void SyntaxElementWriter::xWriteFlag (UInt uiCode)
 
Void SyntaxElementWriter::xWriteRbspTrailingBits ()
 
#define WRITE_SCODE(value, length, name)   xWriteSCode ( value, length )
 
#define WRITE_CODE(value, length, name)   xWriteCode ( value, length )
 
#define WRITE_UVLC(value,name)   xWriteUvlc ( value )
 
#define WRITE_SVLC(value,name)   xWriteSvlc ( value )
 
#define WRITE_FLAG(value,name)   xWriteFlag ( value )
 
 TEncBinCABAC::TEncBinCABAC ()
 
virtual TEncBinCABAC::~TEncBinCABAC ()
 
Void TEncBinCABAC::init (TComBitIf *pcTComBitIf)
 
Void TEncBinCABAC::uninit ()
 
Void TEncBinCABAC::start ()
 
Void TEncBinCABAC::finish ()
 
Void TEncBinCABAC::copyState (const TEncBinIf *pcTEncBinIf)
 
Void TEncBinCABAC::flush ()
 
Void TEncBinCABAC::resetBac ()
 
Void TEncBinCABAC::encodePCMAlignBits ()
 
Void TEncBinCABAC::xWritePCMCode (UInt uiCode, UInt uiLength)
 
Void TEncBinCABAC::resetBits ()
 
UInt TEncBinCABAC::getNumWrittenBits ()
 
Void TEncBinCABAC::encodeBin (UInt binValue, ContextModel &rcCtxModel)
 Encode bin. More...
 
Void TEncBinCABAC::encodeBinEP (UInt binValue)
 Encode equiprobable bin. More...
 
Void TEncBinCABAC::encodeBinsEP (UInt binValues, Int numBins)
 Encode equiprobable bins. More...
 
Void TEncBinCABAC::encodeBinTrm (UInt binValue)
 Encode terminating bin. More...
 
Void TEncBinCABAC::align ()
 
Void TEncBinCABAC::encodeAlignedBinsEP (UInt binValues, Int numBins)
 
Void TEncBinCABAC::testAndWriteOut ()
 
Void TEncBinCABAC::writeOut ()
 Move bits from register into bitstream. More...
 
 TEncBinCABACCounter::TEncBinCABACCounter ()
 
virtual TEncBinCABACCounter::~TEncBinCABACCounter ()
 
Void TEncBinCABACCounter::finish ()
 
UInt TEncBinCABACCounter::getNumWrittenBits ()
 
Void TEncBinCABACCounter::encodeBin (UInt binValue, ContextModel &rcCtxModel)
 Encode bin. More...
 
Void TEncBinCABACCounter::encodeBinEP (UInt binValue)
 Encode equiprobable bin. More...
 
Void TEncBinCABACCounter::encodeBinsEP (UInt binValues, Int numBins)
 Encode equiprobable bins. More...
 
Void TEncBinCABACCounter::encodeBinTrm (UInt binValue)
 Encode terminating bin. More...
 
Void TEncBinCABACCounter::align ()
 
Void AUDWriter::codeAUD (TComBitIf &bs, const Int pictureType)
 
Void TEncCu::create (UChar uhTotalDepth, UInt iMaxWidth, UInt iMaxHeight, ChromaFormat chromaFormat)
 create internal buffers More...
 
Void TEncEntropy::setEntropyCoder (TEncEntropyIf *e)
 
Void TEncEntropy::encodeSliceHeader (TComSlice *pcSlice)
 
Void TEncEntropy::encodeTilesWPPEntryPoint (TComSlice *pSlice)
 
Void TEncEntropy::encodeTerminatingBit (UInt uiIsLast)
 
Void TEncEntropy::encodeSliceFinish ()
 
Void TEncEntropy::encodeVPS (const TComVPS *pcVPS)
 
Void TEncEntropy::encodeSPS (const TComSPS *pcSPS)
 
Void TEncEntropy::encodePPS (const TComPPS *pcPPS)
 
Void TEncEntropy::encodeSplitFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool bRD=false)
 encode split flag More...
 
Void TEncEntropy::encodeCUTransquantBypassFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 
Void TEncEntropy::encodeSkipFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 
Void TEncEntropy::encodePUWise (TComDataCU *pcCU, UInt uiAbsPartIdx)
 encode motion information for every PU block More...
 
Void TEncEntropy::encodeInterDirPU (TComDataCU *pcSubCU, UInt uiAbsPartIdx)
 
Void TEncEntropy::encodeRefFrmIdxPU (TComDataCU *pcSubCU, UInt uiAbsPartIdx, RefPicList eRefList)
 encode reference frame index for a PU block More...
 
Void TEncEntropy::encodeMvdPU (TComDataCU *pcSubCU, UInt uiAbsPartIdx, RefPicList eRefList)
 encode motion vector difference for a PU block More...
 
Void TEncEntropy::encodeMVPIdxPU (TComDataCU *pcSubCU, UInt uiAbsPartIdx, RefPicList eRefList)
 
Void TEncEntropy::encodeMergeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx)
 encode merge flag More...
 
Void TEncEntropy::encodeMergeIndex (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 encode merge index More...
 
Void TEncEntropy::encodePredMode (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 encode prediction mode More...
 
Void TEncEntropy::encodePartSize (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool bRD=false)
 encode partition size More...
 
Void TEncEntropy::encodeIPCMInfo (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 
Void TEncEntropy::encodePredInfo (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncEntropy::encodeIntraDirModeLuma (TComDataCU *pcCU, UInt absPartIdx, Bool isMultiplePU=false)
 encode intra direction for luma More...
 
Void TEncEntropy::encodeIntraDirModeChroma (TComDataCU *pcCU, UInt uiAbsPartIdx)
 encode intra direction for chroma More...
 
Void TEncEntropy::encodeTransformSubdivFlag (UInt uiSymbol, UInt uiCtx)
 
Void TEncEntropy::encodeQtCbf (TComTU &rTu, const ComponentID compID, const Bool lowestLevel)
 
Void TEncEntropy::encodeQtCbfZero (TComTU &rTu, const ChannelType chType)
 
Void TEncEntropy::encodeQtRootCbfZero ()
 
Void TEncEntropy::encodeQtRootCbf (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncEntropy::encodeQP (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 
Void TEncEntropy::encodeChromaQpAdjustment (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 encode chroma qp adjustment More...
 
Void TEncEntropy::encodeCrossComponentPrediction (TComTU &rTu, ComponentID compID)
 
Void TEncEntropy::encodeCoeff (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &bCodeDQP, Bool &codeChromaQpAdj)
 encode coefficients More...
 
Void TEncEntropy::encodeCoeffNxN (TComTU &rTu, TCoeff *pcCoef, const ComponentID compID)
 
Void TEncEntropy::estimateBit (estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType, COEFF_SCAN_TYPE scanType)
 
Void TEncEntropy::xEncodeTransform (Bool &bCodeDQP, Bool &codeChromaQpAdj, TComTU &rTu)
 
static Int TEncEntropy::countNonZeroCoeffs (TCoeff *pcCoef, UInt uiSize)
 
Int getLSB (Int poc, Int maxLSB)
 
static Void cabac_zero_word_padding (TComSlice *const pcSlice, TComPic *const pcPic, const std::size_t binCountsInNalUnits, const std::size_t numBytesInVclNalUnits, std::ostringstream &nalUnitData, const Bool cabacZeroWordPaddingEnabled)
 
static UInt calculateCollocatedFromL0Flag (const TComSlice *pSlice)
 
static Void printHash (const HashType hashType, const std::string &digestStr)
 
 TEncQPAdaptationUnit::TEncQPAdaptationUnit ()
 
 TEncQPAdaptationUnit::~TEncQPAdaptationUnit ()
 
 TEncPreanalyzer::TEncPreanalyzer ()
 
virtual TEncPreanalyzer::~TEncPreanalyzer ()
 
Void TEncPreanalyzer::xPreanalyze (TEncPic *pcPic)
 
const Int g_RCInvalidQPValue = -999
 
Double xRoundIbdi2 (Int bitDepth, Double x)
 rounding with IBDI More...
 
Double xRoundIbdi (Int bitDepth, Double x)
 
enum  SAOCabacStateLablesRDO {
  SAO_CABACSTATE_PIC_INIT =0, SAO_CABACSTATE_BLK_CUR, SAO_CABACSTATE_BLK_NEXT, SAO_CABACSTATE_BLK_MID,
  SAO_CABACSTATE_BLK_TEMP, NUM_SAO_CABACSTATE_LABELS
}
 
 TEncSbac::TEncSbac ()
 
virtual TEncSbac::~TEncSbac ()
 
Void TEncSbac::resetEntropy (const TComSlice *pSlice)
 
SliceType TEncSbac::determineCabacInitIdx (const TComSlice *pSlice)
 
Void TEncSbac::load (const TEncSbac *pSrc)
 
Void TEncSbac::loadIntraDirMode (const TEncSbac *pScr, const ChannelType chType)
 
Void TEncSbac::store (TEncSbac *pDest) const
 
Void TEncSbac::loadContexts (const TEncSbac *pSrc)
 
Void TEncSbac::codeVPS (const TComVPS *pcVPS)
 
Void TEncSbac::codeSPS (const TComSPS *pcSPS)
 
Void TEncSbac::codePPS (const TComPPS *pcPPS)
 
Void TEncSbac::codeSliceHeader (TComSlice *pcSlice)
 
Void TEncSbac::codeTilesWPPEntryPoint (TComSlice *pSlice)
 
Void TEncSbac::codeTerminatingBit (UInt uilsLast)
 
Void TEncSbac::codeSliceFinish ()
 
Void TEncSbac::codeSaoMaxUvlc (UInt code, UInt maxSymbol)
 
Void TEncSbac::codeSaoMerge (UInt uiCode)
 
Void TEncSbac::codeSaoTypeIdx (UInt uiCode)
 
Void TEncSbac::codeSaoUflc (UInt uiLength, UInt uiCode)
 
Void TEncSbac::codeSAOSign (UInt uiCode)
 
Void TEncSbac::codeSAOOffsetParam (ComponentID compIdx, SAOOffset &ctbParam, Bool sliceEnabled, const Int channelBitDepth)
 
Void TEncSbac::codeSAOBlkParam (SAOBlkParam &saoBlkParam, const BitDepths &bitDepths, Bool *sliceEnabled, Bool leftMergeAvail, Bool aboveMergeAvail, Bool onlyEstMergeInfo=false)
 
Void TEncSbac::codeCUTransquantBypassFlag (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeSkipFlag (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeMergeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeMergeIndex (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeSplitFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TEncSbac::codeMVPIdx (TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
 
Void TEncSbac::codePartSize (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TEncSbac::codePredMode (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeIPCMInfo (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeTransformSubdivFlag (UInt uiSymbol, UInt uiCtx)
 
Void TEncSbac::codeQtCbf (TComTU &rTu, const ComponentID compID, const Bool lowestLevel)
 
Void TEncSbac::codeQtRootCbf (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeQtCbfZero (TComTU &rTu, const ChannelType chType)
 
Void TEncSbac::codeQtRootCbfZero ()
 
Void TEncSbac::codeIntraDirLumaAng (TComDataCU *pcCU, UInt absPartIdx, Bool isMultiple)
 
Void TEncSbac::codeIntraDirChroma (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeInterDir (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeRefFrmIdx (TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
 
Void TEncSbac::codeMvd (TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
 
Void TEncSbac::codeCrossComponentPrediction (TComTU &rTu, ComponentID compID)
 
Void TEncSbac::codeDeltaQP (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void TEncSbac::codeChromaQpAdjustment (TComDataCU *cu, UInt absPartIdx)
 
Void TEncSbac::codeLastSignificantXY (UInt uiPosX, UInt uiPosY, Int width, Int height, ComponentID component, UInt uiScanIdx)
 
Void TEncSbac::codeCoeffNxN (TComTU &rTu, TCoeff *pcCoef, const ComponentID compID)
 
Void TEncSbac::codeTransformSkipFlags (TComTU &rTu, ComponentID component)
 
Void TEncSbac::estBit (estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType, COEFF_SCAN_TYPE scanType)
 estimate bit cost for CBP, significant map and significant coefficients More...
 
Void TEncSbac::estCBFBit (estBitsSbacStruct *pcEstBitsSbac)
 estimate bit cost for each CBP bit More...
 
Void TEncSbac::estSignificantCoeffGroupMapBit (estBitsSbacStruct *pcEstBitsSbac, ChannelType chType)
 estimate SAMBAC bit cost for significant coefficient group map More...
 
Void TEncSbac::estSignificantMapBit (estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType)
 estimate SAMBAC bit cost for significant coefficient map More...
 
Void TEncSbac::estLastSignificantPositionBit (estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType, COEFF_SCAN_TYPE scanType)
 estimate bit cost of significant coefficient More...
 
Void TEncSbac::estSignificantCoefficientsBit (estBitsSbacStruct *pcEstBitsSbac, ChannelType chType)
 estimate bit cost of significant coefficient More...
 
Void TEncSbac::codeExplicitRdpcmMode (TComTU &rTu, const ComponentID compID)
 
Void TEncSbac::xWriteUnarySymbol (UInt uiSymbol, ContextModel *pcSCModel, Int iOffset)
 
Void TEncSbac::xWriteUnaryMaxSymbol (UInt uiSymbol, ContextModel *pcSCModel, Int iOffset, UInt uiMaxSymbol)
 
Void TEncSbac::xWriteEpExGolomb (UInt uiSymbol, UInt uiCount)
 
Void TEncSbac::xWriteCoefRemainExGolomb (UInt symbol, UInt &rParam, const Bool useLimitedPrefixLength, const Int maxLog2TrDynamicRange)
 
Void TEncSbac::xCopyFrom (const TEncSbac *pSrc)
 
Void TEncSbac::xCopyContextsFrom (const TEncSbac *pSrc)
 
static const TComMv s_acMvRefineH [9]
 
static const TComMv s_acMvRefineQ [9]
 
static Void offsetSubTUCBFs (TComTU &rTu, const ComponentID compID)
 
 TEncSlice::TEncSlice ()
 
 TEncTop::TEncTop ()
 

Detailed Description

Macro Definition Documentation

#define WRITE_CODE (   value,
  length,
  name 
)    xWriteCode ( value, length )

Definition at line 61 of file SyntaxElementWriter.h.

#define WRITE_FLAG (   value,
  name 
)    xWriteFlag ( value )

Definition at line 64 of file SyntaxElementWriter.h.

#define WRITE_SCODE (   value,
  length,
  name 
)    xWriteSCode ( value, length )

Definition at line 60 of file SyntaxElementWriter.h.

#define WRITE_SVLC (   value,
  name 
)    xWriteSvlc ( value )

Definition at line 63 of file SyntaxElementWriter.h.

#define WRITE_UVLC (   value,
  name 
)    xWriteUvlc ( value )

Definition at line 62 of file SyntaxElementWriter.h.

Enumeration Type Documentation

Enumerator
SAO_CABACSTATE_PIC_INIT 
SAO_CABACSTATE_BLK_CUR 
SAO_CABACSTATE_BLK_NEXT 
SAO_CABACSTATE_BLK_MID 
SAO_CABACSTATE_BLK_TEMP 
NUM_SAO_CABACSTATE_LABELS 

Definition at line 56 of file TEncSampleAdaptiveOffset.h.

Function Documentation

Void TEncBinCABACCounter::align ( )
virtual

Reimplemented from TEncBinCABAC.

Definition at line 137 of file TEncBinCoderCABACCounter.cpp.

Void TEncBinCABAC::align ( )
virtual

Implements TEncBinIf.

Reimplemented in TEncBinCABACCounter.

Definition at line 329 of file TEncBinCoderCABAC.cpp.

static Void cabac_zero_word_padding ( TComSlice *const  pcSlice,
TComPic *const  pcPic,
const std::size_t  binCountsInNalUnits,
const std::size_t  numBytesInVclNalUnits,
std::ostringstream &  nalUnitData,
const Bool  cabacZeroWordPaddingEnabled 
)
static

Definition at line 892 of file TEncGOP.cpp.

static UInt calculateCollocatedFromL0Flag ( const TComSlice pSlice)
static

Definition at line 1061 of file TEncGOP.cpp.

Void AUDWriter::codeAUD ( TComBitIf bs,
const Int  pictureType 
)

Definition at line 74 of file TEncCavlc.cpp.

Void TEncSbac::codeChromaQpAdjustment ( TComDataCU cu,
UInt  absPartIdx 
)
virtual

code chroma qp adjustment, converting from the internal table representation

Returns
Void

Implements TEncEntropyIf.

Definition at line 906 of file TEncSbac.cpp.

Void TEncSbac::codeCoeffNxN ( TComTU rTu,
TCoeff pcCoef,
const ComponentID  compID 
)
virtual

Implements TEncEntropyIf.

Definition at line 1181 of file TEncSbac.cpp.

Void TEncSbac::codeCrossComponentPrediction ( TComTU rTu,
ComponentID  compID 
)
virtual

Implements TEncEntropyIf.

Definition at line 833 of file TEncSbac.cpp.

Void TEncSbac::codeCUTransquantBypassFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 532 of file TEncSbac.cpp.

Void TEncSbac::codeDeltaQP ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 879 of file TEncSbac.cpp.

Void TEncSbac::codeExplicitRdpcmMode ( TComTU rTu,
const ComponentID  compID 
)
virtual

Performs CABAC encoding of the explicit RDPCM mode

Parameters
rTucurrent TU data structure
compIDcomponent identifier

Implements TEncEntropyIf.

Definition at line 1987 of file TEncSbac.cpp.

Void TEncSbac::codeInterDir ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 729 of file TEncSbac.cpp.

Void TEncSbac::codeIntraDirChroma ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 698 of file TEncSbac.cpp.

Void TEncSbac::codeIntraDirLumaAng ( TComDataCU pcCU,
UInt  absPartIdx,
Bool  isMultiple 
)
virtual

Implements TEncEntropyIf.

Definition at line 643 of file TEncSbac.cpp.

Void TEncSbac::codeIPCMInfo ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Code I_PCM information.

Parameters
pcCUpointer to CU
uiAbsPartIdxCU index
Returns
Void

Implements TEncEntropyIf.

Definition at line 1034 of file TEncSbac.cpp.

Void TEncSbac::codeLastSignificantXY ( UInt  uiPosX,
UInt  uiPosY,
Int  width,
Int  height,
ComponentID  component,
UInt  uiScanIdx 
)

Encode (X,Y) position of the last significant coefficient

Parameters
uiPosXX component of last coefficient
uiPosYY component of last coefficient
widthBlock width
heightBlock height
componentchroma component ID
uiScanIdxscan type (zig-zag, hor, ver) This method encodes the X and Y component within a block of the last significant coefficient.

Definition at line 1115 of file TEncSbac.cpp.

Void TEncSbac::codeMergeFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

code merge flag

Parameters
pcCU
uiAbsPartIdx
Returns
Void

Implements TEncEntropyIf.

Definition at line 563 of file TEncSbac.cpp.

Void TEncSbac::codeMergeIndex ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

code merge index

Parameters
pcCU
uiAbsPartIdx
Returns
Void

Implements TEncEntropyIf.

Definition at line 583 of file TEncSbac.cpp.

Void TEncSbac::codeMvd ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)
virtual

Implements TEncEntropyIf.

Definition at line 779 of file TEncSbac.cpp.

Void TEncSbac::codeMVPIdx ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)
virtual

Implements TEncEntropyIf.

Definition at line 427 of file TEncSbac.cpp.

Void TEncSbac::codePartSize ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TEncEntropyIf.

Definition at line 435 of file TEncSbac.cpp.

Void TEncSbac::codePPS ( const TComPPS pcPPS)
virtual

Implements TEncEntropyIf.

Definition at line 235 of file TEncSbac.cpp.

Void TEncSbac::codePredMode ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

code prediction mode

Parameters
pcCU
uiAbsPartIdx
Returns
Void

Implements TEncEntropyIf.

Definition at line 526 of file TEncSbac.cpp.

Void TEncSbac::codeQtCbf ( TComTU rTu,
const ComponentID  compID,
const Bool  lowestLevel 
)
virtual

Implements TEncEntropyIf.

Definition at line 920 of file TEncSbac.cpp.

Void TEncSbac::codeQtCbfZero ( TComTU rTu,
const ChannelType  chType 
)
virtual

Implements TEncEntropyIf.

Definition at line 1087 of file TEncSbac.cpp.

Void TEncSbac::codeQtRootCbf ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1071 of file TEncSbac.cpp.

Void TEncSbac::codeQtRootCbfZero ( )
virtual

Implements TEncEntropyIf.

Definition at line 1097 of file TEncSbac.cpp.

Void TEncSbac::codeRefFrmIdx ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)
virtual

Implements TEncEntropyIf.

Definition at line 748 of file TEncSbac.cpp.

Void TEncSbac::codeSAOBlkParam ( SAOBlkParam saoBlkParam,
const BitDepths bitDepths,
Bool sliceEnabled,
Bool  leftMergeAvail,
Bool  aboveMergeAvail,
Bool  onlyEstMergeInfo = false 
)
virtual

Implements TEncEntropyIf.

Definition at line 1683 of file TEncSbac.cpp.

Void TEncSbac::codeSaoMaxUvlc ( UInt  code,
UInt  maxSymbol 
)

Definition at line 1548 of file TEncSbac.cpp.

Void TEncSbac::codeSaoMerge ( UInt  uiCode)

Code SAO merge flags

Definition at line 1585 of file TEncSbac.cpp.

Void TEncSbac::codeSAOOffsetParam ( ComponentID  compIdx,
SAOOffset ctbParam,
Bool  sliceEnabled,
const Int  channelBitDepth 
)

Definition at line 1605 of file TEncSbac.cpp.

Void TEncSbac::codeSAOSign ( UInt  code)

code SAO offset sign

Parameters
codesign value

Definition at line 1543 of file TEncSbac.cpp.

Void TEncSbac::codeSaoTypeIdx ( UInt  uiCode)

Code SAO type index

Definition at line 1592 of file TEncSbac.cpp.

Void TEncSbac::codeSaoUflc ( UInt  uiLength,
UInt  uiCode 
)

Code SAO EO class or BO band position

Definition at line 1578 of file TEncSbac.cpp.

Void TEncSbac::codeSkipFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

code skip flag

Parameters
pcCU
uiAbsPartIdx
Returns
Void

Implements TEncEntropyIf.

Definition at line 543 of file TEncSbac.cpp.

Void TEncSbac::codeSliceFinish ( )
virtual

Implements TEncEntropyIf.

Definition at line 258 of file TEncSbac.cpp.

Void TEncSbac::codeSliceHeader ( TComSlice pcSlice)
virtual

Implements TEncEntropyIf.

Definition at line 241 of file TEncSbac.cpp.

Void TEncSbac::codeSplitFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TEncEntropyIf.

Definition at line 613 of file TEncSbac.cpp.

Void TEncSbac::codeSPS ( const TComSPS pcSPS)
virtual

Implements TEncEntropyIf.

Definition at line 229 of file TEncSbac.cpp.

Void TEncSbac::codeTerminatingBit ( UInt  uilsLast)
virtual

Implements TEncEntropyIf.

Definition at line 253 of file TEncSbac.cpp.

Void TEncSbac::codeTilesWPPEntryPoint ( TComSlice pSlice)
virtual

Implements TEncEntropyIf.

Definition at line 247 of file TEncSbac.cpp.

Void TEncSbac::codeTransformSkipFlags ( TComTU rTu,
ComponentID  component 
)
virtual

Implements TEncEntropyIf.

Definition at line 997 of file TEncSbac.cpp.

Void TEncSbac::codeTransformSubdivFlag ( UInt  uiSymbol,
UInt  uiCtx 
)
virtual

Implements TEncEntropyIf.

Definition at line 630 of file TEncSbac.cpp.

Void TEncSbac::codeVPS ( const TComVPS pcVPS)
virtual

Implements TEncEntropyIf.

Definition at line 223 of file TEncSbac.cpp.

Void TEncBinCABAC::copyState ( const TEncBinIf pcTEncBinIf)
virtual

Implements TEncBinIf.

Definition at line 148 of file TEncBinCoderCABAC.cpp.

Int TEncEntropy::countNonZeroCoeffs ( TCoeff pcCoef,
UInt  uiSize 
)
static

Definition at line 692 of file TEncEntropy.cpp.

Void TEncCu::create ( UChar  uhTotalDepth,
UInt  uiMaxWidth,
UInt  uiMaxHeight,
ChromaFormat  chromaFormat 
)

create internal buffers

Parameters
uhTotalDepthtotal number of allowable depth
uiMaxWidthlargest CU width
uiMaxHeightlargest CU height
chromaFormatchroma format

Definition at line 62 of file TEncCu.cpp.

SliceType TEncSbac::determineCabacInitIdx ( const TComSlice pSlice)
virtual

The function does the following: If current slice type is P/B then it determines the distance of initialisation type 1 and 2 from the current CABAC states and stores the index of the closest table. This index is used for the next P/B slice when cabac_init_present_flag is true.

Implements TEncEntropyIf.

Definition at line 162 of file TEncSbac.cpp.

Void TEncBinCABAC::encodeAlignedBinsEP ( UInt  binValues,
Int  numBins 
)

Definition at line 334 of file TEncBinCoderCABAC.cpp.

Void TEncBinCABACCounter::encodeBin ( UInt  binValue,
ContextModel rcCtxModel 
)
virtual

Encode bin.

Parameters
binValuebin value
rcCtxModelcontext model

Reimplemented from TEncBinCABAC.

Definition at line 74 of file TEncBinCoderCABACCounter.cpp.

Void TEncBinCABAC::encodeBin ( UInt  binValue,
ContextModel rcCtxModel 
)
virtual

Encode bin.

Parameters
binValuebin value
rcCtxModelcontext model

Implements TEncBinIf.

Reimplemented in TEncBinCABACCounter.

Definition at line 187 of file TEncBinCoderCABAC.cpp.

Void TEncBinCABACCounter::encodeBinEP ( UInt  binValue)
virtual

Encode equiprobable bin.

Parameters
binValuebin value

Reimplemented from TEncBinCABAC.

Definition at line 108 of file TEncBinCoderCABACCounter.cpp.

Void TEncBinCABAC::encodeBinEP ( UInt  binValue)
virtual

Encode equiprobable bin.

Parameters
binValuebin value

Implements TEncBinIf.

Reimplemented in TEncBinCABACCounter.

Definition at line 255 of file TEncBinCoderCABAC.cpp.

Void TEncBinCABACCounter::encodeBinsEP ( UInt  binValues,
Int  numBins 
)
virtual

Encode equiprobable bins.

Parameters
binValuesbin values
numBinsnumber of bins

Reimplemented from TEncBinCABAC.

Definition at line 120 of file TEncBinCoderCABACCounter.cpp.

Void TEncBinCABAC::encodeBinsEP ( UInt  binValues,
Int  numBins 
)
virtual

Encode equiprobable bins.

Parameters
binValuesbin values
numBinsnumber of bins

Implements TEncBinIf.

Reimplemented in TEncBinCABACCounter.

Definition at line 289 of file TEncBinCoderCABAC.cpp.

Void TEncBinCABACCounter::encodeBinTrm ( UInt  binValue)
virtual

Encode terminating bin.

Parameters
binValuebin value

Reimplemented from TEncBinCABAC.

Definition at line 131 of file TEncBinCoderCABACCounter.cpp.

Void TEncBinCABAC::encodeBinTrm ( UInt  binValue)
virtual

Encode terminating bin.

Parameters
binValuebin value

Implements TEncBinIf.

Reimplemented in TEncBinCABACCounter.

Definition at line 376 of file TEncBinCoderCABAC.cpp.

Void TEncEntropy::encodeChromaQpAdjustment ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
Bool  bRD = false 
)

encode chroma qp adjustment

Definition at line 602 of file TEncEntropy.cpp.

Void TEncEntropy::encodeCoeff ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
Bool bCodeDQP,
Bool codeChromaQpAdj 
)

encode coefficients

Definition at line 615 of file TEncEntropy.cpp.

Void TEncEntropy::encodeCoeffNxN ( TComTU rTu,
TCoeff pcCoef,
const ComponentID  compID 
)

Definition at line 654 of file TEncEntropy.cpp.

Void TEncEntropy::encodeCrossComponentPrediction ( TComTU rTu,
ComponentID  compID 
)

Definition at line 451 of file TEncEntropy.cpp.

Void TEncEntropy::encodeCUTransquantBypassFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
Bool  bRD = false 
)

Definition at line 91 of file TEncEntropy.cpp.

Void TEncEntropy::encodeInterDirPU ( TComDataCU pcSubCU,
UInt  uiAbsPartIdx 
)

Definition at line 510 of file TEncEntropy.cpp.

Void TEncEntropy::encodeIntraDirModeChroma ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)

encode intra direction for chroma

Definition at line 409 of file TEncEntropy.cpp.

Void TEncEntropy::encodeIntraDirModeLuma ( TComDataCU pcCU,
UInt  absPartIdx,
Bool  isMultiplePU = false 
)

encode intra direction for luma

Definition at line 402 of file TEncEntropy.cpp.

Void TEncEntropy::encodeIPCMInfo ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
Bool  bRD = false 
)

Encode I_PCM information.

Parameters
pcCUpointer to CU
uiAbsPartIdxCU index
bRDflag indicating estimation or encoding

Definition at line 182 of file TEncEntropy.cpp.

Void TEncEntropy::encodeMergeFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)

encode merge flag

Definition at line 120 of file TEncEntropy.cpp.

Void TEncEntropy::encodeMergeIndex ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
Bool  bRD = false 
)

encode merge index

Definition at line 127 of file TEncEntropy.cpp.

Void TEncEntropy::encodeMvdPU ( TComDataCU pcSubCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)

encode motion vector difference for a PU block

Definition at line 541 of file TEncEntropy.cpp.

Void TEncEntropy::encodeMVPIdxPU ( TComDataCU pcSubCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)

Definition at line 552 of file TEncEntropy.cpp.

Void TEncEntropy::encodePartSize ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
Bool  bRD = false 
)

encode partition size

Definition at line 166 of file TEncEntropy.cpp.

Void TEncBinCABAC::encodePCMAlignBits ( )
virtual

Encode PCM alignment zero bits.

Returns
Void

Implements TEncBinIf.

Definition at line 131 of file TEncBinCoderCABAC.cpp.

Void TEncEntropy::encodePPS ( const TComPPS pcPPS)

Definition at line 79 of file TEncEntropy.cpp.

Void TEncEntropy::encodePredInfo ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)

Definition at line 427 of file TEncEntropy.cpp.

Void TEncEntropy::encodePredMode ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
Bool  bRD = false 
)

encode prediction mode

Definition at line 139 of file TEncEntropy.cpp.

Void TEncEntropy::encodePUWise ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)

encode motion information for every PU block

Definition at line 457 of file TEncEntropy.cpp.

Void TEncEntropy::encodeQP ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
Bool  bRD = false 
)

Definition at line 588 of file TEncEntropy.cpp.

Void TEncEntropy::encodeQtCbf ( TComTU rTu,
const ComponentID  compID,
const Bool  lowestLevel 
)

Definition at line 562 of file TEncEntropy.cpp.

Void TEncEntropy::encodeQtCbfZero ( TComTU rTu,
const ChannelType  chType 
)

Definition at line 577 of file TEncEntropy.cpp.

Void TEncEntropy::encodeQtRootCbf ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)

Definition at line 572 of file TEncEntropy.cpp.

Void TEncEntropy::encodeQtRootCbfZero ( )

Definition at line 582 of file TEncEntropy.cpp.

Void TEncEntropy::encodeRefFrmIdxPU ( TComDataCU pcSubCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)

encode reference frame index for a PU block

Definition at line 523 of file TEncEntropy.cpp.

Void TEncEntropy::encodeSkipFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
Bool  bRD = false 
)

Definition at line 106 of file TEncEntropy.cpp.

Void TEncEntropy::encodeSliceFinish ( )

Definition at line 74 of file TEncEntropy.cpp.

Void TEncEntropy::encodeSliceHeader ( TComSlice pcSlice)

Definition at line 56 of file TEncEntropy.cpp.

Void TEncEntropy::encodeSplitFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
Bool  bRD = false 
)

encode split flag

Definition at line 155 of file TEncEntropy.cpp.

Void TEncEntropy::encodeSPS ( const TComSPS pcSPS)

Definition at line 85 of file TEncEntropy.cpp.

Void TEncEntropy::encodeTerminatingBit ( UInt  uiIsLast)

Definition at line 67 of file TEncEntropy.cpp.

Void TEncEntropy::encodeTilesWPPEntryPoint ( TComSlice pSlice)

Definition at line 62 of file TEncEntropy.cpp.

Void TEncEntropy::encodeTransformSubdivFlag ( UInt  uiSymbol,
UInt  uiCtx 
)

Definition at line 567 of file TEncEntropy.cpp.

Void TEncEntropy::encodeVPS ( const TComVPS pcVPS)

Definition at line 100 of file TEncEntropy.cpp.

Void TEncSbac::estBit ( estBitsSbacStruct pcEstBitsSbac,
Int  width,
Int  height,
ChannelType  chType,
COEFF_SCAN_TYPE  scanType 
)
virtual

estimate bit cost for CBP, significant map and significant coefficients

Implements TEncEntropyIf.

Definition at line 1726 of file TEncSbac.cpp.

Void TEncSbac::estCBFBit ( estBitsSbacStruct pcEstBitsSbac)

estimate bit cost for each CBP bit

Definition at line 1750 of file TEncSbac.cpp.

Void TEncEntropy::estimateBit ( estBitsSbacStruct pcEstBitsSbac,
Int  width,
Int  height,
ChannelType  chType,
COEFF_SCAN_TYPE  scanType 
)

Definition at line 685 of file TEncEntropy.cpp.

Void TEncSbac::estLastSignificantPositionBit ( estBitsSbacStruct pcEstBitsSbac,
Int  width,
Int  height,
ChannelType  chType,
COEFF_SCAN_TYPE  scanType 
)

estimate bit cost of significant coefficient

Definition at line 1870 of file TEncSbac.cpp.

Void TEncSbac::estSignificantCoeffGroupMapBit ( estBitsSbacStruct pcEstBitsSbac,
ChannelType  chType 
)

estimate SAMBAC bit cost for significant coefficient group map

Definition at line 1776 of file TEncSbac.cpp.

Void TEncSbac::estSignificantCoefficientsBit ( estBitsSbacStruct pcEstBitsSbac,
ChannelType  chType 
)

estimate bit cost of significant coefficient

Definition at line 1944 of file TEncSbac.cpp.

Void TEncSbac::estSignificantMapBit ( estBitsSbacStruct pcEstBitsSbac,
Int  width,
Int  height,
ChannelType  chType 
)

estimate SAMBAC bit cost for significant coefficient map

Definition at line 1796 of file TEncSbac.cpp.

Void TEncBinCABACCounter::finish ( )
virtual

Reimplemented from TEncBinCABAC.

Definition at line 57 of file TEncBinCoderCABACCounter.cpp.

Void TEncBinCABAC::finish ( )
virtual

Implements TEncBinIf.

Reimplemented in TEncBinCABACCounter.

Definition at line 81 of file TEncBinCoderCABAC.cpp.

Void TEncBinCABAC::flush ( )
virtual

Implements TEncBinIf.

Definition at line 110 of file TEncBinCoderCABAC.cpp.

Int getLSB ( Int  poc,
Int  maxLSB 
)

Definition at line 61 of file TEncGOP.cpp.

UInt TEncBinCABACCounter::getNumWrittenBits ( )
virtual

Reimplemented from TEncBinCABAC.

Definition at line 63 of file TEncBinCoderCABACCounter.cpp.

UInt TEncBinCABAC::getNumWrittenBits ( )
virtual

Implements TEncBinIf.

Reimplemented in TEncBinCABACCounter.

Definition at line 176 of file TEncBinCoderCABAC.cpp.

Void TEncBinCABAC::init ( TComBitIf pcTComBitIf)
virtual

Implements TEncBinIf.

Definition at line 59 of file TEncBinCoderCABAC.cpp.

Void SEIEncoder::initDecodedPictureHashSEI ( SEIDecodedPictureHash sei,
TComPic pcPic,
std::string &  rHashString,
const BitDepths bitDepths 
)

calculate hashes for entire reconstructed picture

Definition at line 290 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIActiveParameterSets ( SEIActiveParameterSets sei,
const TComVPS vps,
const TComSPS sps 
)

Definition at line 42 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIAlternativeTransferCharacteristics ( SEIAlternativeTransferCharacteristics sei)

Definition at line 1199 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIBufferingPeriod ( SEIBufferingPeriod sei,
TComSlice slice 
)

Definition at line 224 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIChromaResamplingFilterHint ( SEIChromaResamplingFilterHint sei,
Int  iHorFilterIndex,
Int  iVerFilterIndex 
)

Definition at line 1122 of file SEIEncoder.cpp.

Bool SEIEncoder::initSEIColourRemappingInfo ( SEIColourRemappingInfo sei,
Int  currPOC 
)

Definition at line 738 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIContentColourVolume ( SEIContentColourVolume sei)

Definition at line 417 of file SEIEncoder.cpp.

Void SEIEncoder::initSEICubemapProjection ( SEICubemapProjection sei)

Definition at line 517 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIDisplayOrientation ( SEIDisplayOrientation sei)

Definition at line 93 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIErp ( SEIEquirectangularProjection sei)

Definition at line 456 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIFramePacking ( SEIFramePacking sei,
Int  currPicNum 
)

Definition at line 57 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIGreenMetadataInfo ( SEIGreenMetadataInfo sei,
UInt  u 
)

Definition at line 1207 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIKneeFunctionInfo ( SEIKneeFunctionInfo sei)

Definition at line 389 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIOmniViewport ( SEIOmniViewport sei)

Definition at line 490 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIRecoveryPoint ( SEIRecoveryPoint sei,
TComSlice slice 
)

Definition at line 278 of file SEIEncoder.cpp.

Bool SEIEncoder::initSEIRegionalNesting ( SEIRegionalNesting sei,
Int  currPOC 
)

Definition at line 1001 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIRegionWisePacking ( SEIRegionWisePacking sei)

Definition at line 527 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIScalableNesting ( SEIScalableNesting scalableNestingSEI,
SEIMessages nestedSEIs 
)

initialize scalable nesting SEI message. Note: The SEI message structures input into this function will become part of the scalable nesting SEI and will be automatically freed, when the nesting SEI is disposed.

Definition at line 258 of file SEIEncoder.cpp.

Void SEIEncoder::initSEISegmentedRectFramePacking ( SEISegmentedRectFramePacking sei)

Definition at line 83 of file SEIEncoder.cpp.

Void SEIEncoder::initSEISOPDescription ( SEISOPDescription sei,
TComSlice slice,
Int  picInGOP,
Int  lastIdr,
Int  currGOPSize 
)

Definition at line 194 of file SEIEncoder.cpp.

Void SEIEncoder::initSEISphereRotation ( SEISphereRotation sei)

Definition at line 475 of file SEIEncoder.cpp.

Void SEIEncoder::initSEITempMotionConstrainedTileSets ( SEITempMotionConstrainedTileSets sei,
const TComPPS pps 
)

Definition at line 340 of file SEIEncoder.cpp.

Void SEIEncoder::initSEITimeCode ( SEITimeCode sei)

Definition at line 1187 of file SEIEncoder.cpp.

Void SEIEncoder::initSEIToneMappingInfo ( SEIToneMappingInfo sei)

Definition at line 104 of file SEIEncoder.cpp.

Void SEIEncoder::initTemporalLevel0IndexSEI ( SEITemporalLevel0Index sei,
TComSlice slice 
)

Definition at line 321 of file SEIEncoder.cpp.

Void TEncSbac::load ( const TEncSbac pSrc)

Definition at line 396 of file TEncSbac.cpp.

Void TEncSbac::loadContexts ( const TEncSbac pSrc)

Definition at line 1978 of file TEncSbac.cpp.

Void TEncSbac::loadIntraDirMode ( const TEncSbac pScr,
const ChannelType  chType 
)

Definition at line 401 of file TEncSbac.cpp.

static Void offsetSubTUCBFs ( TComTU rTu,
const ComponentID  compID 
)
static

Definition at line 77 of file TEncSearch.cpp.

static Void printHash ( const HashType  hashType,
const std::string &  digestStr 
)
static

Definition at line 1121 of file TEncGOP.cpp.

Void SEIEncoder::readChromaResamplingFilterHintSEI ( std::istream &  fic,
SEIChromaResamplingFilterHint seiChromaResamplingFilterHint,
Bool failed 
)

Definition at line 935 of file SEIEncoder.cpp.

Void SEIEncoder::readColourRemapSEI ( std::istream &  fic,
SEIColourRemappingInfo seiColorRemappingInfo,
Bool failed 
)

Definition at line 845 of file SEIEncoder.cpp.

Void SEIEncoder::readContentColourVolumeSEI ( std::istream &  fic,
SEIContentColourVolume seiContentColourVolume,
Bool failed 
)

Definition at line 962 of file SEIEncoder.cpp.

Void SEIEncoder::readKneeFunctionInfoSEI ( std::istream &  fic,
SEIKneeFunctionInfo seiKneeFunctionInfo,
Bool failed 
)

Definition at line 948 of file SEIEncoder.cpp.

Void SEIEncoder::readRNSEIWindow ( std::istream &  fic,
RNSEIWindowVec::iterator  regionIter,
Bool failed 
)

Definition at line 837 of file SEIEncoder.cpp.

Void SEIEncoder::readToneMappingInfoSEI ( std::istream &  fic,
SEIToneMappingInfo seiToneMappingInfo,
Bool failed 
)

Definition at line 906 of file SEIEncoder.cpp.

Void TEncBinCABAC::resetBac ( )
virtual

Reset BAC register and counter values.

Returns
Void

Implements TEncBinIf.

Definition at line 123 of file TEncBinCoderCABAC.cpp.

Void TEncBinCABAC::resetBits ( )
virtual

Implements TEncBinIf.

Definition at line 161 of file TEncBinCoderCABAC.cpp.

Void TEncSbac::resetEntropy ( const TComSlice pSlice)
virtual

Implements TEncEntropyIf.

Definition at line 105 of file TEncSbac.cpp.

Void TEncEntropy::setEntropyCoder ( TEncEntropyIf e)

Definition at line 51 of file TEncEntropy.cpp.

Void TEncBinCABAC::start ( )
virtual

Implements TEncBinIf.

Definition at line 69 of file TEncBinCoderCABAC.cpp.

Void TEncSbac::store ( TEncSbac pDest) const

Definition at line 415 of file TEncSbac.cpp.

TEncBinCABAC::TEncBinCABAC ( )

Definition at line 46 of file TEncBinCoderCABAC.cpp.

TEncBinCABACCounter::TEncBinCABACCounter ( )

Definition at line 49 of file TEncBinCoderCABACCounter.cpp.

TEncPreanalyzer::TEncPreanalyzer ( )

Constructor

Definition at line 50 of file TEncPreanalyzer.cpp.

TEncQPAdaptationUnit::TEncQPAdaptationUnit ( )

Constructor

Definition at line 45 of file TEncPic.cpp.

TEncSbac::TEncSbac ( )

Definition at line 57 of file TEncSbac.cpp.

TEncSlice::TEncSlice ( )

Definition at line 49 of file TEncSlice.cpp.

TEncTop::TEncTop ( )

Definition at line 53 of file TEncTop.cpp.

Void TEncBinCABAC::testAndWriteOut ( )
protected

Definition at line 401 of file TEncBinCoderCABAC.cpp.

Void TEncBinCABAC::uninit ( )
virtual

Implements TEncBinIf.

Definition at line 64 of file TEncBinCoderCABAC.cpp.

Void write ( ostream &  out,
OutputNALUnit nalu 
)

write nalu to bytestream out, performing RBSP anti startcode emulation as required. nalu.m_RBSPayload must be byte aligned.

Definition at line 64 of file NALwrite.cpp.

static std::vector<UInt> writeAnnexB ( std::ostream &  out,
const AccessUnit au 
)
static

write all NALunits in au to bytestream out in a manner satisfying AnnexB of AVC. NALunits are written in the order they are found in au. the zero_byte word is appended to:

  • the initial startcode in the access unit,
  • any SPS/PPS nal units

Definition at line 53 of file AnnexBwrite.h.

Void writeNalUnitHeader ( ostream &  out,
OutputNALUnit nalu 
)

Definition at line 49 of file NALwrite.cpp.

Void TEncBinCABAC::writeOut ( )
protected

Move bits from register into bitstream.

Definition at line 412 of file TEncBinCoderCABAC.cpp.

Void TEncSbac::xCopyContextsFrom ( const TEncSbac pSrc)
private
  • Initialize our context information from the nominated source.
Parameters
pSrcFrom where to copy context information.

Definition at line 1972 of file TEncSbac.cpp.

Void TEncSbac::xCopyFrom ( const TEncSbac pSrc)
private

Definition at line 421 of file TEncSbac.cpp.

Void TEncEntropy::xEncodeTransform ( Bool bCodeDQP,
Bool codeChromaQpAdj,
TComTU rTu 
)
private

Definition at line 200 of file TEncEntropy.cpp.

Void TEncPreanalyzer::xPreanalyze ( TEncPic pcEPic)

Analyze source picture and compute local image characteristics used for QP adaptation

Parameters
pcEPicPicture object to be analyzed
Returns
Void

Definition at line 64 of file TEncPreanalyzer.cpp.

Double xRoundIbdi ( Int  bitDepth,
Double  x 
)
inline

Definition at line 54 of file TEncSampleAdaptiveOffset.cpp.

Double xRoundIbdi2 ( Int  bitDepth,
Double  x 
)
inline

rounding with IBDI

Definition at line 49 of file TEncSampleAdaptiveOffset.cpp.

Void SyntaxElementWriter::xWriteCode ( UInt  uiCode,
UInt  uiLength 
)
protected

Definition at line 128 of file SyntaxElementWriter.cpp.

Void TEncSbac::xWriteCoefRemainExGolomb ( UInt  symbol,
UInt rParam,
const Bool  useLimitedPrefixLength,
const Int  maxLog2TrDynamicRange 
)
private

Coding of coeff_abs_level_minus3

Parameters
symbolvalue of coeff_abs_level_minus3
rParamreference to Rice parameter
useLimitedPrefixLength
maxLog2TrDynamicRange

Definition at line 337 of file TEncSbac.cpp.

Void TEncSbac::xWriteEpExGolomb ( UInt  uiSymbol,
UInt  uiCount 
)
private

Definition at line 308 of file TEncSbac.cpp.

Void SyntaxElementWriter::xWriteFlag ( UInt  uiCode)
protected

Definition at line 159 of file SyntaxElementWriter.cpp.

Void TEncBinCABAC::xWritePCMCode ( UInt  uiCode,
UInt  uiLength 
)
virtual

Write a PCM code.

Parameters
uiCodecode value
uiLengthcode bit-depth
Returns
Void

Implements TEncBinIf.

Definition at line 143 of file TEncBinCoderCABAC.cpp.

Void SyntaxElementWriter::xWriteRbspTrailingBits ( )
protected

Definition at line 164 of file SyntaxElementWriter.cpp.

Void SyntaxElementWriter::xWriteSCode ( Int  iCode,
UInt  uiLength 
)
protected

Definition at line 112 of file SyntaxElementWriter.cpp.

Void SEIWriter::xWriteSEIpayloadData ( TComBitIf bs,
const SEI sei,
const TComSPS sps 
)
protected

Definition at line 56 of file SEIwrite.cpp.

Void SyntaxElementWriter::xWriteSvlc ( Int  iCode)
protected

Definition at line 151 of file SyntaxElementWriter.cpp.

Void TEncSbac::xWriteUnaryMaxSymbol ( UInt  uiSymbol,
ContextModel pcSCModel,
Int  iOffset,
UInt  uiMaxSymbol 
)
private

Definition at line 280 of file TEncSbac.cpp.

Void TEncSbac::xWriteUnarySymbol ( UInt  uiSymbol,
ContextModel pcSCModel,
Int  iOffset 
)
private

Definition at line 263 of file TEncSbac.cpp.

Void SyntaxElementWriter::xWriteUvlc ( UInt  uiCode)
protected

Definition at line 134 of file SyntaxElementWriter.cpp.

TEncBinCABAC::~TEncBinCABAC ( )
virtual

Definition at line 55 of file TEncBinCoderCABAC.cpp.

TEncBinCABACCounter::~TEncBinCABACCounter ( )
virtual

Definition at line 53 of file TEncBinCoderCABACCounter.cpp.

TEncPreanalyzer::~TEncPreanalyzer ( )
virtual

Destructor

Definition at line 56 of file TEncPreanalyzer.cpp.

TEncQPAdaptationUnit::~TEncQPAdaptationUnit ( )

Destructor

Definition at line 52 of file TEncPic.cpp.

TEncSbac::~TEncSbac ( )
virtual

Definition at line 97 of file TEncSbac.cpp.

Variable Documentation

const UChar emulation_prevention_three_byte[] = {3}
static

Definition at line 47 of file NALwrite.cpp.

const Int g_RCInvalidQPValue = -999

Definition at line 61 of file TEncRateCtrl.h.

const TComMv s_acMvRefineH[9]
static
Initial value:
=
{
TComMv( 0, 0 ),
TComMv( 0, -1 ),
TComMv( 0, 1 ),
TComMv( -1, 0 ),
TComMv( 1, 0 ),
TComMv( -1, -1 ),
TComMv( 1, -1 ),
TComMv( -1, 1 ),
TComMv( 1, 1 )
}
basic motion vector class
Definition: TComMv.h:51

Definition at line 51 of file TEncSearch.cpp.

const TComMv s_acMvRefineQ[9]
static
Initial value:
=
{
TComMv( 0, 0 ),
TComMv( 0, -1 ),
TComMv( 0, 1 ),
TComMv( -1, -1 ),
TComMv( 1, -1 ),
TComMv( -1, 0 ),
TComMv( 1, 0 ),
TComMv( -1, 1 ),
TComMv( 1, 1 )
}
basic motion vector class
Definition: TComMv.h:51

Definition at line 64 of file TEncSearch.cpp.