libopenraw
Classes | Public Member Functions
OpenRaw::Internals::CrwDecompressor Class Reference
Inheritance diagram for OpenRaw::Internals::CrwDecompressor:
OpenRaw::Internals::Decompressor

List of all members.

Classes

struct  decode_t

Public Member Functions

 CrwDecompressor (IO::Stream *stream, RawContainer *container)
virtual RawDatadecompress (RawData *in=NULL)
void setDecoderTable (uint32_t t)
void setOutputDimensions (uint32_t x, uint32_t y)

Detailed Description

Definition at line 42 of file crwdecompressor.h.


Member Function Documentation

decompress the bitmapdata and return a new bitmap

Parameters:
ina preallocated BitmapData instance or NULL if decompress has to allocate it.
Returns:
the new bitmap decompressed. NULL is failure. Caller owns it.
Todo:
use a shared_ptr here, or something

Implements OpenRaw::Internals::Decompressor.

Definition at line 263 of file crwdecompressor.cpp.

References OpenRaw::IO::Stream::seek(), OpenRaw::BitmapData::setBpc(), OpenRaw::BitmapData::setDataType(), and OpenRaw::RawData::setDimensions().


The documentation for this class was generated from the following files: