HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
TComReferencePictureSet Class Reference

Reference Picture Set class. More...

#include <TComSlice.h>

Public Member Functions

Int getPocLSBLT (Int i) const
 
Void setPocLSBLT (Int i, Int x)
 
Int getDeltaPocMSBCycleLT (Int i) const
 
Void setDeltaPocMSBCycleLT (Int i, Int x)
 
Bool getDeltaPocMSBPresentFlag (Int i) const
 
Void setDeltaPocMSBPresentFlag (Int i, Bool x)
 
Void setNumberOfNegativePictures (Int number)
 
Int getNumberOfNegativePictures () const
 
Void setNumberOfPositivePictures (Int number)
 
Int getNumberOfPositivePictures () const
 
Void setNumberOfLongtermPictures (Int number)
 
Int getNumberOfLongtermPictures () const
 
Void setInterRPSPrediction (Bool flag)
 
Bool getInterRPSPrediction () const
 
Void setDeltaRIdxMinus1 (Int x)
 
Int getDeltaRIdxMinus1 () const
 
Void setDeltaRPS (Int x)
 
Int getDeltaRPS () const
 
Void setNumRefIdc (Int x)
 
Int getNumRefIdc () const
 
 TComReferencePictureSet ()
 
virtual ~TComReferencePictureSet ()
 
Void setUsed (Int bufferNum, Bool used)
 
Void setDeltaPOC (Int bufferNum, Int deltaPOC)
 
Void setPOC (Int bufferNum, Int deltaPOC)
 
Void setNumberOfPictures (Int numberOfPictures)
 
Void setCheckLTMSBPresent (Int bufferNum, Bool b)
 
Bool getCheckLTMSBPresent (Int bufferNum) const
 
Int getUsed (Int bufferNum) const
 
Int getDeltaPOC (Int bufferNum) const
 
Int getPOC (Int bufferNum) const
 
Int getNumberOfPictures () const
 
Void setRefIdc (Int bufferNum, Int refIdc)
 set the reference idc value at uiBufferNum entry to the value of iRefIdc More...
 
Int getRefIdc (Int bufferNum) const
 get the reference idc value at uiBufferNum More...
 
Void sortDeltaPOC ()
 
Void printDeltaPOC () const
 

Private Attributes

Int m_numberOfPictures
 
Int m_numberOfNegativePictures
 
Int m_numberOfPositivePictures
 
Int m_numberOfLongtermPictures
 
Int m_deltaPOC [MAX_NUM_REF_PICS]
 
Int m_POC [MAX_NUM_REF_PICS]
 
Bool m_used [MAX_NUM_REF_PICS]
 
Bool m_interRPSPrediction
 
Int m_deltaRIdxMinus1
 
Int m_deltaRPS
 
Int m_numRefIdc
 
Int m_refIdc [MAX_NUM_REF_PICS+1]
 
Bool m_bCheckLTMSB [MAX_NUM_REF_PICS]
 
Int m_pocLSBLT [MAX_NUM_REF_PICS]
 
Int m_deltaPOCMSBCycleLT [MAX_NUM_REF_PICS]
 
Bool m_deltaPocMSBPresentFlag [MAX_NUM_REF_PICS]
 

Detailed Description

Reference Picture Set class.

Definition at line 65 of file TComSlice.h.

Constructor & Destructor Documentation

TComReferencePictureSet::TComReferencePictureSet ( )

Definition at line 1626 of file TComSlice.cpp.

TComReferencePictureSet::~TComReferencePictureSet ( )
virtual

Definition at line 1646 of file TComSlice.cpp.

Member Function Documentation

Bool TComReferencePictureSet::getCheckLTMSBPresent ( Int  bufferNum) const

Definition at line 1690 of file TComSlice.cpp.

Int TComReferencePictureSet::getDeltaPOC ( Int  bufferNum) const

Definition at line 1670 of file TComSlice.cpp.

Int TComReferencePictureSet::getDeltaPocMSBCycleLT ( Int  i) const
inline

Definition at line 90 of file TComSlice.h.

Bool TComReferencePictureSet::getDeltaPocMSBPresentFlag ( Int  i) const
inline

Definition at line 92 of file TComSlice.h.

Int TComReferencePictureSet::getDeltaRIdxMinus1 ( ) const
inline

Definition at line 116 of file TComSlice.h.

Int TComReferencePictureSet::getDeltaRPS ( ) const
inline

Definition at line 118 of file TComSlice.h.

Bool TComReferencePictureSet::getInterRPSPrediction ( ) const
inline

Definition at line 114 of file TComSlice.h.

Int TComReferencePictureSet::getNumberOfLongtermPictures ( ) const
inline

Definition at line 111 of file TComSlice.h.

Int TComReferencePictureSet::getNumberOfNegativePictures ( ) const
inline

Definition at line 107 of file TComSlice.h.

Int TComReferencePictureSet::getNumberOfPictures ( ) const

Definition at line 1675 of file TComSlice.cpp.

Int TComReferencePictureSet::getNumberOfPositivePictures ( ) const
inline

Definition at line 109 of file TComSlice.h.

Int TComReferencePictureSet::getNumRefIdc ( ) const
inline

Definition at line 120 of file TComSlice.h.

Int TComReferencePictureSet::getPOC ( Int  bufferNum) const

Definition at line 1680 of file TComSlice.cpp.

Int TComReferencePictureSet::getPocLSBLT ( Int  i) const
inline

Definition at line 88 of file TComSlice.h.

