HEVC Test Model (HM)  HM-16.3
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 [16]
 
Int m_POC [16]
 
Bool m_used [16]
 
Bool m_interRPSPrediction
 
Int m_deltaRIdxMinus1
 
Int m_deltaRPS
 
Int m_numRefIdc
 
Int m_refIdc [16+1]
 
Bool m_bCheckLTMSB [16]
 
Int m_pocLSBLT [16]
 
Int m_deltaPOCMSBCycleLT [16]
 
Bool m_deltaPocMSBPresentFlag [16]
 

Detailed Description

Reference Picture Set class.

Definition at line 65 of file TComSlice.h.

Constructor & Destructor Documentation

TComReferencePictureSet::TComReferencePictureSet ( )

Definition at line 1776 of file TComSlice.cpp.

TComReferencePictureSet::~TComReferencePictureSet ( )
virtual

Definition at line 1796 of file TComSlice.cpp.

Member Function Documentation

Bool TComReferencePictureSet::getCheckLTMSBPresent ( Int  bufferNum) const

Definition at line 1840 of file TComSlice.cpp.

Int TComReferencePictureSet::getDeltaPOC ( Int  bufferNum) const

Definition at line 1820 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 1825 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 1830 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 1857 of file TComSlice.cpp.

Int TComReferencePictureSet::getUsed ( Int  bufferNum) const

Definition at line 1815 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 1903 of file TComSlice.cpp.

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

Definition at line 1845 of file TComSlice.cpp.

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

Definition at line 1805 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 1810 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 1835 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 1851 of file TComSlice.cpp.

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

Definition at line 1800 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 1867 of file TComSlice.cpp.

Member Data Documentation

Bool TComReferencePictureSet::m_bCheckLTMSB[16]
private

Definition at line 80 of file TComSlice.h.

Int TComReferencePictureSet::m_deltaPOC[16]
private

Definition at line 72 of file TComSlice.h.

Int TComReferencePictureSet::m_deltaPOCMSBCycleLT[16]
private

Definition at line 82 of file TComSlice.h.

Bool TComReferencePictureSet::m_deltaPocMSBPresentFlag[16]
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[16]
private

Definition at line 73 of file TComSlice.h.

Int TComReferencePictureSet::m_pocLSBLT[16]
private

Definition at line 81 of file TComSlice.h.

Int TComReferencePictureSet::m_refIdc[16+1]
private

Definition at line 79 of file TComSlice.h.

Bool TComReferencePictureSet::m_used[16]
private

Definition at line 74 of file TComSlice.h.


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