Classes | Namespaces | Defines
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

namespace  IZ

Defines

#define decodePixel(predictor)

Define 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;                                   \
}

Definition at line 10 of file decoder.h.



imagezero
Author(s):
autogenerated on Thu Jun 6 2019 21:34:51