Go to the source code of this file.
Classes | |
class | IZ::ImageDecoder< bpp, Predictor, Code > |
Namespaces | |
namespace | IZ |
Defines | |
#define | decodePixel(predictor) |
#define decodePixel | ( | predictor | ) |
{ \ 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; \ }