HEVC Test Model (HM)  HM-16.3
Public Member Functions | Private Attributes | List of all members
TComSlice Class Reference

slice header class More...

#include <TComSlice.h>

Collaboration diagram for TComSlice:
Collaboration graph
[legend]

Public Member Functions

Void setVPS (TComVPS *pcVPS)
 
const TComVPSgetVPS () const
 
Void setSPS (const TComSPS *pcSPS)
 
const TComSPSgetSPS () const
 
Void setPPS (const TComPPS *pcPPS)
 
const TComPPSgetPPS () const
 
Void setTrQuant (TComTrQuant *pcTrQuant)
 
TComTrQuantgetTrQuant ()
 
const TComTrQuantgetTrQuant () const
 
Void setPPSId (Int PPSId)
 
Int getPPSId () const
 
Void setPicOutputFlag (Bool b)
 
Bool getPicOutputFlag () const
 
Void setSaoEnabledFlag (ChannelType chType, Bool s)
 
Bool getSaoEnabledFlag (ChannelType chType) const
 
Void setRPS (TComReferencePictureSet *pcRPS)
 
TComReferencePictureSetgetRPS ()
 
TComReferencePictureSetgetLocalRPS ()
 
Void setRPSidx (Int iBDidx)
 
Int getRPSidx () const
 
Int getPrevTid0POC () const
 
TComRefPicListModificationgetRefPicListModification ()
 
Void setLastIDR (Int iIDRPOC)
 
Int getLastIDR () const
 
Void setAssociatedIRAPPOC (Int iAssociatedIRAPPOC)
 
Int getAssociatedIRAPPOC () const
 
Void setAssociatedIRAPType (NalUnitType associatedIRAPType)
 
NalUnitType getAssociatedIRAPType () const
 
SliceType getSliceType () const
 
Int getPOC () const
 
Int getSliceQp () const
 
Bool getDependentSliceSegmentFlag () const
 
Void setDependentSliceSegmentFlag (Bool val)
 
Int getSliceQpBase () const
 
Int getSliceQpDelta () const
 
Int getSliceChromaQpDelta (ComponentID compID) const
 
Bool getUseChromaQpAdj () const
 
Bool getDeblockingFilterDisable () const
 
Bool getDeblockingFilterOverrideFlag () const
 
Int getDeblockingFilterBetaOffsetDiv2 () const
 
Int getDeblockingFilterTcOffsetDiv2 () const
 
Int getNumRefIdx (RefPicList e) const
 
TComPicgetPic ()
 
TComPicgetRefPic (RefPicList e, Int iRefIdx)
 
Int getRefPOC (RefPicList e, Int iRefIdx)
 
Int getDepth () const
 
Bool getColFromL0Flag () const
 
UInt getColRefIdx () const
 
Bool getIsUsedAsLongTerm (Int i, Int j) const
 
Void setIsUsedAsLongTerm (Int i, Int j, Bool value)
 
Bool getCheckLDC () const
 
Bool getMvdL1ZeroFlag () const
 
Int getList1IdxToList0Idx (Int list1Idx) const
 
Void setReferenced (Bool b)
 
Bool isReferenced () const
 
Bool isReferenceNalu () const
 
Void setPOC (Int i)
 
Void setNalUnitType (NalUnitType e)
 
NalUnitType getNalUnitType () const
 
Bool getIdrPicFlag () const
 
Bool isIRAP () const
 
Void setSliceType (SliceType e)
 
Void setSliceQp (Int i)
 
Void setSliceQpBase (Int i)
 
Void setSliceQpDelta (Int i)
 
Void setSliceChromaQpDelta (ComponentID compID, Int i)
 
Void setUseChromaQpAdj (Bool b)
 
Void setDeblockingFilterDisable (Bool b)
 
Void setDeblockingFilterOverrideFlag (Bool b)
 
Void setDeblockingFilterBetaOffsetDiv2 (Int i)
 
Void setDeblockingFilterTcOffsetDiv2 (Int i)
 
Void setRefPic (TComPic *p, RefPicList e, Int iRefIdx)
 
Void setRefPOC (Int i, RefPicList e, Int iRefIdx)
 
Void setNumRefIdx (RefPicList e, Int i)
 
Void setPic (TComPic *p)
 
Void setDepth (Int iDepth)
 
Void setColFromL0Flag (Bool colFromL0)
 
Void setColRefIdx (UInt refIdx)
 
Void setCheckLDC (Bool b)
 
Void setMvdL1ZeroFlag (Bool b)
 
Bool isIntra () const
 
Bool isInterB () const
 
Bool isInterP () const
 
Void setLambdas (const Double lambdas[MAX_NUM_COMPONENT])
 
const DoublegetLambdas () const
 
Bool isEqualRef (RefPicList e, Int iRefIdx1, Int iRefIdx2)
 
Void setEqualRef (RefPicList e, Int iRefIdx1, Int iRefIdx2, Bool b)
 
UInt getTLayer () const
 
Void setTLayer (UInt uiTLayer)
 
Void decodingMarking (TComList< TComPic * > &rcListPic, Int iGOPSIze, Int &iMaxRefPicNum)
 
Void setMaxNumMergeCand (UInt val)
 
UInt getMaxNumMergeCand () const
 
Void setNoOutputPriorPicsFlag (Bool val)
 
Bool getNoOutputPriorPicsFlag () const
 
Void setNoRaslOutputFlag (Bool val)
 
Bool getNoRaslOutputFlag () const
 
Void setHandleCraAsBlaFlag (Bool val)
 
Bool getHandleCraAsBlaFlag () const
 
Void setSliceMode (SliceConstraint mode)
 
SliceConstraint getSliceMode () const
 
Void setSliceArgument (UInt uiArgument)
 
UInt getSliceArgument () const
 
Void setSliceCurStartCtuTsAddr (UInt ctuTsAddr)
 
UInt getSliceCurStartCtuTsAddr () const
 
Void setSliceCurEndCtuTsAddr (UInt ctuTsAddr)
 
UInt getSliceCurEndCtuTsAddr () const
 
