Classes | Namespaces | Macros
decoder.h File Reference
#include <cstring>
#include "iz_p.h"
Include dependency graph for decoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IZ::ImageDecoder< bpp, Predictor, Code >
 

Namespaces

 IZ
 

Macros

#define decodePixel(predictor)
 

Macro Definition Documentation

#define decodePixel (   predictor)
Value:
{ \
Pixel<> pix, pp; \
\
this->fillCache(); \
int nl = decodeTable[pl][this->peekBits(MAX_CODE_LENGTH)]; \
this->skipBits(dCount[(pl << CONTEXT_BITS) + nl]); \
pl = nl; \
pix.readBits(*this, nl); \
\
pp.predict(p, bpp, bpr, predictor::predict); \
pix.toSigned(); \
pix.reverseTransform(); \
pix += pp; \
pix.writeTo(p); \
p += bpp; \
}
const int MAX_CODE_LENGTH
Definition: iz_p.h:16
const int CONTEXT_BITS
Definition: iz_p.h:12
char decodeTable[1<< CONTEXT_BITS][MAX_CODE_VALUE]
Definition: table.cpp:39

Definition at line 10 of file decoder.h.



imagezero
Author(s):
autogenerated on Wed Jun 5 2019 22:02:47