Public Member Functions | |
LJpegDecompressor (IO::Stream *, RawContainer *) | |
virtual RawData * | decompress (RawData *in=NULL) |
void | setSlices (const std::vector< uint16_t > &slices) |
bool | isSliced () const |
Definition at line 44 of file ljpegdecompressor.h.
decompress the bitmapdata and return a new bitmap
in | a preallocated BitmapData instance or NULL if decompress has to allocate it. |
Implements OpenRaw::Internals::Decompressor.
Definition at line 1542 of file ljpegdecompressor.cpp.
References OpenRaw::BitmapData::setBpc(), OpenRaw::BitmapData::setDataType(), and OpenRaw::RawData::setDimensions().
void OpenRaw::Internals::LJpegDecompressor::setSlices | ( | const std::vector< uint16_t > & | slices | ) |
Set the "slices"
slices | the vector containing the Canon-style slices. |
the format of the slices vector is as follow N col1 col2 N is the number of repeat for col1. The total number of slices is always N+1 This is for Canon CR2.
Definition at line 111 of file ljpegdecompressor.cpp.