810 #if O0043_BEST_EFFORT_DECODING
811 UInt m_forceDecodeBitDepth;
817 #if O0043_BEST_EFFORT_DECODING
818 Void setForceDecodeBitDepth(
UInt bitDepth) { m_forceDecodeBitDepth = bitDepth; }
819 UInt getForceDecodeBitDepth()
const {
return m_forceDecodeBitDepth; }
896 #if O0043_BEST_EFFORT_DECODING
1245 #if ADAPTIVE_QP_SELECTION
1359 #if ADAPTIVE_QP_SELECTION
1399 #if ADAPTIVE_QP_SELECTION
1434 if (iRefIdx1 < 0 || iRefIdx2 < 0)
1568 delete (*i).second.pNaluData;
1569 delete (*i).second.parameterSet;
1634 const typename std::map<Int,MapData<T> >::const_iterator constit=
m_paramsetMap.find(psId);
1637 return constit->second.bChanged;
1644 typename std::map<Int,MapData<T> >::iterator it=
m_paramsetMap.find(psId);
1650 typename std::map<Int,MapData<T> >::const_iterator it=
m_paramsetMap.find(psId);
1719 #endif // __TCOMSLICE__
Bool getPCMFilterDisableFlag() const
UInt m_refMatrixId[SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]
RefMatrixID.
Bool m_profileCompatibilityFlag[32]
Bool getOnePictureOnlyConstraintFlag() const
Void setNumTileColumnsMinus1(Int i)
Int getNumberOfPositivePictures() const
Bool m_bIsUsedAsLongTerm[NUM_REF_PIC_LIST_01][MAX_NUM_REF+1]
Void setColourDescriptionPresentFlag(Bool i)
Bool getNalHrdParametersPresentFlag() const
Bool isEqualRef(RefPicList e, Int iRefIdx1, Int iRefIdx2)
Int getNumTileRowsMinus1() const
Bool getPicOutputFlag() const
static const Int MAX_NUM_REF_PICS
max. number of pictures used for reference
Bool getCrossComponentPredictionEnabledFlag() const
Void setSliceSegmentCurEndCtuTsAddr(UInt ctuTsAddr)
const TComReferencePictureSet * m_pRPS
HrdSubLayerInfo m_HRD[MAX_TLAYER]
Void setSliceSegmentMode(SliceConstraint mode)
Bool isStepwiseTemporalLayerSwitchingPointCandidate(TComList< TComPic * > &rcListPic)
Void setNoOutputPriorPicsFlag(Bool val)
Void setMaxTotalCUDepth(UInt u)
Int getPicInitQPMinus26() const
Void setTransformSkipRotationEnabledFlag(const Bool value)
UInt getDuCpbRemovalDelayLengthMinus1() const
Void checkPredMode(UInt sizeId, UInt listId)
virtual ~ParameterSetManager()
static const Int SCALING_LIST_NUM
list number for quantization matrix
std::vector< Int > m_tileRowHeight
Void setUsed(Int bufferNum, Bool used)
Int m_deblockingFilterTcOffsetDiv2
Void setQuadtreeTULog2MaxSize(UInt u)
Void clearSubstreamSizes()
UInt getMaxNuhReservedZeroLayerId() const
SliceType
supported slice type
Bool getFixedPicRateFlag(Int layer) const
Bool getVclHrdParametersPresentFlag() const
Void decodingMarking(TComList< TComPic * > &rcListPic, Int iGOPSIze, Int &iMaxRefPicNum)
UInt getMaxLatencyIncrease(UInt tLayer) const
Bool m_subLayerLevelPresentFlag[MAX_TLAYER-1]
Bool m_progressiveSourceFlag
UInt m_cpbRemovalDelayLengthMinus1
Bool getPersistentRiceAdaptationEnabledFlag() const
Void setVideoSignalTypePresentFlag(Bool i)
Bool getSPSTemporalMVPEnabledFlag() const
Void setDeblockingFilterTcOffsetDiv2(Int i)
Bool m_hrdParametersPresentFlag
Int getLog2MinCodingBlockSize() const
Bool testWeightBiPred() const
Bool getUsedByCurrPicLtSPSFlag(Int i) const
Int m_numberOfLongtermPictures
Bool getUseStrongIntraSmoothing() const
Int getDeltaPocMSBCycleLT(Int i) const
UInt getMaxTLayers() const
TComPPSRExt m_ppsRangeExtension
Void setMaxCUHeight(UInt u)
Int * getScalingListAddress(UInt sizeId, UInt listId)
get matrix coefficient
Void setColRefIdx(UInt refIdx)
Void getWpAcDcParam(WPACDCParam *&wp)
get AC and DC values for weighted pred
SliceType getSliceType() const
Void setDependentSliceSegmentFlag(Bool val)
Int m_iPPSId
picture parameter set ID
Int m_aiRefPOCList[NUM_REF_PIC_LIST_01][MAX_NUM_REF+1]
Void setColFromL0Flag(Bool colFromL0)
Void setFixedPicRateFlag(Int layer, Bool flag)
Bool m_motionVectorsOverPicBoundariesFlag
UInt getCpbSizeValueMinus1(Int layer, Int cpbcnt, Int nalOrVcl) const
Bool getVideoFullRangeFlag() const
Bool getTemporalLayerNonReferenceFlag()
static Void setID(T *parameterSet, const Int psId)
Void setRefPicSetIdxL0(UInt idx, UInt refPicSetIdx)
Int getNumTileColumnsMinus1() const
Bool checkDefaultScalingList()
UInt getHrdOpSetIdx(UInt i) const
Bool getPPSChangedFlag(Int ppsId) const
Void printDeltaPOC() const
Void processRefMatrix(UInt sizeId, UInt listId, UInt refListId)
Void setMatrixCoefficients(Int i)
SliceConstraint getSliceMode() const
picture class (symbol + YUV buffers)
Bool m_dependentSliceSegmentsEnabledFlag
Indicates the presence of dependent slices.
TComPic * xGetLongTermRefPic(TComList< TComPic * > &rcListPic, Int poc, Bool pocHasMsb)
Void setTierFlag(Level::Tier x)
UInt getSubstreamSize(Int idx)
Defines version information, constants and small in-line functions.
Bool getCprmsPresentFlag(UInt i) const
const Window & getConformanceWindow() const
Void setVideoFullRangeFlag(Bool i)
Void setRefPicSetIdxL1(UInt idx, UInt refPicSetIdx)
Void setDuCpbSizeScale(UInt value)
Void setScalingListPredModeFlag(UInt sizeId, UInt listId, Bool bIsDPCM)
Int getUsed(Int bufferNum) const
Int getPocLSBLT(Int i) const
Void setNumberOfNegativePictures(Int number)
Int getNumTicksPocDiffOneMinus1() const
const TComPPSRExt & getPpsRangeExtension() const
Bool getLayerIdIncludedFlag(UInt opsIdx, UInt id) const
Bool getTransformSkipContextEnabledFlag() const
Int m_minSpatialSegmentationIdc
Bool m_videoFullRangeFlag
Bool getSliceChromaQpFlag() const
Void setMinSpatialSegmentationIdc(Int i)
TComScalingList m_scalingList
const TComSPSRExt & getSpsRangeExtension() const
Void setWpScaling(WPScalingParam wp[NUM_REF_PIC_LIST_01][MAX_NUM_REF][MAX_NUM_COMPONENT])
Void setTransquantBypassEnabledFlag(Bool b)
UInt getTimeScale() const
Void setDependentSliceSegmentsEnabledFlag(Bool val)
Void setMaxCUWidth(UInt u)
Void setDeblockingFilterBetaOffsetDiv2(Int i)
Void clearChangedFlag(Int psId)
global variables & functions (header)
UInt getBitDepthConstraint() const
Void setScalingListPresentFlag(Bool b)
NalUnitType getAssociatedIRAPType() const
Bool getNeutralChromaIndicationFlag() const
const Int * getScalingListDefaultAddress(UInt sizeId, UInt listId)
get default matrix coefficient
UInt m_numLongTermRefPicSPS
Void setSubLayerProfilePresentFlag(Int i, Bool x)
Void setChromaSampleLocTypeTopField(Int i)
Void setEnableTMVPFlag(Bool b)
Bool m_bUseWeightPred
Use of Weighting Prediction (P_SLICE)
Bool m_useWeightedBiPred
Use of Weighting Bi-Prediction (B_SLICE)
Int getNumExtraSliceHeaderBits() const
Bool m_frameFieldInfoPresentFlag
UInt getBitsForPOC() const
Void setCabacInitPresentFlag(Bool flag)
Void copySliceInfo(TComSlice *pcSliceSrc)
Int m_chromaQpOffsetListLen
Void addSubstreamSize(UInt size)
Void storePS(Int psId, T *ps, const std::vector< UChar > *pNaluData)
SliceConstraint m_sliceSegmentMode
const ChromaQpAdj & getChromaQpOffsetListEntry(Int cuChromaQpOffsetIdxPlus1) const
Void setPCMFilterDisableFlag(Bool bValue)
Void setFrameOnlyConstraintFlag(Bool b)
Bool getUseChromaQpAdj() const
UInt m_log2SaoOffsetScale[MAX_NUM_CHANNEL_TYPE]
Bool m_PicOutputFlag
pic_output_flag
Int m_scalingListDC[SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]
the DC value of the matrix coefficient for 16x16
Bool m_bCheckLTMSB[MAX_NUM_REF_PICS]
Int m_numTicksPocDiffOneMinus1
Bool getCabacInitPresentFlag() const
Void setPersistentRiceAdaptationEnabledFlag(const Bool value)
UInt getNumHrdParameters() const
const TimingInfo * getTimingInfo() const
Void clearVPSChangedFlag(Int vpsId)
Bool getScalingListPresentFlag() const
Void setIsUsedAsLongTerm(Int i, Int j, Bool value)
Void setDuCpbSizeValueMinus1(Int layer, Int cpbcnt, Int nalOrVcl, UInt value)
SliceConstraint getSliceSegmentMode() const
Bool getHrdParametersPresentFlag() const
Bool m_lowerBitRateConstraintFlag
Void setSaoEnabledFlag(ChannelType chType, Bool s)
Void setDeltaPOC(Int bufferNum, Int deltaPOC)
Bool m_usedByCurrPicLtSPSFlag[MAX_NUM_LONG_TERM_REF_PICS]
Void setCprmsPresentFlag(Bool val, UInt i)
Void setDiffCuChromaQpOffsetDepth(UInt u)
Bool getMvdL1ZeroFlag() const
Void setMaxBytesPerPicDenom(Int i)
Bool m_listsModificationPresentFlag
static Int getWinUnitY(Int chromaFormatIdc)
Void clearSPSChangedFlag(Int spsId)
Bool m_handleCraAsBlaFlag
TComScalingList m_scalingList
ScalingList class.
Bool m_OutputFlagPresentFlag
Indicates the presence of output_flag in slice header.
UInt m_numRefIdxL1DefaultActive
std::vector< Bool > m_cprmsPresentFlag
ParameterSetMap(Int maxId)
Int m_chromaSampleLocTypeBottomField
const ProfileTierLevel * getSubLayerPTL(Int i) const
Void setLowerBitRateConstraintFlag(Bool b)
Bool isReferenced() const
ProfileTierLevel m_subLayerPTL[MAX_TLAYER-1]
Void setMaxBitsPerMinCuDenom(Int i)
Void setMaxCuDQPDepth(UInt u)
Void setQuadtreeTUMaxDepthInter(UInt u)
Bool m_highPrecisionOffsetsEnabledFlag
Void setLtRefPicPocLsbSps(UInt index, UInt val)
Void setQpOffset(ComponentID compID, Int i)
Void clearPPSChangedFlag(Int ppsId)
Void setNalUnitType(NalUnitType e)
Int getMaxBytesPerPicDenom() const
UInt getPCMLog2MaxSize() const
Void setNumHrdParameters(UInt v)
Bool getRestrictedRefPicListsFlag() const
Int getMaxBitsPerMinCuDenom() const
Void setRefPOC(Int i, RefPicList e, Int iRefIdx)
const TComRPSList * getRPSList() const
Bool getNonPackedConstraintFlag() const
Void setTransformSkipContextEnabledFlag(const Bool value)
Int m_deblockingFilterTcOffsetDiv2
Int getDeblockingFilterBetaOffsetDiv2() const
Void setPicHeightInLumaSamples(UInt u)
UInt getMaxCUHeight() const
Void setPPS(const TComPPS *pcPPS)
Void setCpbRemovalDelayLengthMinus1(UInt value)
Int m_numberOfNegativePictures
Bool m_dependentSliceSegmentFlag
Bool getLowDelayHrdFlag(Int layer) const
UInt getMaxDecPicBuffering(UInt tlayer) const
Bool getNoRaslOutputFlag() const
Int getLog2MaxMvLengthVertical() const
Void setNumReorderPics(Int i, UInt tlayer)
const TComPic * getPic() const
TComPic * m_apcRefPicList[NUM_REF_PIC_LIST_01][MAX_NUM_REF+1]
UInt getDuCpbSizeValueMinus1(Int layer, Int cpbcnt, Int nalOrVcl) const
Int getTransferCharacteristics() const
TComRefPicListModification * getRefPicListModification()
Bool isTemporalLayerSwitchingPoint(TComList< TComPic * > &rcListPic)
Bool getPPSDeblockingFilterDisabledFlag() const
get offset for deblocking filter disabled
Bool xParseScalingList(const std::string &fileName)
TComSPSRExt & getSpsRangeExtension()
Void setSliceCurStartCtuTsAddr(UInt ctuTsAddr)
std::vector< TComReferencePictureSet > m_referencePictureSets
Void setChromaFormatConstraint(ChromaFormat fmt)
Reference Picture Lists class.
Bool m_subPicCpbParamsInPicTimingSEIFlag
Window & getDefaultDisplayWindow()
Void setMaxLatencyIncreasePlus1(UInt ui, UInt tlayer)
TComPic * xGetRefPic(TComList< TComPic * > &rcListPic, Int poc)
Int m_numberOfPositivePictures
Void setAssociatedIRAPPOC(Int iAssociatedIRAPPOC)
UInt getLog2MaxTransformSkipBlockSize() const
Int getDeblockingFilterTcOffsetDiv2() const
Bool getHandleCraAsBlaFlag() const
Bool settingsDifferFromDefaults() const
static const Int MAX_NUM_REF
max. number of entries in picture reference list
ChromaFormat getChromaFormatIdc() const
virtual ~TComReferencePictureSet()
Int getScalingListDC(UInt sizeId, UInt listId) const
get DC value
Void setNumReorderPics(UInt v, UInt tLayer)
Void setChromaSampleLocTypeBottomField(Int i)
Void setRPS(const TComReferencePictureSet *pcRPS)
UInt m_ltRefPicPocLsbSps[MAX_NUM_LONG_TERM_REF_PICS]
Int m_log2MaxMvLengthHorizontal
Void setCrossComponentPredictionEnabledFlag(Bool value)
Int recon[MAX_NUM_CHANNEL_TYPE]
the bit depth as indicated in the SPS
Void setMaxLayers(UInt l)
Bool getMotionVectorsOverPicBoundariesFlag() const
Bool m_LFCrossSliceBoundaryFlag
Bool getTransquantBypassEnabledFlag() const
Int getChromaQpOffsetListLen() const
Int getNumRefIdx(RefPicList e) const
Void setEntropyCodingSyncEnabledFlag(Bool val)
Level::Tier getTierFlag() const
Void resetWpScaling()
reset Default WP tables settings : no weight.
Void setIntraConstraintFlag(Bool b)
static const Int MAX_CPB_CNT
Upper bound of (cpb_cnt_minus1 + 1)
ProfileTierLevel * getSubLayerPTL(Int i)
Bool m_intraConstraintFlag
Int getChromaSampleLocTypeBottomField() const
Void setLastIDR(Int iIDRPOC)
Void setTimeScale(UInt value)
UInt getTileRowHeight(UInt rowIdx) const
Void setNalHrdParametersPresentFlag(Bool flag)
UInt m_sliceCurStartCtuTsAddr
Bool getSubLayerProfilePresentFlag(Int i) const
Bool getRefPicListModificationFlagL1() const
Bool getFrameOnlyConstraintFlag() const
Bool getSaoEnabledFlag(ChannelType chType) const
std::vector< UInt > m_hrdOpSetIdx
Void setRefPicListModificationFlagL1(Bool flag)
Bool getLongTermRefsPresent() const
Bool getInterlacedSourceFlag() const
Void setBitsForPOC(UInt u)
Bool m_frameOnlyConstraintFlag
Void setChromaFormatIdc(ChromaFormat i)
Void setEncCABACTableIdx(SliceType idx)
Void setCpbSizeScale(UInt value)
const TComPic * getRefPic(RefPicList e, Int iRefIdx) const
UInt getMaxTrSize() const
Bool getSignDataHidingEnabledFlag() const
Void setTileUniformSpacingFlag(Bool b)
Void storePPS(TComPPS *pps, const std::vector< UChar > &naluData)
store picture parameter set and take ownership of it
TComVUI * getVuiParameters()
UInt getDiffCuChromaQpOffsetDepth() const
Void setFieldSeqFlag(Bool i)
Void setSliceBits(UInt uiVal)
std::map< Int, MapData< T > > m_paramsetMap
Void setUsedByCurrPicLtSPSFlag(Int i, Bool x)
Void setDuCpbRemovalDelayLengthMinus1(UInt value)
Bool m_deltaPocMSBPresentFlag[MAX_NUM_REF_PICS]
Void setLog2MaxMvLengthVertical(Int i)
Void setSliceSegmentArgument(UInt uiArgument)
Bool getTilesEnabledFlag() const
Void setLFCrossSliceBoundaryFlag(Bool val)
Bool m_signDataHidingEnabledFlag
Bool m_bPCMFilterDisableFlag
Bool m_deblockingFilterDisable
static const Int MAX_VPS_OP_SETS_PLUS1
Void setRestrictedRefPicListsFlag(Bool b)
Void setInterRPSPrediction(Bool flag)
TComRefPicListModification m_RefPicListModification
Int getRefIdc(Int bufferNum) const
get the reference idc value at uiBufferNum
Void setAspectRatioIdc(Int i)
Void setSignDataHidingEnabledFlag(Bool b)
Bool m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1]
Void setList1IdxToList0Idx()
Int m_numExtraSliceHeaderBits
Void setRefPicListModificationFlagL0(Bool flag)
Int m_POC[MAX_NUM_REF_PICS]
ParameterSetMap< TComVPS > m_vpsMap
std::vector< Int > m_scalingListCoef[SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]
quantization matrix
Void setHandleCraAsBlaFlag(Bool val)
Int getDeltaRIdxMinus1() const
WPScalingParam m_weightPredTable[NUM_REF_PIC_LIST_01][MAX_NUM_REF][MAX_NUM_COMPONENT]
UInt getMaxTotalCUDepth() const
UInt getLtRefPicPocLsbSps(UInt index) const
Bool m_refPicListModificationFlagL1
Double m_lambdas[MAX_NUM_COMPONENT]
Bool getFieldSeqFlag() const
Bool getDependentSliceSegmentFlag() const
Void setPOC(Int bufferNum, Int deltaPOC)
Void setLog2DiffMaxMinCodingBlockSize(Int val)
Int m_pocLSBLT[MAX_NUM_REF_PICS]
Void setSliceChromaQpFlag(Bool b)
Void setRefIdc(Int bufferNum, Int refIdc)
set the reference idc value at uiBufferNum entry to the value of iRefIdc
Bool getSPSChangedFlag(Int spsId) const
UInt m_uiQuadtreeTULog2MinSize
Void setPocProportionalToTimingFlag(Bool x)
Int m_deltaPOC[MAX_NUM_REF_PICS]
ProfileTierLevel * getGeneralPTL()
Bool getListsModificationPresentFlag() const
Bool getLoopFilterAcrossSlicesEnabledFlag() const
Bool testWeightPred() const
Int m_log2MaxTransformSkipBlockSize
Void setDeblockingFilterBetaOffsetDiv2(Int val)
set beta offset for deblocking filter
UInt m_duCpbRemovalDelayLengthMinus1
Void setNonPackedConstraintFlag(Bool b)
UInt m_log2ParallelMergeLevelMinus2
Void setMaxDecPicBuffering(UInt v, UInt tLayer)
TComVPS * getVPS(Int vpsId)
get pointer to existing video parameter set
Void setSliceType(SliceType e)
Bool m_vuiParametersPresentFlag
std::vector< UChar > * pNaluData
Void setNoRaslOutputFlag(Bool val)
UInt getNumRefIdxL1DefaultActive() const
UInt m_dpbOutputDelayLengthMinus1
Bool getTilesFixedStructureFlag() const
Void checkLeadingPictureRestrictions(TComList< TComPic * > &rcListPic)
virtual ~TComRefPicListModification()
Bool m_bTemporalIdNestingFlag
Void storeVPS(TComVPS *vps, const std::vector< UChar > &naluData)
store sequence parameter set and take ownership of it
Void setTileColumnWidth(const std::vector< Int > &columnWidth)
Void setLevelIdc(Level::Name x)
Bool m_useStrongIntraSmoothing
Void setLayerIdIncludedFlag(Bool v, UInt opsIdx, UInt id)
Void setQuadtreeTULog2MinSize(UInt u)
Bool m_pocProportionalToTimingFlag
UInt getMaxOpSets() const
Void setNumberOfPositivePictures(Int number)
Void setTemporalLayerNonReferenceFlag(Bool x)
Bool m_neutralChromaIndicationFlag
ChromaFormat getChromaFormatConstraint() const
general list class (header)
std::vector< Int > m_tileColumnWidth
Void setVPS(TComVPS *pcVPS)
Void setTilesFixedStructureFlag(Bool i)
UInt getMaxNumMergeCand() const
Void setDpbOutputDelayDuLengthMinus1(UInt value)
Void clearChromaQpOffsetList()
Bool m_crossComponentPredictionEnabledFlag
Bool m_loopFilterAcrossSlicesEnabledFlag
Bool getTemporalIdNestingFlag() const
Void setMaxLatencyIncrease(UInt v, UInt tLayer)
UInt ducpbSizeValue[MAX_CPB_CNT][2]
Bool getSubLayerLevelPresentFlag(Int i) const
Bool m_rdpcmEnabledFlag[NUMBER_OF_RDPCM_SIGNALLING_MODES]
Int getMinSpatialSegmentationIdc() const
WPACDCParam m_weightACDCParam[MAX_NUM_COMPONENT]
Int getQpBDOffset(ChannelType type) const
UInt m_uiMaxDecPicBuffering[MAX_TLAYER]
TComScalingList & getScalingList()
Bool getScalingListPredModeFlag(UInt sizeId, UInt listId) const
Void setScalingListDC(UInt sizeId, UInt listId, UInt u)
set DC value
UInt m_picWidthInLumaSamples
Void setOverscanInfoPresentFlag(Bool i)
UInt getLog2SaoOffsetScale(ChannelType type) const
Bool getUseTransformSkip() const
Void setSliceSegmentBits(UInt uiVal)
const TComReferencePictureSet * getRPS()
Int m_deblockingFilterBetaOffsetDiv2
Bool m_scalingListPredModeFlagIsDPCM[SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]
reference list index
Bool m_cabacBypassAlignmentEnabledFlag
Void setLog2ParallelMergeLevelMinus2(UInt mrgLevel)
std::vector< TComHRD > m_hrdParameters
UInt m_sliceSegmentCurStartCtuTsAddr
ProfileTierLevel m_generalPTL
Bool getLowerBitRateConstraintFlag() const
Bool getSubPicCpbParamsPresentFlag() const
Void setBitRateValueMinus1(Int layer, Int cpbcnt, Int nalOrVcl, UInt value)
TComReferencePictureSet * getReferencePictureSet(Int referencePictureSetNum)
Void setVclHrdParametersPresentFlag(Bool flag)
Bool m_tilesEnabledFlag
Indicates the presence of tiles.
Bool m_overscanInfoPresentFlag
Int getAssociatedIRAPPOC() const
Void setSliceQpDelta(Int i)
Bool m_interlacedSourceFlag
Void setPicDurationInTcMinus1(Int layer, UInt value)
Void setCbrFlag(Int layer, Int cpbcnt, Int nalOrVcl, Bool value)
Bool getRefPicListModificationFlagL0() const
Bool getProgressiveSourceFlag() const
Bool m_tilesFixedStructureFlag
Void setProfileSpace(Int x)
Bool getColourDescriptionPresentFlag() const
UInt getQuadtreeTUMaxDepthIntra() const
Void setLog2MaxTransformSkipBlockSize(UInt u)
Void decodingRefreshMarking(Int &pocCRA, Bool &bRefreshPending, TComList< TComPic * > &rcListPic, const bool bEfficientFieldIRAPEnabled)
Bool m_bitstreamRestrictionFlag
UInt m_uiMaxDecPicBuffering[MAX_TLAYER]
Bool getVPSChangedFlag(Int vpsId) const
Bool getSubPicCpbParamsInPicTimingSEIFlag() const
Void setRefPic(TComPic *p, RefPicList e, Int iRefIdx)
Void setDeltaPocMSBCycleLT(Int i, Int x)
Bool getOverscanInfoPresentFlag() const
Void setColourPrimaries(Int i)
Bool m_bTLayerSwitchingFlag
UInt getCpbSizeScale() const
UInt getPicHeightInLumaSamples() const
Void setMaxTLayers(UInt uiMaxTLayers)
Bool getCbrFlag(Int layer, Int cpbcnt, Int nalOrVcl) const
Void setUseSAO(Bool bVal)
const Int * getScalingListAddress(UInt sizeId, UInt listId) const
get matrix coefficient
TimingInfo * getTimingInfo()
Void setAssociatedIRAPType(NalUnitType associatedIRAPType)
UInt getSliceBits() const
Void setDeltaPocMSBPresentFlag(Int i, Bool x)
static const UInt REF_PIC_LIST_NUM_IDX
Void storeSPS(TComSPS *sps, const std::vector< UChar > &naluData)
store sequence parameter set and take ownership of it
UInt getNumberOfSubstreamSizes()
Void setProfileCompatibilityFlag(Int i, Bool x)
Int getDeltaPOC(Int bufferNum) const
UInt getPCMLog2MinSize() const
Int m_transferCharacteristics
Void setMaxTLayers(UInt t)
Void setScalingListPresentFlag(Bool b)
Int getMatrixCoefficients() const
Void setRefPicList(TComList< TComPic * > &rcListPic, Bool checkNumPocTotalCurr=false)
Bool m_restrictedRefPicListsFlag
Int getAspectRatioIdc() const
Void setLog2MaxMvLengthHorizontal(Int i)
Bool getPocProportionalToTimingFlag() const
Void setDefaultDisplayWindow(Window &defaultDisplayWindow)
Bool getTransformSkipRotationEnabledFlag() const
Bool m_used[MAX_NUM_REF_PICS]
UInt getSliceSegmentBits() const
UInt getMaxLatencyIncreasePlus1(UInt tlayer) const
ChromaQpAdj m_ChromaQpAdjTableIncludingNullEntry[1+MAX_QP_OFFSET_LIST_SIZE]
Array includes entry [0] for the null offset used when cu_chroma_qp_offset_flag=0, and entries [cu_chroma_qp_offset_idx+1...] otherwise.
Reference Picture Set set class.
Int m_qpBDOffset[MAX_NUM_CHANNEL_TYPE]
Int getRefPOC(RefPicList e, Int iRefIdx) const
Void setTileRowHeight(const std::vector< Int > &rowHeight)
Void processDefaultMatrix(UInt sizeId, UInt listId)
Void setDepth(Int iDepth)
Bool getFrameFieldInfoPresentFlag() const
Void setHrdParametersPresentFlag(Bool i)
UInt duBitRateValue[MAX_CPB_CNT][2]
Int getBitDepth(ChannelType type) const
Bool m_timingInfoPresentFlag
Void setDeblockingFilterOverrideFlag(Bool b)
Void setNumTicksPocDiffOneMinus1(Int x)
Bool getTemporalNestingFlag() const
Bool m_ppsDeblockingFilterDisabledFlag
const T * getPS(Int psId) const
Int m_log2MinCodingBlockSize
Int m_log2DiffMaxMinCodingBlockSize
Bool getLFCrossSliceBoundaryFlag()
Void setTilesEnabledFlag(Bool val)
Int getDifferentialLumaChromaBitDepth() const
Int m_iSliceChromaQpDelta[MAX_NUM_COMPONENT]
UInt getNumLongTermRefPicSPS() const
RefPicList
reference list index
Bool m_temporalLayerNonReferenceFlag
Bool getColFromL0Flag() const
Void setSliceCurEndCtuTsAddr(UInt ctuTsAddr)
Void setUseStrongIntraSmoothing(Bool bVal)
Bool getEnableTMVPFlag() const
static Void sortPicList(TComList< TComPic * > &rcListPic)
Bool getCabacBypassAlignmentEnabledFlag() const
Int getProfileSpace() const
Void setWpAcDcParam(WPACDCParam wp[MAX_NUM_COMPONENT])
Int getSliceQpBase() const
const TComPTL * getPTL() const
Void setSliceQpBase(Int i)
Bool m_colourDescriptionPresentFlag
UInt getMaxCuDQPDepth() const
Void getWpScaling(RefPicList e, Int iRefIdx, WPScalingParam *&wp)
get tables for weighted prediction
ChromaFormat
chroma formats (according to semantics of chroma_format_idc)
Void setCheckLTMSBPresent(Int bufferNum, Bool b)
Void setScalingListFlag(Bool b)
UInt getInitialCpbRemovalDelayLengthMinus1() const
Bool getTimingInfoPresentFlag() const
Int m_maxBytesPerPicDenom
UInt getQuadtreeTULog2MinSize() const
const BitDepths & getBitDepths() const
UInt getDpbOutputDelayLengthMinus1() const
Bool getCheckLTMSBPresent(Int bufferNum) const
UInt getSliceSegmentCurStartCtuTsAddr() const
Bool m_interRPSPrediction
const TComVPS * getActiveVPS() const
Int getMaxLog2TrDynamicRange(ChannelType channelType) const
Void setTestWeightBiPred(Bool bValue)
Window m_defaultDisplayWindow
const TComHRD * getHrdParameters(UInt i) const
T * allocatePS(const Int psId)
Void setPCMBitDepth(ChannelType type, UInt u)
Bool m_transformSkipContextEnabledFlag
Bool getNoOutputPriorPicsFlag() const
Void setTestWeightPred(Bool bValue)
UInt m_numReorderPics[MAX_TLAYER]
Bool getAspectRatioInfoPresentFlag() const
Void setNumberOfPictures(Int numberOfPictures)
Void setMaxNuhReservedZeroLayerId(UInt v)
UInt getNumRefIdxL0DefaultActive() const
Bool getIsUsedAsLongTerm(Int i, Int j) const
const TComPPS * getPPS() const
Int getDeblockingFilterBetaOffsetDiv2() const
get beta offset for deblocking filter
UInt getPicWidthInLumaSamples() const
Void setQpBDOffset(ChannelType type, Int i)
Void setMaxTrSize(UInt u)
Bool m_scalingListEnabledFlag
Void setSliceChromaQpDelta(ComponentID compID, Int i)
Void setMaxNumMergeCand(UInt val)
Bool getIdrPicFlag() const
Void setExtendedPrecisionProcessingFlag(Bool value)
Void setCpbCntMinus1(Int layer, UInt value)
Bool m_persistentRiceAdaptationEnabledFlag
Int getLog2MaxMvLengthHorizontal() const
UInt getTileColumnWidth(UInt columnIdx) const
Profile::Name getProfileIdc() const
Int getSliceQpDelta() const
Bool getUseWeightedPrediction() const
Bool m_nalHrdParametersPresentFlag
Bool m_deblockingFilterOverrideFlag
Level::Name getLevelIdc() const
UInt getSliceArgument() const
Bool m_uniformSpacingFlag
UInt m_bitDepthConstraintValue
UInt getSliceSegmentArgument() const
Bool getProfileCompatibilityFlag(Int i) const
Void setRPSidx(Int rpsIdx)
Bool getIntraSmoothingDisabledFlag() const
Bool getScalingListPresentFlag() const
Bool m_bLongTermRefsPresent
Void setProfileIdc(Profile::Name x)
Void initWpScaling(const TComSPS *sps)
init WP table
Void setConformanceWindow(Window &conformanceWindow)
Void setHighPrecisionOffsetsEnabledFlag(Bool value)
Void checkCRA(const TComReferencePictureSet *pReferencePictureSet, Int &pocCRA, NalUnitType &associatedIRAPType, TComList< TComPic * > &rcListPic)
Void setFrameFieldInfoPresentFlag(Bool i)
const Window & getDefaultDisplayWindow() const
Void initWpAcDcParam()
init AC and DC values for weighted pred
Void setPCMLog2MinSize(UInt u)
UInt getMaxLayers() const
Bool m_cabacInitPresentFlag
Bool m_refPicListModificationFlagL0
Profile::Name m_profileIdc
Bool getDeblockingFilterControlPresentFlag() const
Void setAspectRatioInfoPresentFlag(Bool i)
Bool getEntropyCodingSyncEnabledFlag() const
Int m_numTileColumnsMinus1
Void setSPSTemporalMVPEnabledFlag(Bool b)
TimingInfo * getTimingInfo()
Void setListsModificationPresentFlag(Bool b)
Void setHrdOpSetIdx(UInt val, UInt i)
Int getLog2DiffMaxMinCodingBlockSize() const
Int m_deltaPOCMSBCycleLT[MAX_NUM_REF_PICS]
static const Int MAX_TLAYER
Explicit temporal layer QP offset - max number of temporal layer.
Void setEqualRef(RefPicList e, Int iRefIdx1, Int iRefIdx2, Bool b)
UInt getSliceCurStartCtuTsAddr() const
const TComVPS * getVPS() const
Void setMaxDecPicBuffering(UInt ui, UInt tlayer)
virtual ~TComScalingList()
Bool getVideoSignalTypePresentFlag() const
Void setProgressiveSourceFlag(Bool b)
UInt getCpbRemovalDelayLengthMinus1() const
Int m_list1IdxToList0Idx[MAX_NUM_REF]
Bool m_deblockingFilterOverrideEnabledFlag
UInt bitRateValueMinus1[MAX_CPB_CNT][2]
const TComPTL * getPTL() const
Bool m_deblockingFilterControlPresentFlag
Bool getScalingListFlag() const
const TComSPS * getActiveSPS() const
ParameterSetMap< TComSPS > m_spsMap
Void setLongTermRefsPresent(Bool b)
Void setOnePictureOnlyConstraintFlag(Bool b)
Bool getFinalized() const
ParameterSetMap< TComPPS > m_ppsMap
Void setDpbOutputDelayLengthMinus1(UInt value)
Void setPocLSBLT(Int i, Int x)
Void setCabacInitFlag(Bool val)
set CABAC initial flag
UInt m_uiMaxLatencyIncrease[MAX_TLAYER]
Int getVideoFormat() const
Void setNumTileRowsMinus1(Int i)
Int getNumberOfReferencePictureSets() const
Bool m_vclHrdParametersPresentFlag
Void setInterlacedSourceFlag(Bool b)
Void setNumRefIdxL1DefaultActive(UInt ui)
UInt getDpbOutputDelayDuLengthMinus1() const
Void setSubPicCpbParamsInPicTimingSEIFlag(Bool flag)
Void setNumUnitsInTick(UInt value)
std::vector< UInt > m_substreamSizes
Bool m_abEqualRef[NUM_REF_PIC_LIST_01][MAX_NUM_REF][MAX_NUM_REF]
const ProfileTierLevel * getGeneralPTL() const
Void setQuadtreeTUMaxDepthIntra(UInt u)
Bool m_SPSTemporalMVPEnabledFlag
Int getColourPrimaries() const
UInt m_picHeightInLumaSamples
Bool getFixedPicRateWithinCvsFlag(Int layer) const
Void setBitstreamRestrictionFlag(Bool i)
Int getList1IdxToList0Idx(Int list1Idx) const
TComPPS * getPPS(Int ppsId)
get pointer to existing picture parameter set
Void createHrdParamBuffer()
Void setSliceMode(SliceConstraint mode)
Int m_diffCuChromaQpOffsetDepth
Void setChromaLocInfoPresentFlag(Bool i)
Void setMotionVectorsOverPicBoundariesFlag(Bool i)
Void setCpbSizeValueMinus1(Int layer, Int cpbcnt, Int nalOrVcl, UInt value)
Void setTransferCharacteristics(Int i)
UInt m_uiQuadtreeTUMaxDepthInter
TComReferencePictureSet()
Bool getCpbDpbDelaysPresentFlag() const
Bool isReferenceNalu() const
Int getNumberOfNegativePictures() const
Bool m_aspectRatioInfoPresentFlag
Bool m_scalingListPresentFlag
Bool m_transformSkipRotationEnabledFlag
SliceType getEncCABACTableIdx() const
const TComVUI * getVuiParameters() const
Bool getRdpcmEnabledFlag(const RDPCMSignallingMode signallingMode) const
Void setLoopFilterAcrossSlicesEnabledFlag(Bool bValue)
Int m_refIdc[MAX_NUM_REF_PICS+1]
static const Int m_winUnitX[NUM_CHROMA_FORMAT]
Void setBitRateScale(UInt value)
Bool getDependentSliceSegmentsEnabledFlag() const
Int getQpOffset(ComponentID compID) const
const TComScalingList & getScalingList() const
Bool m_intraSmoothingDisabledFlag
transform and quantization class
static Int getWinUnitX(Int chromaFormatIdc)
Void setRefMatrixId(UInt sizeId, UInt listId, UInt u)
set reference matrix ID
Void setCabacBypassAlignmentEnabledFlag(const Bool value)
Bool m_videoSignalTypePresentFlag
Void setNumRefIdxL0DefaultActive(UInt ui)
UInt getDuBitRateValueMinus1(Int layer, Int cpbcnt, Int nalOrVcl) const
Void checkColRefIdx(UInt curSliceIdx, TComPic *pic)
Void createRPSList(Int numRPS)
Void setDeblockingFilterControlPresentFlag(Bool val)
Void setFixedPicRateWithinCvsFlag(Int layer, Bool flag)
Void setDuBitRateValueMinus1(Int layer, Int cpbcnt, Int nalOrVcl, UInt value)
Bool m_extendedPrecisionProcessingFlag
Void setTimingInfoPresentFlag(Bool flag)
Bool m_nonPackedConstraintFlag
Void setSliceArgument(UInt uiArgument)
Int m_deblockingFilterBetaOffsetDiv2
UInt cpbSizeValue[MAX_CPB_CNT][2]
UInt getSliceSegmentCurEndCtuTsAddr() const
Int getPOC(Int bufferNum) const
Void setLowDelayHrdFlag(Int layer, Bool flag)
Void setVideoFormat(Int i)
UInt getBitRateValueMinus1(Int layer, Int cpbcnt, Int nalOrVcl) const
UInt getMaxDecPicBuffering(UInt tLayer) const
Bool getSliceHeaderExtensionPresentFlag() const
UInt getRefPicSetIdxL1(UInt idx) const
UInt getLog2ParallelMergeLevelMinus2() const
Void setTLayer(UInt uiTLayer)
Bool m_overscanAppropriateFlag
static const Int MAX_NUM_LONG_TERM_REF_PICS
Bool m_onePictureOnlyConstraintFlag
Bool getChromaLocInfoPresentFlag() const
TComRefPicListModification()
Void setLog2MinCodingBlockSize(Int val)
Void setOutputFlagPresentFlag(Bool b)
Bool getCabacInitFlag()
get CABAC initial flag
TComScalingList & getScalingList()
Int getNumberOfPictures() const
Void setNumExtraSliceHeaderBits(Int i)
Bool m_noOutputPriorPicsFlag
Void setLoopFilterAcrossTilesEnabledFlag(Bool b)
Bool m_TransquantBypassEnabledFlag
Indicates presence of cu_transquant_bypass_flag in CUs.
Window & getConformanceWindow()
Void setVuiParametersPresentFlag(Bool b)
Bool getBitstreamRestrictionFlag() const
Void setSliceSegmentCurStartCtuTsAddr(UInt ctuTsAddr)
UInt m_uiQuadtreeTUMaxDepthIntra
NalUnitType m_iAssociatedIRAPType
UInt getPCMBitDepth(ChannelType type) const
SliceType m_encCABACTableIdx
UInt getQuadtreeTULog2MaxSize() const
Void applyReferencePictureSet(TComList< TComPic * > &rcListPic, const TComReferencePictureSet *RPSList)
Void setPicWidthInLumaSamples(UInt u)
Bool m_loopFilterAcrossTilesEnabledFlag
UInt getMaxTLayers() const
Bool settingsDifferFromDefaults(const bool bTransformSkipEnabledFlag) const
TComSPS * getSPS(Int spsId)
get pointer to existing sequence parameter set
Void setPPSDeblockingFilterDisabledFlag(Bool val)
set offset for deblocking filter disabled
Int getNumRpsCurrTempList() const
const Double * getLambdas() const
Bool getRapPicFlag() const
Int getSliceChromaQpDelta(ComponentID compID) const
Void setSubPicCpbParamsPresentFlag(Bool flag)
Bool getTileUniformSpacingFlag() const
Void setNumLongTermRefPicSPS(UInt val)
Void setTickDivisorMinus2(UInt value)
Void setDeltaRIdxMinus1(Int x)
Int checkThatAllRefPicsAreAvailable(TComList< TComPic * > &rcListPic, const TComReferencePictureSet *pReferencePictureSet, Bool printErrors, Int pocRandomAccess=0, Bool bUseRecoveryPoint=false)
Void setRdpcmEnabledFlag(const RDPCMSignallingMode signallingMode, const Bool value)
Void setLambdas(const Double lambdas[MAX_NUM_COMPONENT])
UInt getCpbCntMinus1(Int layer) const
Bool getLoopFilterAcrossTilesEnabledFlag() const
Void setPCMLog2MaxSize(UInt u)
Int getNumberOfLongtermPictures() const
Bool m_saoEnabledFlag[MAX_NUM_CHANNEL_TYPE]
Void setLog2SaoOffsetScale(ChannelType type, UInt uiBitShift)
Bool fixedPicRateWithinCvsFlag
UInt getNumReorderPics(UInt tLayer) const
UInt getPicDurationInTcMinus1(Int layer) const
Bool activatePPS(Int ppsId, Bool isIRAP)
Bool m_bSliceChromaQpFlag
UInt m_RefPicSetIdxL0[REF_PIC_LIST_NUM_IDX]
Bool getDeblockingFilterOverrideFlag() const
Void setTLayerInfo(UInt uiTLayer)
Bool getConstrainedIntraPred() const
Void create(Int numberOfEntries)
TComSPSRExt m_spsRangeExtension
UInt m_dpbOutputDelayDuLengthMinus1
Int m_numReorderPics[MAX_TLAYER]
Void setUseChromaQpAdj(Bool b)
Void setBitDepthConstraint(UInt bitDepth)
Void setOverscanAppropriateFlag(Bool i)
static const Int m_winUnitY[NUM_CHROMA_FORMAT]
Bool getChromaQpOffsetListEnabledFlag() const
Void setChromaQpOffsetListEntry(Int cuChromaQpOffsetIdxPlus1, Int cbOffset, Int crOffset)
Void setDeblockingFilterDisable(Bool b)
Int m_aiNumRefIdx[NUM_REF_PIC_LIST_01]
TComReferencePictureSet m_localRPS
UInt getColRefIdx() const
Bool getInterRPSPrediction() const
Void createExplicitReferencePictureSetFromReference(TComList< TComPic * > &rcListPic, const TComReferencePictureSet *pReferencePictureSet, Bool isRAP, Int pocRandomAccess, Bool bUseRecoveryPoint, const Bool bEfficientFieldIRAPEnabled)
Bool m_scalingListPresentFlag
Void setDeblockingFilterOverrideEnabledFlag(Bool val)
Void setDeblockingFilterTcOffsetDiv2(Int val)
set tc offset for deblocking filter
Void setConstrainedIntraPred(Bool b)
UInt getQuadtreeTUMaxDepthInter() const
Int m_chromaSampleLocTypeTopField
Bool getOverscanAppropriateFlag() const
TComPPSRExt & getPpsRangeExtension()
UInt m_numRefIdxL0DefaultActive
Void outputScalingLists(std::ostream &os) const
Reference Picture Set class.
ChromaFormat m_chromaFormatConstraintValue
Bool getDeblockingFilterDisable() const
NalUnitType getNalUnitType() const
UInt m_uiQuadtreeTULog2MaxSize
Void setFinalized(Bool uiVal)
Void calculateParameterSetChangedFlag(Bool &bChanged, const std::vector< UChar > *pOldData, const std::vector< UChar > *pNewData)
Void setNumRefIdx(RefPicList e, Int i)
const TComHRD * getHrdParameters() const
TComHRD * getHrdParameters(UInt i)
const TComScalingList & getScalingList() const
Void setChangedFlag(Int psId, Bool bChanged=true)
Window m_conformanceWindow
Bool m_ChromaQpAdjEnabled
Void setSPS(const TComSPS *pcSPS)
static const Int MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1
UInt m_sliceCurEndCtuTsAddr
UInt m_uiMaxTotalCUDepth
Total CU depth, relative to the smallest possible transform block size.
Void setPicOutputFlag(Bool b)
Int m_pcmBitDepths[MAX_NUM_CHANNEL_TYPE]
Int m_maxBitsPerMinCuDenom
const TComReferencePictureSet * getReferencePictureSet(Int referencePictureSetNum) const
Void setBitDepth(ChannelType type, Int u)
ChromaFormat m_chromaFormatIdc
UInt m_sliceSegmentArgument
Int getDeblockingFilterTcOffsetDiv2() const
get tc offset for deblocking filter
Void setMvdL1ZeroFlag(Bool b)
Bool getIntraConstraintFlag() const
Void setDefaultScalingList()
Void setTemporalNestingFlag(Bool t)
Bool getDeltaPocMSBPresentFlag(Int i) const
Void setReferenced(Bool b)
Bool getChangedFlag(Int psId) const
Void setNeutralChromaIndicationFlag(Bool i)
Bool m_subLayerProfilePresentFlag[MAX_TLAYER-1]
Bool m_entropyCodingSyncEnabledFlag
Indicates the presence of wavefronts.
TComPic * getRefPic(RefPicList e, Int iRefIdx)
Bool m_chromaLocInfoPresentFlag
Void setSubLayerLevelPresentFlag(Int i, Bool x)
UInt getNumUnitsInTick() const
Bool m_subPicCpbParamsPresentFlag
UInt m_initialCpbRemovalDelayLengthMinus1
UInt getDuCpbSizeScale() const
SliceConstraint m_sliceMode
Int getChromaSampleLocTypeTopField() const
Void setIntraSmoothingDisabledFlag(Bool bValue)
Bool getDeblockingFilterOverrideEnabledFlag() const
UInt m_RefPicSetIdxL1[REF_PIC_LIST_NUM_IDX]
Void setTemporalIdNestingFlag(Bool bValue)
Void setMaxOpSets(UInt v)
UInt getRefMatrixId(UInt sizeId, UInt listId) const
get reference matrix ID
NalUnitType m_eNalUnitType
Nal unit type for the slice.
Bool m_bTemporalIdNestingFlag
TComRPSList * getRPSList()
TComReferencePictureSet * getLocalRPS()
TComHRD * getHrdParameters()
Bool getVuiParametersPresentFlag() const
Void setNumberOfLongtermPictures(Int number)
Void setInitialCpbRemovalDelayLengthMinus1(UInt value)
UInt m_maxNuhReservedZeroLayerId
UInt m_sliceSegmentCurEndCtuTsAddr
UInt getSliceCurEndCtuTsAddr() const
Bool m_bConstrainedIntraPred
Void setUseTransformSkip(Bool b)
Bool getExtendedPrecisionProcessingFlag() const
Void setPicInitQPMinus26(Int i)
UInt m_uiMaxLatencyIncreasePlus1[MAX_TLAYER]
Int getNumReorderPics(UInt tlayer) const
UInt getRefPicSetIdxL0(UInt idx) const
UInt getMaxCUWidth() const
Bool m_sliceHeaderExtensionPresentFlag
Bool getOutputFlagPresentFlag() const
UInt getBitRateScale() const
Void setSliceHeaderExtensionPresentFlag(Bool val)
UInt picDurationInTcMinus1
const TComSPS * getSPS() const
Bool getHighPrecisionOffsetsEnabledFlag() const
static const Int MAX_QP_OFFSET_LIST_SIZE
Maximum size of QP offset list is 6 entries.
struct ChromaQpAdj::@2::@3 comp
const TimingInfo * getTimingInfo() const
UInt getTickDivisorMinus2() const
Bool cbrFlag[MAX_CPB_CNT][2]
Int m_log2MaxMvLengthVertical