HEVC Test Model (HM)  HM-16.3
Protected Attributes | Private Attributes | List of all members
TComSampleAdaptiveOffset Class Reference

#include <TComSampleAdaptiveOffset.h>

Inheritance diagram for TComSampleAdaptiveOffset:
Inheritance graph
[legend]
Collaboration diagram for TComSampleAdaptiveOffset:
Collaboration graph
[legend]

Protected Attributes

UInt m_offsetStepLog2 [MAX_NUM_COMPONENT]
 
TComPicYuvm_tempPicYuv
 
Int m_picWidth
 
Int m_picHeight
 
Int m_maxCUWidth
 
Int m_maxCUHeight
 
Int m_numCTUInWidth
 
Int m_numCTUInHeight
 
Int m_numCTUsPic
 
Int m_lineBufWidth
 
Charm_signLineBuf1
 
Charm_signLineBuf2
 
ChromaFormat m_chromaFormatIDC
 

Private Attributes

Bool m_picSAOEnabled [MAX_NUM_COMPONENT]
 
 TComSampleAdaptiveOffset ()
 
virtual ~TComSampleAdaptiveOffset ()
 
Void SAOProcess (TComPic *pDecPic)
 
Void create (Int picWidth, Int picHeight, ChromaFormat format, UInt maxCUWidth, UInt maxCUHeight, UInt maxCUDepth, UInt lumaBitShift, UInt chromaBitShift)
 
Void destroy ()
 
Void reconstructBlkSAOParams (TComPic *pic, SAOBlkParam *saoBlkParams)
 
Void PCMLFDisableProcess (TComPic *pcPic)
 
Void offsetBlock (ComponentID compIdx, Int typeIdx, Int *offset, Pel *srcBlk, Pel *resBlk, Int srcStride, Int resStride, Int width, Int height, Bool isLeftAvail, Bool isRightAvail, Bool isAboveAvail, Bool isBelowAvail, Bool isAboveLeftAvail, Bool isAboveRightAvail, Bool isBelowLeftAvail, Bool isBelowRightAvail)
 
Void invertQuantOffsets (ComponentID compIdx, Int typeIdc, Int typeAuxInfo, Int *dstOffsets, Int *srcOffsets)
 
Void reconstructBlkSAOParam (SAOBlkParam &recParam, SAOBlkParam *mergeList[NUM_SAO_MERGE_TYPES])
 
Int getMergeList (TComPic *pic, Int ctuRsAddr, SAOBlkParam *blkParams, SAOBlkParam *mergeList[NUM_SAO_MERGE_TYPES])
 
Void offsetCTU (Int ctuRsAddr, TComPicYuv *srcYuv, TComPicYuv *resYuv, SAOBlkParam &saoblkParam, TComPic *pPic)
 
Void xPCMRestoration (TComPic *pcPic)
 
Void xPCMCURestoration (TComDataCU *pcCU, UInt uiAbsZorderIdx, UInt uiDepth)
 
Void xPCMSampleRestoration (TComDataCU *pcCU, UInt uiAbsZorderIdx, UInt uiDepth, const ComponentID compID)
 

Detailed Description

Definition at line 64 of file TComSampleAdaptiveOffset.h.

Constructor & Destructor Documentation

TComSampleAdaptiveOffset::TComSampleAdaptiveOffset ( )

Definition at line 106 of file TComSampleAdaptiveOffset.cpp.

TComSampleAdaptiveOffset::~TComSampleAdaptiveOffset ( )
virtual

Definition at line 115 of file TComSampleAdaptiveOffset.cpp.

Member Function Documentation

Void TComSampleAdaptiveOffset::create ( Int  picWidth,
Int  picHeight,
ChromaFormat  format,
UInt  maxCUWidth,
UInt  maxCUHeight,
UInt  maxCUDepth,
UInt  lumaBitShift,
UInt  chromaBitShift 
)

Definition at line 131 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::destroy ( )

Definition at line 161 of file TComSampleAdaptiveOffset.cpp.

Int TComSampleAdaptiveOffset::getMergeList ( TComPic pic,
Int  ctuRsAddr,
SAOBlkParam blkParams,
SAOBlkParam mergeList[NUM_SAO_MERGE_TYPES] 
)
protected

Definition at line 196 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::invertQuantOffsets ( ComponentID  compIdx,
Int  typeIdc,
Int  typeAuxInfo,
Int dstOffsets,
Int srcOffsets 
)
protected

