Public Member Functions | Public Attributes | Private Types | List of all members
IZ::Pixel< U > Class Template Reference

#include <pixel.h>

Public Member Functions

void forwardTransform ()
 
unsigned int numBits () const
 
void operator+= (const Pixel< U > &other)
 
void operator-= (const Pixel< U > &other)
 
bool operator== (const Pixel< U > &other) const
 
void predict (const U *p, int bpp, int bpr, int(*predictor)(int, int, int)) __attribute__((always_inline))
 
void readBits (BitDecoder<> &bc, int numBits)
 
void readFrom (const U *p)
 
void reverseTransform ()
 
void toSigned ()
 
void toUnsigned ()
 
void writeBits (BitEncoder<> &bc, int numBits) const
 
void writeTo (U *p) const
 

Public Attributes

int c [Count]
 

Private Types

enum  Components {
  R = 0, G = 1, B = 2, Count = 3,
  C0 = G, C1 = R, C2 = B
}
 

Detailed Description

template<typename U = unsigned char>
class IZ::Pixel< U >

Definition at line 10 of file pixel.h.

Member Enumeration Documentation

template<typename U = unsigned char>
enum IZ::Pixel::Components
private
Enumerator
Count 
C0 
C1 
C2 

Definition at line 12 of file pixel.h.

Member Function Documentation

template<typename U = unsigned char>
void IZ::Pixel< U >::forwardTransform ( )
inline

Definition at line 64 of file pixel.h.

template<typename U = unsigned char>
unsigned int IZ::Pixel< U >::numBits ( ) const
inline

Definition at line 105 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::operator+= ( const Pixel< U > &  other)
inline

Definition at line 52 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::operator-= ( const Pixel< U > &  other)
inline

Definition at line 45 of file pixel.h.

template<typename U = unsigned char>
bool IZ::Pixel< U >::operator== ( const Pixel< U > &  other) const
inline

Definition at line 59 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::predict ( const U *  p,
int  bpp,
int  bpr,
int(*)(int, int, int)  predictor 
)
inline

Definition at line 38 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::readBits ( BitDecoder<> &  bc,
int  numBits 
)
inline

Definition at line 118 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::readFrom ( const U *  p)
inline

Definition at line 24 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::reverseTransform ( )
inline

Definition at line 70 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::toSigned ( )
inline

Definition at line 98 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::toUnsigned ( )
inline

Definition at line 76 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::writeBits ( BitEncoder<> &  bc,
int  numBits 
) const
inline

Definition at line 110 of file pixel.h.

template<typename U = unsigned char>
void IZ::Pixel< U >::writeTo ( U *  p) const
inline

Definition at line 31 of file pixel.h.

Member Data Documentation

template<typename U = unsigned char>
int IZ::Pixel< U >::c[Count]

Definition at line 125 of file pixel.h.


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


imagezero
Author(s):
autogenerated on Mon Jun 10 2019 13:37:22