Int TComReferencePictureSet::getRefIdc ( Int  bufferNum) const

get the reference idc value at uiBufferNum

Definition at line 1707 of file TComSlice.cpp.

Int TComReferencePictureSet::getUsed ( Int  bufferNum) const

Definition at line 1665 of file TComSlice.cpp.

Void TComReferencePictureSet::printDeltaPOC ( ) const

Prints the deltaPOC and RefIdc (if available) values in the RPS. A "*" is added to the deltaPOC value if it is Used bu current.

Returns
Void

Definition at line 1753 of file TComSlice.cpp.

Void TComReferencePictureSet::setCheckLTMSBPresent ( Int  bufferNum,
Bool  b 
)

Definition at line 1695 of file TComSlice.cpp.

Void TComReferencePictureSet::setDeltaPOC ( Int  bufferNum,
Int  deltaPOC 
)

Definition at line 1655 of file TComSlice.cpp.

Void TComReferencePictureSet::setDeltaPocMSBCycleLT ( Int  i,
Int  x 
)
inline

Definition at line 91 of file TComSlice.h.

Void TComReferencePictureSet::setDeltaPocMSBPresentFlag ( Int  i,
Bool  x 
)
inline

Definition at line 93 of file TComSlice.h.

Void TComReferencePictureSet::setDeltaRIdxMinus1 ( Int  x)
inline

Definition at line 115 of file TComSlice.h.

Void TComReferencePictureSet::setDeltaRPS ( Int  x)
inline

Definition at line 117 of file TComSlice.h.

Void TComReferencePictureSet::setInterRPSPrediction ( Bool  flag)
inline

Definition at line 113 of file TComSlice.h.

Void TComReferencePictureSet::setNumberOfLongtermPictures ( Int  number)
inline

Definition at line 110 of file TComSlice.h.

Void TComReferencePictureSet::setNumberOfNegativePictures ( Int  number)
inline

Definition at line 106 of file TComSlice.h.

Void TComReferencePictureSet::setNumberOfPictures ( Int  numberOfPictures)

Definition at line 1660 of file TComSlice.cpp.

Void TComReferencePictureSet::setNumberOfPositivePictures ( Int  number)
inline

Definition at line 108 of file TComSlice.h.

Void TComReferencePictureSet::setNumRefIdc ( Int  x)
inline

Definition at line 119 of file TComSlice.h.

Void TComReferencePictureSet::setPOC ( Int  bufferNum,
Int  deltaPOC 
)

Definition at line 1685 of file TComSlice.cpp.

Void TComReferencePictureSet::setPocLSBLT ( Int  i,
Int  x 
)
inline

Definition at line 89 of file TComSlice.h.

Void TComReferencePictureSet::setRefIdc ( Int  bufferNum,
Int  refIdc 
)

set the reference idc value at uiBufferNum entry to the value of iRefIdc

Definition at line 1701 of file TComSlice.cpp.

Void TComReferencePictureSet::setUsed ( Int  bufferNum,
Bool  used 
)

Definition at line 1650 of file TComSlice.cpp.

Void TComReferencePictureSet::sortDeltaPOC ( )

Sorts the deltaPOC and Used by current values in the RPS based on the deltaPOC values. deltaPOC values are sorted with -ve values before the +ve values. -ve values are in decreasing order. +ve values are in increasing order.

Returns
Void

Definition at line 1717 of file TComSlice.cpp.

Member Data Documentation

Bool TComReferencePictureSet::m_bCheckLTMSB[MAX_NUM_REF_PICS]
private

Definition at line 80 of file TComSlice.h.

Int TComReferencePictureSet::m_deltaPOC[MAX_NUM_REF_PICS]
private

Definition at line 72 of file TComSlice.h.

Int TComReferencePictureSet::m_deltaPOCMSBCycleLT[MAX_NUM_REF_PICS]
private

Definition at line 82 of file TComSlice.h.

Bool TComReferencePictureSet::m_deltaPocMSBPresentFlag[MAX_NUM_REF_PICS]
private

Definition at line 83 of file TComSlice.h.

Int TComReferencePictureSet::m_deltaRIdxMinus1
private

Definition at line 76 of file TComSlice.h.

Int TComReferencePictureSet::m_deltaRPS
private

Definition at line 77 of file TComSlice.h.

Bool TComReferencePictureSet::m_interRPSPrediction
private

Definition at line 75 of file TComSlice.h.

Int TComReferencePictureSet::m_numberOfLongtermPictures
private

Definition at line 71 of file TComSlice.h.

Int TComReferencePictureSet::m_numberOfNegativePictures
private

Definition at line 69 of file TComSlice.h.

Int TComReferencePictureSet::m_numberOfPictures
private

Definition at line 68 of file TComSlice.h.

Int TComReferencePictureSet::m_numberOfPositivePictures
private

Definition at line 70 of file TComSlice.h.

Int TComReferencePictureSet::m_numRefIdc
private

Definition at line 78 of file TComSlice.h.

Int TComReferencePictureSet::m_POC[MAX_NUM_REF_PICS]
private

Definition at line 73 of file TComSlice.h.

Int TComReferencePictureSet::m_pocLSBLT[MAX_NUM_REF_PICS]
private

Definition at line 81 of file TComSlice.h.

Int TComReferencePictureSet::m_refIdc[MAX_NUM_REF_PICS+1]
private

Definition at line 79 of file TComSlice.h.

Bool TComReferencePictureSet::m_used[MAX_NUM_REF_PICS]
private

Definition at line 74 of file TComSlice.h.


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