Definition at line 171 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::offsetBlock ( ComponentID  compIdx,
Int  typeIdx,
Int offset,
Pel srcBlk,
Pel resBlk,
Int  srcStride,
Int  resStride,
Int  width,
Int  height,
Bool  isLeftAvail,
Bool  isRightAvail,
Bool  isAboveAvail,
Bool  isBelowAvail,
Bool  isAboveLeftAvail,
Bool  isAboveRightAvail,
Bool  isBelowLeftAvail,
Bool  isBelowRightAvail 
)
protected

Definition at line 317 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::offsetCTU ( Int  ctuRsAddr,
TComPicYuv srcYuv,
TComPicYuv resYuv,
SAOBlkParam saoblkParam,
TComPic pPic 
)
protected

Definition at line 558 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::PCMLFDisableProcess ( TComPic pcPic)

PCM LF disable process.

Parameters
pcPicpicture (TComPic) pointer
Note
Replace filtered sample values of PCM mode blocks with the transmitted and reconstructed ones.

Definition at line 649 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::reconstructBlkSAOParam ( SAOBlkParam recParam,
SAOBlkParam mergeList[NUM_SAO_MERGE_TYPES] 
)
protected

Definition at line 252 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::reconstructBlkSAOParams ( TComPic pic,
SAOBlkParam saoBlkParams 
)

Definition at line 290 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::SAOProcess ( TComPic pDecPic)

Definition at line 618 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::xPCMCURestoration ( TComDataCU pcCU,
UInt  uiAbsZorderIdx,
UInt  uiDepth 
)
protected

PCM CU restoration.

Parameters
pcCUpointer to current CU
uiAbsZorderIdxpart index
uiDepthCU depth

Definition at line 677 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::xPCMRestoration ( TComPic pcPic)
protected

Picture-level PCM restoration.

Parameters
pcPicpicture (TComPic) pointer

Definition at line 657 of file TComSampleAdaptiveOffset.cpp.

Void TComSampleAdaptiveOffset::xPCMSampleRestoration ( TComDataCU pcCU,
UInt  uiAbsZorderIdx,
UInt  uiDepth,
const ComponentID  compID 
)
protected

PCM sample restoration.

Parameters
pcCUpointer to current CU
uiAbsZorderIdxpart index
uiDepthCU depth
compIDtexture component type

Definition at line 715 of file TComSampleAdaptiveOffset.cpp.

Member Data Documentation

ChromaFormat TComSampleAdaptiveOffset::m_chromaFormatIDC
protected

Definition at line 99 of file TComSampleAdaptiveOffset.h.

Int TComSampleAdaptiveOffset::m_lineBufWidth
protected

Definition at line 96 of file TComSampleAdaptiveOffset.h.

Int TComSampleAdaptiveOffset::m_maxCUHeight
protected

Definition at line 90 of file TComSampleAdaptiveOffset.h.

Int TComSampleAdaptiveOffset::m_maxCUWidth
protected

Definition at line 89 of file TComSampleAdaptiveOffset.h.

Int TComSampleAdaptiveOffset::m_numCTUInHeight
protected

Definition at line 92 of file TComSampleAdaptiveOffset.h.

Int TComSampleAdaptiveOffset::m_numCTUInWidth
protected

Definition at line 91 of file TComSampleAdaptiveOffset.h.

Int TComSampleAdaptiveOffset::m_numCTUsPic
protected

Definition at line 93 of file TComSampleAdaptiveOffset.h.

UInt TComSampleAdaptiveOffset::m_offsetStepLog2[MAX_NUM_COMPONENT]
protected

Definition at line 85 of file TComSampleAdaptiveOffset.h.

Int TComSampleAdaptiveOffset::m_picHeight
protected

Definition at line 88 of file TComSampleAdaptiveOffset.h.

Bool TComSampleAdaptiveOffset::m_picSAOEnabled[MAX_NUM_COMPONENT]
private

Definition at line 101 of file TComSampleAdaptiveOffset.h.

Int TComSampleAdaptiveOffset::m_picWidth
protected

Definition at line 87 of file TComSampleAdaptiveOffset.h.

Char* TComSampleAdaptiveOffset::m_signLineBuf1
protected

Definition at line 97 of file TComSampleAdaptiveOffset.h.

Char* TComSampleAdaptiveOffset::m_signLineBuf2
protected

Definition at line 98 of file TComSampleAdaptiveOffset.h.

TComPicYuv* TComSampleAdaptiveOffset::m_tempPicYuv
protected

Definition at line 86 of file TComSampleAdaptiveOffset.h.


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