Void setSliceIdx (UInt i)
 
UInt getSliceIdx () const
 
Void setSliceSegmentMode (SliceConstraint mode)
 
SliceConstraint getSliceSegmentMode () const
 
Void setSliceSegmentArgument (UInt uiArgument)
 
UInt getSliceSegmentArgument () const
 
Void setSliceSegmentCurStartCtuTsAddr (UInt ctuTsAddr)
 
UInt getSliceSegmentCurStartCtuTsAddr () const
 
Void setSliceSegmentCurEndCtuTsAddr (UInt ctuTsAddr)
 
UInt getSliceSegmentCurEndCtuTsAddr () const
 
Void setSliceBits (UInt uiVal)
 
UInt getSliceBits () const
 
Void setSliceSegmentBits (UInt uiVal)
 
UInt getSliceSegmentBits () const
 
Void setFinalized (Bool uiVal)
 
Bool getFinalized () const
 
Bool testWeightPred () const
 
Void setTestWeightPred (Bool bValue)
 
Bool testWeightBiPred () const
 
Void setTestWeightBiPred (Bool bValue)
 
Void setWpScaling (WPScalingParam wp[NUM_REF_PIC_LIST_01][16][MAX_NUM_COMPONENT])
 
Void setWpAcDcParam (WPACDCParam wp[MAX_NUM_COMPONENT])
 
Void clearSubstreamSizes ()
 
UInt getNumberOfSubstreamSizes ()
 
Void addSubstreamSize (UInt size)
 
UInt getSubstreamSize (Int idx)
 
Void setCabacInitFlag (Bool val)
 set CABAC initial flag More...
 
Bool getCabacInitFlag ()
 get CABAC initial flag More...
 
Bool getTemporalLayerNonReferenceFlag ()
 
Void setTemporalLayerNonReferenceFlag (Bool x)
 
Void setLFCrossSliceBoundaryFlag (Bool val)
 
Bool getLFCrossSliceBoundaryFlag ()
 
Void setEnableTMVPFlag (Bool b)
 
Bool getEnableTMVPFlag ()
 
Void setEncCABACTableIdx (SliceType idx)
 
SliceType getEncCABACTableIdx () const
 

Private Attributes

Bool m_saoEnabledFlag [MAX_NUM_CHANNEL_TYPE]
 
Int m_iPPSId
 picture parameter set ID More...
 
Bool m_PicOutputFlag
 pic_output_flag More...
 
Int m_iPOC
 
Int m_iLastIDR
 
Int m_iAssociatedIRAP
 
NalUnitType m_iAssociatedIRAPType
 
TComReferencePictureSetm_pcRPS
 
TComReferencePictureSet m_LocalRPS
 
Int m_iBDidx
 
TComRefPicListModification m_RefPicListModification
 
NalUnitType m_eNalUnitType
 Nal unit type for the slice. More...
 
SliceType m_eSliceType
 
Int m_iSliceQp
 
Bool m_dependentSliceSegmentFlag
 
Int m_iSliceQpBase
 
Bool m_ChromaQpAdjEnabled
 
Bool m_deblockingFilterDisable
 
Bool m_deblockingFilterOverrideFlag
 
Int m_deblockingFilterBetaOffsetDiv2
 
Int m_deblockingFilterTcOffsetDiv2
 
Int m_list1IdxToList0Idx [16]
 
Int m_aiNumRefIdx [NUM_REF_PIC_LIST_01]
 
Bool m_bCheckLDC
 
Int m_iSliceQpDelta
 
Int m_iSliceChromaQpDelta [MAX_NUM_COMPONENT]
 
TComPicm_apcRefPicList [NUM_REF_PIC_LIST_01][16+1]
 
Int m_aiRefPOCList [NUM_REF_PIC_LIST_01][16+1]
 
Bool m_bIsUsedAsLongTerm [NUM_REF_PIC_LIST_01][16+1]
 
Int m_iDepth
 
Bool m_bRefenced
 
const TComVPSm_pcVPS
 
const TComSPSm_pcSPS
 
const TComPPSm_pcPPS
 
TComPicm_pcPic
 
TComTrQuantm_pcTrQuant
 
Bool m_colFromL0Flag
 
Bool m_noOutputPriorPicsFlag
 
Bool m_noRaslOutputFlag
 
Bool m_handleCraAsBlaFlag
 
UInt m_colRefIdx
 
UInt m_maxNumMergeCand
 
Double m_lambdas [MAX_NUM_COMPONENT]
 
Bool m_abEqualRef [NUM_REF_PIC_LIST_01][16][16]
 
UInt m_uiTLayer
 
Bool m_bTLayerSwitchingFlag
 
SliceConstraint m_sliceMode
 
UInt m_sliceArgument
 
UInt m_sliceCurStartCtuTsAddr
 
UInt m_sliceCurEndCtuTsAddr
 
UInt m_sliceIdx
 
SliceConstraint m_sliceSegmentMode
 
UInt m_sliceSegmentArgument
 
UInt m_sliceSegmentCurStartCtuTsAddr
 
UInt m_sliceSegmentCurEndCtuTsAddr
 
Bool m_nextSlice
 
Bool m_nextSliceSegment
 
UInt m_sliceBits
 
UInt m_sliceSegmentBits
 
Bool m_bFinalized
 
Bool m_bTestWeightPred
 
Bool m_bTestWeightBiPred
 
WPScalingParam m_weightPredTable [NUM_REF_PIC_LIST_01][16][MAX_NUM_COMPONENT]
 
WPACDCParam m_weightACDCParam [MAX_NUM_COMPONENT]
 
std::vector< UIntm_substreamSizes
 
Bool m_cabacInitFlag
 
Bool m_bLMvdL1Zero
 
Bool m_temporalLayerNonReferenceFlag
 
Bool m_LFCrossSliceBoundaryFlag
 
Bool m_enableTMVPFlag
 
SliceType m_encCABACTableIdx
 
static Int m_prevTid0POC = 0
 
 TComSlice ()
 
