libopenraw
OpenRaw::Internals::CrwDecompressor Class Reference
Inheritance diagram for OpenRaw::Internals::CrwDecompressor:
OpenRaw::Internals::Decompressor

Public Member Functions

 CrwDecompressor (IO::Stream *stream, RawContainer *container)
virtual RawDataPtr decompress () override
void setDecoderTable (uint32_t t)
void setOutputDimensions (uint32_t x, uint32_t y)
Public Member Functions inherited from OpenRaw::Internals::Decompressor
 Decompressor (IO::Stream *stream, RawContainer *container)
 Decompressor (const Decompressor &)=delete
Decompressoroperator= (const Decompressor &)=delete

Additional Inherited Members

Protected Attributes inherited from OpenRaw::Internals::Decompressor
IO::Streamm_stream
RawContainerm_container

Detailed Description

Definition at line 42 of file crwdecompressor.hpp.

Constructor & Destructor Documentation

◆ CrwDecompressor()

OpenRaw::Internals::CrwDecompressor::CrwDecompressor ( IO::Stream * stream,
RawContainer * container )

Definition at line 45 of file crwdecompressor.cpp.

◆ ~CrwDecompressor()

OpenRaw::Internals::CrwDecompressor::~CrwDecompressor ( )
virtual

Definition at line 56 of file crwdecompressor.cpp.

Member Function Documentation

◆ decompress()

RawDataPtr OpenRaw::Internals::CrwDecompressor::decompress ( )
overridevirtual

decompress the bitmapdata and return a new bitmap

Returns
the new bitmap decompressed. NULL is failure.

Implements OpenRaw::Internals::Decompressor.

Definition at line 265 of file crwdecompressor.cpp.

References decompress(), OpenRaw::BitmapData::setBpc(), OpenRaw::BitmapData::setDataType(), and RawData::setDimensions().

Referenced by OpenRaw::Internals::CRWFile::_getRawData(), and decompress().

◆ setDecoderTable()

void OpenRaw::Internals::CrwDecompressor::setDecoderTable ( uint32_t t)
inline

Definition at line 51 of file crwdecompressor.hpp.

◆ setOutputDimensions()

void OpenRaw::Internals::CrwDecompressor::setOutputDimensions ( uint32_t x,
uint32_t y )
inline

Definition at line 52 of file crwdecompressor.hpp.


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