libopenraw
Public Member Functions | Protected Attributes | List of all members
OpenRaw::Internals::Decompressor Class Referenceabstract
Inheritance diagram for OpenRaw::Internals::Decompressor:
OpenRaw::Internals::CrwDecompressor OpenRaw::Internals::LJpegDecompressor OpenRaw::Internals::OlympusDecompressor

Public Member Functions

 Decompressor (IO::Stream *stream, RawContainer *container)
 
 Decompressor (const Decompressor &)=delete
 
Decompressoroperator= (const Decompressor &)=delete
 
virtual RawDatadecompress (RawData *in=NULL)=0
 

Protected Attributes

IO::Streamm_stream
 
RawContainerm_container
 

Detailed Description

Definition at line 38 of file decompressor.hpp.

Member Function Documentation

§ decompress()

virtual RawData* OpenRaw::Internals::Decompressor::decompress ( RawData in = NULL)
pure virtual

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

Implemented in OpenRaw::Internals::LJpegDecompressor, OpenRaw::Internals::CrwDecompressor, and OpenRaw::Internals::OlympusDecompressor.


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