virtual ~TComSlice ()
 
Void initSlice ()
 
Void checkColRefIdx (UInt curSliceIdx, TComPic *pic)
 
Int getNumRpsCurrTempList () const
 
Bool getRapPicFlag () const
 
Void checkCRA (const TComReferencePictureSet *pReferencePictureSet, Int &pocCRA, NalUnitType &associatedIRAPType, TComList< TComPic * > &rcListPic)
 
Void decodingRefreshMarking (Int &pocCRA, Bool &bRefreshPending, TComList< TComPic * > &rcListPic)
 
Void setRefPicList (TComList< TComPic * > &rcListPic, Bool checkNumPocTotalCurr=false)
 
Void setRefPOCList ()
 
Void initEqualRef ()
 
Void setList1IdxToList0Idx ()
 
Void setTLayerInfo (UInt uiTLayer)
 
Void checkLeadingPictureRestrictions (TComList< TComPic * > &rcListPic)
 
Void applyReferencePictureSet (TComList< TComPic * > &rcListPic, const TComReferencePictureSet *RPSList)
 
Bool isTemporalLayerSwitchingPoint (TComList< TComPic * > &rcListPic)
 
Bool isStepwiseTemporalLayerSwitchingPointCandidate (TComList< TComPic * > &rcListPic)
 
Int checkThatAllRefPicsAreAvailable (TComList< TComPic * > &rcListPic, const TComReferencePictureSet *pReferencePictureSet, Bool printErrors, Int pocRandomAccess=0, Bool bUseRecoveryPoint=false)
 
Void createExplicitReferencePictureSetFromReference (TComList< TComPic * > &rcListPic, const TComReferencePictureSet *pReferencePictureSet, Bool isRAP, Int pocRandomAccess=0, Bool bUseRecoveryPoint=false)
 
Void copySliceInfo (TComSlice *pcSliceSrc)
 
Void getWpScaling (RefPicList e, Int iRefIdx, WPScalingParam *&wp)
 get tables for weighted prediction More...
 
Void resetWpScaling ()
 reset Default WP tables settings : no weight. More...
 
Void initWpScaling (const TComSPS *sps)
 init WP table More...
 
Void getWpAcDcParam (WPACDCParam *&wp)
 get AC and DC values for weighted pred More...
 
Void initWpAcDcParam ()
 init AC and DC values for weighted pred More...
 
static Void sortPicList (TComList< TComPic * > &rcListPic)
 
TComPicxGetRefPic (TComList< TComPic * > &rcListPic, Int poc)
 
TComPicxGetLongTermRefPic (TComList< TComPic * > &rcListPic, Int poc, Bool pocHasMsb)
 

Detailed Description

slice header class

Definition at line 1198 of file TComSlice.h.

Constructor & Destructor Documentation

TComSlice::~TComSlice ( )
virtual

Definition at line 150 of file TComSlice.cpp.

Member Function Documentation

Void TComSlice::addSubstreamSize ( UInt  size)
inline

Definition at line 1511 of file TComSlice.h.

Void TComSlice::applyReferencePictureSet ( TComList< TComPic * > &  rcListPic,
const TComReferencePictureSet pReferencePictureSet 
)

Function for applying picture marking based on the Reference Picture Set in pReferencePictureSet.

Definition at line 1015 of file TComSlice.cpp.

Void TComSlice::checkColRefIdx ( UInt  curSliceIdx,
TComPic pic 
)

Definition at line 513 of file TComSlice.cpp.

Void TComSlice::checkCRA ( const TComReferencePictureSet pReferencePictureSet,
Int pocCRA,
NalUnitType associatedIRAPType,
TComList< TComPic * > &  rcListPic 
)

Definition at line 539 of file TComSlice.cpp.

Void TComSlice::checkLeadingPictureRestrictions ( TComList< TComPic * > &  rcListPic)

Definition at line 846 of file TComSlice.cpp.

Int TComSlice::checkThatAllRefPicsAreAvailable ( TComList< TComPic * > &  rcListPic,
const TComReferencePictureSet pReferencePictureSet,
Bool  printErrors,
Int  pocRandomAccess = 0,
Bool  bUseRecoveryPoint = false 
)

Function for applying picture marking based on the Reference Picture Set in pReferencePictureSet.

Definition at line 1094 of file TComSlice.cpp.

Void TComSlice::clearSubstreamSizes ( )
inline

Definition at line 1509 of file TComSlice.h.

Void TComSlice::copySliceInfo ( TComSlice pcSliceSrc)

Definition at line 680 of file TComSlice.cpp.

Void TComSlice::createExplicitReferencePictureSetFromReference ( TComList< TComPic * > &  rcListPic,
const TComReferencePictureSet pReferencePictureSet,
Bool  isRAP,
Int  pocRandomAccess = 0,
Bool  bUseRecoveryPoint = false 
)

Function for constructing an explicit Reference Picture Set out of the available pictures in a referenced Reference Picture Set

Definition at line 1320 of file TComSlice.cpp.

Void TComSlice::decodingMarking ( TComList< TComPic * > &  rcListPic,
Int  iGOPSIze,
Int iMaxRefPicNum 
)
Void TComSlice::decodingRefreshMarking ( Int pocCRA,
Bool bRefreshPending,
TComList< TComPic * > &  rcListPic 
)

Function for marking the reference pictures when an IDR/CRA/CRANT/BLA/BLANT is encountered.

Parameters
pocCRAPOC of the CRA/CRANT/BLA/BLANT picture
bRefreshPendingflag indicating if a deferred decoding refresh is pending
rcListPicreference to the reference picture list This function marks the reference pictures as "unused for reference" in the following conditions. If the nal_unit_type is IDR/BLA/BLANT, all pictures in the reference picture list are marked as "unused for reference" If the nal_unit_type is BLA/BLANT, set the pocCRA to the temporal reference of the current picture. Otherwise If the bRefreshPending flag is true (a deferred decoding refresh is pending) and the current temporal reference is greater than the temporal reference of the latest CRA/CRANT/BLA/BLANT picture (pocCRA), mark all reference pictures except the latest CRA/CRANT/BLA/BLANT picture as "unused for reference" and set the bRefreshPending flag to false. If the nal_unit_type is CRA/CRANT, set the bRefreshPending flag to true and pocCRA to the temporal reference of the current picture. Note that the current picture is already placed in the reference list and its marking is not changed. If the current picture has a nal_ref_idc that is not 0, it will remain marked as "used for reference".

