Grok 20.3.2
grk::dwt_scratch< ST > Struct Template Reference

#include <WaveletReverse.h>

Public Member Functions

 dwt_scratch (void)=default
 dwt_scratch (const dwt_scratch &rhs)
 ~dwt_scratch (void)
bool alloc (size_t len)
bool alloc (size_t len, size_t padding)
void clear (void)
void release (void)

Public Attributes

ST * allocatedMem = nullptr
size_t lenBytes_ = 0
size_t paddingBytes_ = 0
ST * mem = nullptr
ST * memL = nullptr
ST * memH = nullptr
bool ownsData_ = false
uint32_t sn = 0
uint32_t dn = 0
uint32_t parity = 0
Line32 win_l
Line32 win_h
uint8_t resno = 0
uint32_t outputStart = 0
uint32_t outputCount = 0

Constructor & Destructor Documentation

◆ dwt_scratch() [1/2]

template<typename ST>
grk::dwt_scratch< ST >::dwt_scratch ( void )
default

Referenced by dwt_scratch().

◆ dwt_scratch() [2/2]

template<typename ST>
grk::dwt_scratch< ST >::dwt_scratch ( const dwt_scratch< ST > & rhs)
inline

◆ ~dwt_scratch()

template<typename ST>
grk::dwt_scratch< ST >::~dwt_scratch ( void )
inline

References release().

Member Function Documentation

◆ alloc() [1/2]

template<typename ST>
bool grk::dwt_scratch< ST >::alloc ( size_t len)
inline

References alloc().

Referenced by alloc().

◆ alloc() [2/2]

template<typename ST>
bool grk::dwt_scratch< ST >::alloc ( size_t len,
size_t padding )
inline

◆ clear()

template<typename ST>
void grk::dwt_scratch< ST >::clear ( void )
inline

References allocatedMem, and lenBytes_.

◆ release()

template<typename ST>
void grk::dwt_scratch< ST >::release ( void )
inline

Member Data Documentation

◆ allocatedMem

template<typename ST>
ST* grk::dwt_scratch< ST >::allocatedMem = nullptr

◆ dn

◆ lenBytes_

template<typename ST>
size_t grk::dwt_scratch< ST >::lenBytes_ = 0

◆ mem

◆ memH

◆ memL

◆ outputCount

template<typename ST>
uint32_t grk::dwt_scratch< ST >::outputCount = 0

Referenced by dwt_scratch().

◆ outputStart

template<typename ST>
uint32_t grk::dwt_scratch< ST >::outputStart = 0

Referenced by dwt_scratch().

◆ ownsData_

template<typename ST>
bool grk::dwt_scratch< ST >::ownsData_ = false

Referenced by alloc(), and release().

◆ paddingBytes_

template<typename ST>
size_t grk::dwt_scratch< ST >::paddingBytes_ = 0

Referenced by alloc(), and dwt_scratch().

◆ parity

◆ resno

◆ sn

◆ win_h

◆ win_l


The documentation for this struct was generated from the following file: