digiKam
MetaDataArray< DataUnit > Class Template Reference

Public Member Functions

LIBDE265_CHECK_RESULT bool alloc (int w, int h, int _log2unitSize)
 
void clear ()
 
DataUnit & get (int x, int y)
 
const DataUnit & get (int x, int y) const
 
 MetaDataArray ()
 
DataUnit & operator[] (int idx)
 
const DataUnit & operator[] (int idx) const
 
void set (int x, int y, const DataUnit &d)
 
int size () const
 
 ~MetaDataArray ()
 

Public Attributes

DataUnit * data
 
int data_size
 
int height_in_units
 
int log2unitSize
 
int width_in_units
 

Constructor & Destructor Documentation

◆ MetaDataArray()

◆ ~MetaDataArray()

template<class DataUnit >
MetaDataArray< DataUnit >::~MetaDataArray ( )
inline

Member Function Documentation

◆ alloc()

◆ clear()

template<class DataUnit >
void MetaDataArray< DataUnit >::clear ( )
inline

◆ get() [1/2]

◆ get() [2/2]

◆ operator[]() [1/2]

template<class DataUnit >
DataUnit& MetaDataArray< DataUnit >::operator[] ( int  idx)
inline

◆ operator[]() [2/2]

template<class DataUnit >
const DataUnit& MetaDataArray< DataUnit >::operator[] ( int  idx) const
inline

◆ set()

template<class DataUnit >
void MetaDataArray< DataUnit >::set ( int  x,
int  y,
const DataUnit &  d 
)
inline

◆ size()

template<class DataUnit >
int MetaDataArray< DataUnit >::size ( ) const
inline

Member Data Documentation

◆ data

◆ data_size

◆ height_in_units

◆ log2unitSize

◆ width_in_units


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