Definition at line 599 of file TComSlice.cpp.

Int TComSlice::getAssociatedIRAPPOC ( ) const
inline

Definition at line 1334 of file TComSlice.h.

NalUnitType TComSlice::getAssociatedIRAPType ( ) const
inline

Definition at line 1336 of file TComSlice.h.

Bool TComSlice::getCabacInitFlag ( )
inline

get CABAC initial flag

Definition at line 1515 of file TComSlice.h.

Bool TComSlice::getCheckLDC ( ) const
inline

Definition at line 1363 of file TComSlice.h.

Bool TComSlice::getColFromL0Flag ( ) const
inline

Definition at line 1358 of file TComSlice.h.

UInt TComSlice::getColRefIdx ( ) const
inline

Definition at line 1359 of file TComSlice.h.

Int TComSlice::getDeblockingFilterBetaOffsetDiv2 ( ) const
inline

Definition at line 1350 of file TComSlice.h.

Bool TComSlice::getDeblockingFilterDisable ( ) const
inline

Definition at line 1348 of file TComSlice.h.

Bool TComSlice::getDeblockingFilterOverrideFlag ( ) const
inline

Definition at line 1349 of file TComSlice.h.

Int TComSlice::getDeblockingFilterTcOffsetDiv2 ( ) const
inline

Definition at line 1351 of file TComSlice.h.

Bool TComSlice::getDependentSliceSegmentFlag ( ) const
inline

Definition at line 1340 of file TComSlice.h.

Int TComSlice::getDepth ( ) const
inline

Definition at line 1357 of file TComSlice.h.

Bool TComSlice::getEnableTMVPFlag ( )
inline

Definition at line 1522 of file TComSlice.h.

SliceType TComSlice::getEncCABACTableIdx ( ) const
inline

Definition at line 1525 of file TComSlice.h.

Bool TComSlice::getFinalized ( ) const
inline

Definition at line 1486 of file TComSlice.h.

Bool TComSlice::getHandleCraAsBlaFlag ( ) const
inline

Definition at line 1460 of file TComSlice.h.

Bool TComSlice::getIdrPicFlag ( ) const
inline

Definition at line 1374 of file TComSlice.h.

Bool TComSlice::getIsUsedAsLongTerm ( Int  i,
Int  j 
) const
inline

Definition at line 1361 of file TComSlice.h.

const Double* TComSlice::getLambdas ( ) const
inline

Definition at line 1409 of file TComSlice.h.

Int TComSlice::getLastIDR ( ) const
inline

Definition at line 1332 of file TComSlice.h.

Bool TComSlice::getLFCrossSliceBoundaryFlag ( )
inline

Definition at line 1519 of file TComSlice.h.

Int TComSlice::getList1IdxToList0Idx ( Int  list1Idx) const
inline

Definition at line 1366 of file TComSlice.h.

TComReferencePictureSet* TComSlice::getLocalRPS ( )
inline

Definition at line 1325 of file TComSlice.h.

UInt TComSlice::getMaxNumMergeCand ( ) const
inline

Definition at line 1451 of file TComSlice.h.

Bool TComSlice::getMvdL1ZeroFlag ( ) const
inline

Definition at line 1364 of file TComSlice.h.

NalUnitType TComSlice::getNalUnitType ( ) const
inline

Definition at line 1372 of file TComSlice.h.

Bool TComSlice::getNoOutputPriorPicsFlag ( ) const
inline

Definition at line 1454 of file TComSlice.h.

Bool TComSlice::getNoRaslOutputFlag ( ) const
inline

Definition at line 1457 of file TComSlice.h.

UInt TComSlice::getNumberOfSubstreamSizes ( )
inline

Definition at line 1510 of file TComSlice.h.

Int TComSlice::getNumRefIdx ( RefPicList  e) const
inline

Definition at line 1353 of file TComSlice.h.

Int TComSlice::getNumRpsCurrTempList ( ) const

Definition at line 481 of file TComSlice.cpp.

TComPic* TComSlice::getPic ( )
inline

Definition at line 1354 of file TComSlice.h.

Bool TComSlice::getPicOutputFlag ( ) const
inline

Definition at line 1320 of file TComSlice.h.

Int TComSlice::getPOC ( ) const
inline

Definition at line 1338 of file TComSlice.h.

const TComPPS* TComSlice::getPPS ( ) const
inline

Definition at line 1309 of file TComSlice.h.

Int TComSlice::getPPSId ( ) const
inline

Definition at line 1318 of file TComSlice.h.

Int TComSlice::getPrevTid0POC ( ) const
inline

Definition at line 1329 of file TComSlice.h.

Bool TComSlice::getRapPicFlag ( ) const

Definition at line 182 of file TComSlice.cpp.

TComPic* TComSlice::getRefPic ( RefPicList  e,
Int  iRefIdx 
)
inline

Definition at line 1355 of file TComSlice.h.

TComRefPicListModification* TComSlice::getRefPicListModification ( )
inline

Definition at line 1330 of file TComSlice.h.

Int TComSlice::getRefPOC ( RefPicList  e,
Int  iRefIdx 
)
inline

Definition at line 1356 of file TComSlice.h.

TComReferencePictureSet* TComSlice::getRPS ( )
inline

Definition at line 1324 of file TComSlice.h.

Int TComSlice::getRPSidx ( ) const
inline

Definition at line 1328 of file TComSlice.h.

Bool TComSlice::getSaoEnabledFlag ( ChannelType  chType) const
inline

Definition at line 1322 of file TComSlice.h.

UInt TComSlice::getSliceArgument ( ) const
inline

Definition at line 1465 of file TComSlice.h.

