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 RawDataPtr decompress ()=0
 

Protected Attributes

IO::Streamm_stream
 
RawContainerm_container
 

Detailed Description

Definition at line 38 of file decompressor.hpp.

Constructor & Destructor Documentation

◆ Decompressor()

OpenRaw::Internals::Decompressor::Decompressor ( IO::Stream stream,
RawContainer container 
)

Definition at line 26 of file decompressor.cpp.

◆ ~Decompressor()

OpenRaw::Internals::Decompressor::~Decompressor ( )
virtual

Definition at line 30 of file decompressor.cpp.

Member Function Documentation

◆ decompress()

virtual RawDataPtr OpenRaw::Internals::Decompressor::decompress ( )
pure virtual

decompress the bitmapdata and return a new bitmap

Returns
the new bitmap decompressed. NULL is failure.

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

Member Data Documentation

◆ m_container

RawContainer* OpenRaw::Internals::Decompressor::m_container
protected

Definition at line 54 of file decompressor.hpp.

◆ m_stream

IO::Stream* OpenRaw::Internals::Decompressor::m_stream
protected

Definition at line 53 of file decompressor.hpp.


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