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

general YUV buffer class More...

#include <TComYuv.h>

Public Member Functions

PelgetAddr (const ComponentID id)
 
const PelgetAddr (const ComponentID id) const
 
PelgetAddr (const ComponentID id, const UInt uiPartUnitIdx)
 
const PelgetAddr (const ComponentID id, const UInt uiPartUnitIdx) const
 
PelgetAddr (const ComponentID id, const UInt iTransUnitIdx, const UInt iBlkSizeForComponent)
 
const PelgetAddr (const ComponentID id, const UInt iTransUnitIdx, const UInt iBlkSizeForComponent) const
 
PelgetAddrPix (const ComponentID id, const UInt iPixX, const UInt iPixY)
 
const PelgetAddrPix (const ComponentID id, const UInt iPixX, const UInt iPixY) const
 
UInt getStride (const ComponentID id) const
 
UInt getHeight (const ComponentID id) const
 
UInt getWidth (const ComponentID id) const
 
ChromaFormat getChromaFormat () const
 
UInt getNumberValidComponents () const
 
UInt getComponentScaleX (const ComponentID id) const
 
UInt getComponentScaleY (const ComponentID id) const
 
 TComYuv ()
 
virtual ~TComYuv ()
 
Void create (const UInt iWidth, const UInt iHeight, const ChromaFormat chromaFormatIDC)
 Create YUV buffer. More...
 
Void destroy ()
 Destroy YUV buffer. More...
 
Void clear ()
 clear YUV buffer More...
 
Void copyToPicYuv (TComPicYuv *pcPicYuvDst, const UInt ctuRsAddr, const UInt uiAbsZorderIdx, const UInt uiPartDepth=0, const UInt uiPartIdx=0) const
 
Void copyToPicComponent (const ComponentID id, TComPicYuv *pcPicYuvDst, const UInt iCtuRsAddr, const UInt uiAbsZorderIdx, const UInt uiPartDepth=0, const UInt uiPartIdx=0) const
 
Void copyFromPicYuv (const TComPicYuv *pcPicYuvSrc, const UInt ctuRsAddr, const UInt uiAbsZorderIdx)
 
Void copyFromPicComponent (const ComponentID id, const TComPicYuv *pcPicYuvSrc, const UInt iCtuRsAddr, const UInt uiAbsZorderIdx)
 
Void copyToPartYuv (TComYuv *pcYuvDst, const UInt uiDstPartIdx) const
 
Void copyToPartComponent (const ComponentID id, TComYuv *pcYuvDst, const UInt uiDstPartIdx) const
 
Void copyPartToYuv (TComYuv *pcYuvDst, const UInt uiSrcPartIdx) const
 
Void copyPartToComponent (const ComponentID id, TComYuv *pcYuvDst, const UInt uiSrcPartIdx) const
 
Void copyPartToPartYuv (TComYuv *pcYuvDst, const UInt uiPartIdx, const UInt uiWidth, const UInt uiHeight) const
 
Void copyPartToPartComponent (const ComponentID id, TComYuv *pcYuvDst, const UInt uiPartIdx, const UInt uiWidthComponent, const UInt uiHeightComponent) const
 
Void copyPartToPartComponentMxN (const ComponentID id, TComYuv *pcYuvDst, const TComRectangle &rect) const
 
Void addClip (const TComYuv *pcYuvSrc0, const TComYuv *pcYuvSrc1, const UInt uiTrUnitIdx, const UInt uiPartSize, const BitDepths &clipBitDepths)
 
Void subtract (const TComYuv *pcYuvSrc0, const TComYuv *pcYuvSrc1, const UInt uiTrUnitIdx, const UInt uiPartSize)
 
Void addAvg (const TComYuv *pcYuvSrc0, const TComYuv *pcYuvSrc1, const UInt iPartUnitIdx, const UInt iWidth, const UInt iHeight, const BitDepths &clipBitDepths)
 
Void removeHighFreq (const TComYuv *pcYuvSrc, const UInt uiPartIdx, const UInt uiWidth, const UInt uiHeight, const Int bitDepths[MAX_NUM_CHANNEL_TYPE], const Bool bClipToBitDepths)
 

Private Attributes

Pelm_apiBuf [MAX_NUM_COMPONENT]
 
UInt m_iWidth
 
UInt m_iHeight
 
ChromaFormat m_chromaFormatIDC
 

Detailed Description

general YUV buffer class

Definition at line 54 of file TComYuv.h.

Member Function Documentation

Pel* TComYuv::getAddr ( const ComponentID  id)
inline

Definition at line 150 of file TComYuv.h.

const Pel* TComYuv::getAddr ( const ComponentID  id) const
inline

Definition at line 151 of file TComYuv.h.

Pel* TComYuv::getAddr ( const ComponentID  id,
const UInt  uiPartUnitIdx 
)
inline

Definition at line 154 of file TComYuv.h.

const Pel* TComYuv::getAddr ( const ComponentID  id,
const UInt  uiPartUnitIdx 
) const
inline

Definition at line 161 of file TComYuv.h.

Pel* TComYuv::getAddr ( const ComponentID  id,
const UInt  iTransUnitIdx,
const UInt  iBlkSizeForComponent 
)
inline

Definition at line 170 of file TComYuv.h.

const Pel* TComYuv::getAddr ( const ComponentID  id,
const UInt  iTransUnitIdx,
const UInt  iBlkSizeForComponent 
) const
inline

Definition at line 182 of file TComYuv.h.

Pel* TComYuv::getAddrPix ( const ComponentID  id,
const UInt  iPixX,
const UInt  iPixY 
)
inline

Definition at line 195 of file TComYuv.h.

const Pel* TComYuv::getAddrPix ( const ComponentID  id,
const UInt  iPixX,
const UInt  iPixY 
) const
inline

Definition at line 196 of file TComYuv.h.

ChromaFormat TComYuv::getChromaFormat ( ) const
inline

Definition at line 202 of file TComYuv.h.

UInt TComYuv::getComponentScaleX ( const ComponentID  id) const
inline

Definition at line 204 of file TComYuv.h.

UInt TComYuv::getComponentScaleY ( const ComponentID  id) const
inline

Definition at line 205 of file TComYuv.h.

UInt TComYuv::getHeight ( const ComponentID  id) const
inline

Definition at line 200 of file TComYuv.h.

UInt TComYuv::getNumberValidComponents ( ) const
inline

Definition at line 203 of file TComYuv.h.

UInt TComYuv::getStride ( const ComponentID  id) const
inline

Definition at line 199 of file TComYuv.h.

UInt TComYuv::getWidth ( const ComponentID  id) const
inline

Definition at line 201 of file TComYuv.h.

Member Data Documentation

Pel* TComYuv::m_apiBuf[MAX_NUM_COMPONENT]
private

Definition at line 62 of file TComYuv.h.

ChromaFormat TComYuv::m_chromaFormatIDC
private

Definition at line 70 of file TComYuv.h.

UInt TComYuv::m_iHeight
private

Definition at line 69 of file TComYuv.h.

UInt TComYuv::m_iWidth
private

Definition at line 68 of file TComYuv.h.


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