UInt TComSlice::getSliceBits ( ) const
inline

Definition at line 1482 of file TComSlice.h.

Int TComSlice::getSliceChromaQpDelta ( ComponentID  compID) const
inline

Definition at line 1346 of file TComSlice.h.

UInt TComSlice::getSliceCurEndCtuTsAddr ( ) const
inline

Definition at line 1469 of file TComSlice.h.

UInt TComSlice::getSliceCurStartCtuTsAddr ( ) const
inline

Definition at line 1467 of file TComSlice.h.

UInt TComSlice::getSliceIdx ( ) const
inline

Definition at line 1471 of file TComSlice.h.

SliceConstraint TComSlice::getSliceMode ( ) const
inline

Definition at line 1463 of file TComSlice.h.

Int TComSlice::getSliceQp ( ) const
inline

Definition at line 1339 of file TComSlice.h.

Int TComSlice::getSliceQpBase ( ) const
inline

Definition at line 1343 of file TComSlice.h.

Int TComSlice::getSliceQpDelta ( ) const
inline

Definition at line 1345 of file TComSlice.h.

UInt TComSlice::getSliceSegmentArgument ( ) const
inline

Definition at line 1476 of file TComSlice.h.

UInt TComSlice::getSliceSegmentBits ( ) const
inline

Definition at line 1484 of file TComSlice.h.

UInt TComSlice::getSliceSegmentCurEndCtuTsAddr ( ) const
inline

Definition at line 1480 of file TComSlice.h.

UInt TComSlice::getSliceSegmentCurStartCtuTsAddr ( ) const
inline

Definition at line 1478 of file TComSlice.h.

SliceConstraint TComSlice::getSliceSegmentMode ( ) const
inline

Definition at line 1474 of file TComSlice.h.

SliceType TComSlice::getSliceType ( ) const
inline

Definition at line 1337 of file TComSlice.h.

const TComSPS* TComSlice::getSPS ( ) const
inline

Definition at line 1306 of file TComSlice.h.

UInt TComSlice::getSubstreamSize ( Int  idx)
inline

Definition at line 1512 of file TComSlice.h.

Bool TComSlice::getTemporalLayerNonReferenceFlag ( )
inline

Definition at line 1516 of file TComSlice.h.

UInt TComSlice::getTLayer ( ) const
inline

Definition at line 1434 of file TComSlice.h.

TComTrQuant* TComSlice::getTrQuant ( )
inline

Definition at line 1313 of file TComSlice.h.

const TComTrQuant* TComSlice::getTrQuant ( ) const
inline

Definition at line 1314 of file TComSlice.h.

Bool TComSlice::getUseChromaQpAdj ( ) const
inline

Definition at line 1347 of file TComSlice.h.

const TComVPS* TComSlice::getVPS ( ) const
inline

Definition at line 1304 of file TComSlice.h.

Void TComSlice::getWpAcDcParam ( WPACDCParam *&  wp)

get AC and DC values for weighted pred

Definition at line 1449 of file TComSlice.cpp.

Void TComSlice::getWpScaling ( RefPicList  e,
Int  iRefIdx,
WPScalingParam *&  wp 
)

get tables for weighted prediction

Definition at line 1465 of file TComSlice.cpp.

Void TComSlice::initEqualRef ( )

Definition at line 499 of file TComSlice.cpp.

Void TComSlice::initSlice ( )

Definition at line 155 of file TComSlice.cpp.

Void TComSlice::initWpAcDcParam ( )

init AC and DC values for weighted pred

Definition at line 1455 of file TComSlice.cpp.

Void TComSlice::initWpScaling ( const TComSPS sps)

init WP table

Definition at line 1492 of file TComSlice.cpp.

Bool TComSlice::isEqualRef ( RefPicList  e,
Int  iRefIdx1,
Int  iRefIdx2 
)
inline

Definition at line 1412 of file TComSlice.h.

Bool TComSlice::isInterB ( ) const
inline

Definition at line 1405 of file TComSlice.h.

Bool TComSlice::isInterP ( ) const
inline

Definition at line 1406 of file TComSlice.h.

Bool TComSlice::isIntra ( ) const
inline

Definition at line 1404 of file TComSlice.h.

Bool TComSlice::isIRAP ( ) const
inline

Definition at line 1375 of file TComSlice.h.

Bool TComSlice::isReferenced ( ) const
inline

Definition at line 1368 of file TComSlice.h.

Bool TComSlice::isReferenceNalu ( ) const
inline

Definition at line 1369 of file TComSlice.h.

Bool TComSlice::isStepwiseTemporalLayerSwitchingPointCandidate ( TComList< TComPic * > &  rcListPic)

Function for checking if this is a STSA candidate

Definition at line 826 of file TComSlice.cpp.

Bool TComSlice::isTemporalLayerSwitchingPoint ( TComList< TComPic * > &  rcListPic)

Function for checking if this is a switching-point

Definition at line 805 of file TComSlice.cpp.

Void TComSlice::resetWpScaling ( )

reset Default WP tables settings : no weight.

Definition at line 1472 of file TComSlice.cpp.

Void TComSlice::setAssociatedIRAPPOC ( Int  iAssociatedIRAPPOC)
inline

Definition at line 1333 of file TComSlice.h.

Void TComSlice::setAssociatedIRAPType ( NalUnitType  associatedIRAPType)
inline

Definition at line 1335 of file TComSlice.h.

Void TComSlice::setCabacInitFlag ( Bool  val)
inline

set CABAC initial flag

Definition at line 1514 of file TComSlice.h.

Void TComSlice::setCheckLDC ( Bool  b)
inline

Definition at line 1401 of file TComSlice.h.

Void TComSlice::setColFromL0Flag ( Bool  colFromL0)
inline

Definition at line 1399 of file TComSlice.h.

Void TComSlice::setColRefIdx ( UInt  refIdx)
inline

Definition at line 1400 of file TComSlice.h.

Void TComSlice::setDeblockingFilterBetaOffsetDiv2 ( Int  i)
inline

