#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 } |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |