libopenraw
|
Public Member Functions | |
LJpegDecompressor (IO::Stream *, RawContainer *) | |
virtual RawDataPtr | decompress () override |
void | setSlices (const std::vector< uint16_t > &slices) |
bool | isSliced () const |
![]() | |
Decompressor (IO::Stream *stream, RawContainer *container) | |
Decompressor (const Decompressor &)=delete | |
Decompressor & | operator= (const Decompressor &)=delete |
Additional Inherited Members | |
![]() | |
IO::Stream * | m_stream |
RawContainer * | m_container |
Definition at line 48 of file ljpegdecompressor.hpp.
|
overridevirtual |
decompress the bitmapdata and return a new bitmap
Implements OpenRaw::Internals::Decompressor.
Definition at line 1534 of file ljpegdecompressor.cpp.
Referenced by OpenRaw::Internals::DngFile::_getRawData().
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 115 of file ljpegdecompressor.cpp.
References OpenRaw::IO::Stream::seek(), and OpenRaw::Internals::RawContainer::size().