Definition at line 1388 of file TComSlice.h.

Void TComSlice::setDeblockingFilterDisable ( Bool  b)
inline

Definition at line 1386 of file TComSlice.h.

Void TComSlice::setDeblockingFilterOverrideFlag ( Bool  b)
inline

Definition at line 1387 of file TComSlice.h.

Void TComSlice::setDeblockingFilterTcOffsetDiv2 ( Int  i)
inline

Definition at line 1389 of file TComSlice.h.

Void TComSlice::setDependentSliceSegmentFlag ( Bool  val)
inline

Definition at line 1341 of file TComSlice.h.

Void TComSlice::setDepth ( Int  iDepth)
inline

Definition at line 1395 of file TComSlice.h.

Void TComSlice::setEnableTMVPFlag ( Bool  b)
inline

Definition at line 1521 of file TComSlice.h.

Void TComSlice::setEncCABACTableIdx ( SliceType  idx)
inline

Definition at line 1524 of file TComSlice.h.

Void TComSlice::setEqualRef ( RefPicList  e,
Int  iRefIdx1,
Int  iRefIdx2,
Bool  b 
)
inline

Definition at line 1425 of file TComSlice.h.

Void TComSlice::setFinalized ( Bool  uiVal)
inline

Definition at line 1485 of file TComSlice.h.

Void TComSlice::setHandleCraAsBlaFlag ( Bool  val)
inline

Definition at line 1459 of file TComSlice.h.

Void TComSlice::setIsUsedAsLongTerm ( Int  i,
Int  j,
Bool  value 
)
inline

Definition at line 1362 of file TComSlice.h.

Void TComSlice::setLambdas ( const Double  lambdas[MAX_NUM_COMPONENT])
inline

Definition at line 1408 of file TComSlice.h.

Void TComSlice::setLastIDR ( Int  iIDRPOC)
inline

Definition at line 1331 of file TComSlice.h.

Void TComSlice::setLFCrossSliceBoundaryFlag ( Bool  val)
inline

Definition at line 1518 of file TComSlice.h.

Void TComSlice::setList1IdxToList0Idx ( )

Definition at line 305 of file TComSlice.cpp.

Void TComSlice::setMaxNumMergeCand ( UInt  val)
inline

Definition at line 1450 of file TComSlice.h.

Void TComSlice::setMvdL1ZeroFlag ( Bool  b)
inline

Definition at line 1402 of file TComSlice.h.

Void TComSlice::setNalUnitType ( NalUnitType  e)
inline

Definition at line 1371 of file TComSlice.h.

Void TComSlice::setNoOutputPriorPicsFlag ( Bool  val)
inline

Definition at line 1453 of file TComSlice.h.

Void TComSlice::setNoRaslOutputFlag ( Bool  val)
inline

Definition at line 1456 of file TComSlice.h.

Void TComSlice::setNumRefIdx ( RefPicList  e,
Int  i 
)
inline

Definition at line 1393 of file TComSlice.h.

Void TComSlice::setPic ( TComPic p)
inline

Definition at line 1394 of file TComSlice.h.

Void TComSlice::setPicOutputFlag ( Bool  b)
inline

Definition at line 1319 of file TComSlice.h.

Void TComSlice::setPOC ( Int  i)
inline

Definition at line 1370 of file TComSlice.h.

Void TComSlice::setPPS ( const TComPPS pcPPS)
inline

Definition at line 1308 of file TComSlice.h.

Void TComSlice::setPPSId ( Int  PPSId)
inline

Definition at line 1317 of file TComSlice.h.

Void TComSlice::setReferenced ( Bool  b)
inline

Definition at line 1367 of file TComSlice.h.

Void TComSlice::setRefPic ( TComPic p,
RefPicList  e,
Int  iRefIdx 
)
inline

Definition at line 1391 of file TComSlice.h.

Void TComSlice::setRefPicList ( TComList< TComPic * > &  rcListPic,
Bool  checkNumPocTotalCurr = false 
)

Definition at line 322 of file TComSlice.cpp.

Void TComSlice::setRefPOC ( Int  i,
RefPicList  e,
Int  iRefIdx 
)
inline

Definition at line 1392 of file TComSlice.h.

Void TComSlice::setRefPOCList ( )

Definition at line 293 of file TComSlice.cpp.

Void TComSlice::setRPS ( TComReferencePictureSet pcRPS)
inline

Definition at line 1323 of file TComSlice.h.

Void TComSlice::setRPSidx ( Int  iBDidx)
inline

Definition at line 1327 of file TComSlice.h.

Void TComSlice::setSaoEnabledFlag ( ChannelType  chType,
Bool  s 
)
inline

Definition at line 1321 of file TComSlice.h.

Void TComSlice::setSliceArgument ( UInt  uiArgument)
inline

Definition at line 1464 of file TComSlice.h.

Void TComSlice::setSliceBits ( UInt  uiVal)
inline

Definition at line 1481 of file TComSlice.h.

Void TComSlice::setSliceChromaQpDelta ( ComponentID  compID,
Int  i 
)
inline

Definition at line 1384 of file TComSlice.h.

Void TComSlice::setSliceCurEndCtuTsAddr ( UInt  ctuTsAddr)
inline

Definition at line 1468 of file TComSlice.h.

Void TComSlice::setSliceCurStartCtuTsAddr ( UInt  ctuTsAddr)
inline

Definition at line 1466 of file TComSlice.h.

Void TComSlice::setSliceIdx ( UInt  i)
inline

Definition at line 1470 of file TComSlice.h.

Void TComSlice::setSliceMode ( SliceConstraint  mode)
inline

Definition at line 1462 of file TComSlice.h.

Void TComSlice::setSliceQp ( Int  i)
inline

Definition at line 1379 of file TComSlice.h.

Void TComSlice::setSliceQpBase ( Int  i)
inline

Definition at line 1381 of file TComSlice.h.

Void TComSlice::setSliceQpDelta ( Int  i)
inline

Definition at line 1383 of file TComSlice.h.

Void TComSlice::setSliceSegmentArgument ( UInt  uiArgument)
inline

Definition at line 1475 of file TComSlice.h.

Void TComSlice::setSliceSegmentBits ( UInt  uiVal)
inline

Definition at line 1483 of file TComSlice.h.

Void TComSlice::setSliceSegmentCurEndCtuTsAddr ( UInt  ctuTsAddr)
inline

Definition at line 1479 of file TComSlice.h.

Void TComSlice::setSliceSegmentCurStartCtuTsAddr ( UInt  ctuTsAddr)
inline

Definition at line 1477 of file TComSlice.h.

Void TComSlice::setSliceSegmentMode ( SliceConstraint  mode)
inline

Definition at line 1473 of file TComSlice.h.

Void TComSlice::setSliceType ( SliceType  e)
inline

Definition at line 1378 of file TComSlice.h.

Void TComSlice::setSPS ( const TComSPS pcSPS)
inline

Definition at line 1305 of file TComSlice.h.

Void TComSlice::setTemporalLayerNonReferenceFlag ( Bool  x)
inline

Definition at line 1517 of file TComSlice.h.

Void TComSlice::setTestWeightBiPred ( Bool  bValue)
inline

Definition at line 1490 of file TComSlice.h.

Void TComSlice::setTestWeightPred ( Bool  bValue)
inline

Definition at line 1488 of file TComSlice.h.

Void TComSlice::setTLayer ( UInt  uiTLayer)
inline

Definition at line 1435 of file TComSlice.h.

Void TComSlice::setTLayerInfo ( UInt  uiTLayer)

Function for setting the slice's temporal layer ID and corresponding temporal_layer_switching_point_flag.

Parameters
uiTLayerTemporal layer ID of the current slice The decoder calls this function to set temporal_layer_switching_point_flag for each temporal layer based on the SPS's temporal_id_nesting_flag and the parsed PPS. Then, current slice's temporal layer ID and temporal_layer_switching_point_flag is set accordingly.

Definition at line 798 of file TComSlice.cpp.

Void TComSlice::setTrQuant ( TComTrQuant pcTrQuant)
inline

Definition at line 1312 of file TComSlice.h.

Void TComSlice::setUseChromaQpAdj ( Bool  b)
inline

Definition at line 1385 of file TComSlice.h.

Void TComSlice::setVPS ( TComVPS pcVPS)
inline

Definition at line 1303 of file TComSlice.h.

Void TComSlice::setWpAcDcParam ( WPACDCParam  wp[MAX_NUM_COMPONENT])
inline

Definition at line 1501 of file TComSlice.h.

Void TComSlice::setWpScaling ( WPScalingParam  wp[NUM_REF_PIC_LIST_01][16][MAX_NUM_COMPONENT])
inline

Definition at line 1491 of file TComSlice.h.

Void TComSlice::sortPicList ( TComList< TComPic * > &  rcListPic)
static

Definition at line 193 of file TComSlice.cpp.

Bool TComSlice::testWeightBiPred ( ) const
inline

Definition at line 1489 of file TComSlice.h.

Bool TComSlice::testWeightPred ( ) const
inline

Definition at line 1487 of file TComSlice.h.

TComPic * TComSlice::xGetLongTermRefPic ( TComList< TComPic * > &  rcListPic,
Int  poc,
Bool  pocHasMsb 
)
protected

Definition at line 250 of file TComSlice.cpp.

TComPic * TComSlice::xGetRefPic ( TComList< TComPic * > &  rcListPic,
Int  poc 
)
protected

Definition at line 233 of file TComSlice.cpp.

Member Data Documentation

Bool TComSlice::m_abEqualRef[NUM_REF_PIC_LIST_01][16][16]
private

Definition at line 1262 of file TComSlice.h.

Int TComSlice::m_aiNumRefIdx[NUM_REF_PIC_LIST_01]
private

Definition at line 1228 of file TComSlice.h.

Int TComSlice::m_aiRefPOCList[NUM_REF_PIC_LIST_01][16+1]
private

Definition at line 1236 of file TComSlice.h.

TComPic* TComSlice::m_apcRefPicList[NUM_REF_PIC_LIST_01][16+1]
private

Definition at line 1235 of file TComSlice.h.

Bool TComSlice::m_bCheckLDC
private

Definition at line 1230 of file TComSlice.h.

Bool TComSlice::m_bFinalized
private

Definition at line 1279 of file TComSlice.h.

Bool TComSlice::m_bIsUsedAsLongTerm[NUM_REF_PIC_LIST_01][16+1]
private

Definition at line 1237 of file TComSlice.h.

Bool TComSlice::m_bLMvdL1Zero
private

Definition at line 1290 of file TComSlice.h.

Bool TComSlice::m_bRefenced
private

Definition at line 1241 of file TComSlice.h.

Bool TComSlice::m_bTestWeightBiPred
private

Definition at line 1282 of file TComSlice.h.

Bool TComSlice::m_bTestWeightPred
private

Definition at line 1281 of file TComSlice.h.

Bool TComSlice::m_bTLayerSwitchingFlag
private

Definition at line 1264 of file TComSlice.h.

Bool TComSlice::m_cabacInitFlag
private

Definition at line 1288 of file TComSlice.h.

Bool TComSlice::m_ChromaQpAdjEnabled
private

Definition at line 1222 of file TComSlice.h.

Bool TComSlice::m_colFromL0Flag
private

Definition at line 1251 of file TComSlice.h.

UInt TComSlice::m_colRefIdx
private

Definition at line 1257 of file TComSlice.h.

Int TComSlice::m_deblockingFilterBetaOffsetDiv2
private

Definition at line 1225 of file TComSlice.h.

Bool TComSlice::m_deblockingFilterDisable
private

Definition at line 1223 of file TComSlice.h.

Bool TComSlice::m_deblockingFilterOverrideFlag
private

Definition at line 1224 of file TComSlice.h.

Int TComSlice::m_deblockingFilterTcOffsetDiv2
private

Definition at line 1226 of file TComSlice.h.

Bool TComSlice::m_dependentSliceSegmentFlag
private

Definition at line 1218 of file TComSlice.h.

Bool TComSlice::m_enableTMVPFlag
private

Definition at line 1294 of file TComSlice.h.

NalUnitType TComSlice::m_eNalUnitType
private

Nal unit type for the slice.

Definition at line 1215 of file TComSlice.h.

SliceType TComSlice::m_encCABACTableIdx
private

Definition at line 1296 of file TComSlice.h.

SliceType TComSlice::m_eSliceType
private

Definition at line 1216 of file TComSlice.h.

Bool TComSlice::m_handleCraAsBlaFlag
private

Definition at line 1255 of file TComSlice.h.

Int TComSlice::m_iAssociatedIRAP
private

Definition at line 1208 of file TComSlice.h.

NalUnitType TComSlice::m_iAssociatedIRAPType
private

Definition at line 1209 of file TComSlice.h.

Int TComSlice::m_iBDidx
private

Definition at line 1213 of file TComSlice.h.

Int TComSlice::m_iDepth
private

Definition at line 1238 of file TComSlice.h.

Int TComSlice::m_iLastIDR
private

Definition at line 1207 of file TComSlice.h.

Int TComSlice::m_iPOC
private

Definition at line 1206 of file TComSlice.h.

Int TComSlice::m_iPPSId
private

picture parameter set ID

Definition at line 1204 of file TComSlice.h.

Int TComSlice::m_iSliceChromaQpDelta[MAX_NUM_COMPONENT]
private

Definition at line 1234 of file TComSlice.h.

Int TComSlice::m_iSliceQp
private

Definition at line 1217 of file TComSlice.h.

Int TComSlice::m_iSliceQpBase
private

Definition at line 1220 of file TComSlice.h.

Int TComSlice::m_iSliceQpDelta
private

Definition at line 1233 of file TComSlice.h.

Double TComSlice::m_lambdas[MAX_NUM_COMPONENT]
private

Definition at line 1260 of file TComSlice.h.

Bool TComSlice::m_LFCrossSliceBoundaryFlag
private

Definition at line 1292 of file TComSlice.h.

Int TComSlice::m_list1IdxToList0Idx[16]
private

Definition at line 1227 of file TComSlice.h.

TComReferencePictureSet TComSlice::m_LocalRPS
private

Definition at line 1212 of file TComSlice.h.

UInt TComSlice::m_maxNumMergeCand
private

Definition at line 1258 of file TComSlice.h.

Bool TComSlice::m_nextSlice
private

Definition at line 1275 of file TComSlice.h.

Bool TComSlice::m_nextSliceSegment
private

Definition at line 1276 of file TComSlice.h.

Bool TComSlice::m_noOutputPriorPicsFlag
private

Definition at line 1253 of file TComSlice.h.

Bool TComSlice::m_noRaslOutputFlag
private

Definition at line 1254 of file TComSlice.h.

TComPic* TComSlice::m_pcPic
private

Definition at line 1247 of file TComSlice.h.

const TComPPS* TComSlice::m_pcPPS
private

Definition at line 1246 of file TComSlice.h.

TComReferencePictureSet* TComSlice::m_pcRPS
private

Definition at line 1211 of file TComSlice.h.

const TComSPS* TComSlice::m_pcSPS
private

Definition at line 1245 of file TComSlice.h.

TComTrQuant* TComSlice::m_pcTrQuant
private

Definition at line 1249 of file TComSlice.h.

const TComVPS* TComSlice::m_pcVPS
private

Definition at line 1244 of file TComSlice.h.

Bool TComSlice::m_PicOutputFlag
private

pic_output_flag

Definition at line 1205 of file TComSlice.h.

Int TComSlice::m_prevTid0POC = 0
staticprivate

Definition at line 1210 of file TComSlice.h.

TComRefPicListModification TComSlice::m_RefPicListModification
private

Definition at line 1214 of file TComSlice.h.

Bool TComSlice::m_saoEnabledFlag[MAX_NUM_CHANNEL_TYPE]
private

Definition at line 1203 of file TComSlice.h.

UInt TComSlice::m_sliceArgument
private

Definition at line 1267 of file TComSlice.h.

UInt TComSlice::m_sliceBits
private

Definition at line 1277 of file TComSlice.h.

UInt TComSlice::m_sliceCurEndCtuTsAddr
private

Definition at line 1269 of file TComSlice.h.

UInt TComSlice::m_sliceCurStartCtuTsAddr
private

Definition at line 1268 of file TComSlice.h.

UInt TComSlice::m_sliceIdx
private

Definition at line 1270 of file TComSlice.h.

SliceConstraint TComSlice::m_sliceMode
private

Definition at line 1266 of file TComSlice.h.

UInt TComSlice::m_sliceSegmentArgument
private

Definition at line 1272 of file TComSlice.h.

UInt TComSlice::m_sliceSegmentBits
private

Definition at line 1278 of file TComSlice.h.

UInt TComSlice::m_sliceSegmentCurEndCtuTsAddr
private

Definition at line 1274 of file TComSlice.h.

UInt TComSlice::m_sliceSegmentCurStartCtuTsAddr
private

Definition at line 1273 of file TComSlice.h.

SliceConstraint TComSlice::m_sliceSegmentMode
private

Definition at line 1271 of file TComSlice.h.

std::vector<UInt> TComSlice::m_substreamSizes
private

Definition at line 1286 of file TComSlice.h.

Bool TComSlice::m_temporalLayerNonReferenceFlag
private

Definition at line 1291 of file TComSlice.h.

UInt TComSlice::m_uiTLayer
private

Definition at line 1263 of file TComSlice.h.

WPACDCParam TComSlice::m_weightACDCParam[MAX_NUM_COMPONENT]
private

Definition at line 1284 of file TComSlice.h.

WPScalingParam TComSlice::m_weightPredTable[NUM_REF_PIC_LIST_01][16][MAX_NUM_COMPONENT]
private

Definition at line 1283 of file TComSlice.h.


The documentation for this class was generated from the following files: