RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::SonyArw2Decompressor Class Referencefinal

#include "decompressors/SonyArw2Decompressor.h"

Inheritance diagram for rawspeed::SonyArw2Decompressor:
[legend]
Collaboration diagram for rawspeed::SonyArw2Decompressor:
[legend]

Public Member Functions

 SonyArw2Decompressor (RawImage img, ByteStream input)
void decompress () const

Private Member Functions

void decompressRow (int row) const
void decompressThread () const noexcept

Private Attributes

RawImage mRaw
ByteStream input

Detailed Description

Definition at line 29 of file SonyArw2Decompressor.h.

Constructor & Destructor Documentation

◆ SonyArw2Decompressor()

rawspeed::SonyArw2Decompressor::SonyArw2Decompressor ( RawImage img,
ByteStream input )

Definition at line 42 of file SonyArw2Decompressor.cpp.

References input, mRaw, rawspeed::ByteStream::peekStream(), ThrowRDE, and rawspeed::UINT16.

Here is the call graph for this function:

Member Function Documentation

◆ decompress()

void rawspeed::SonyArw2Decompressor::decompress ( ) const

Definition at line 136 of file SonyArw2Decompressor.cpp.

References decompressThread(), mRaw, and ThrowRDE.

Referenced by rawspeed::ArwDecoder::DecodeARW2(), and LLVMFuzzerTestOneInput().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decompressRow()

void rawspeed::SonyArw2Decompressor::decompressRow ( int row) const
private

Definition at line 57 of file SonyArw2Decompressor.cpp.

References rawspeed::Buffer::getAsArray1DRef(), rawspeed::BitStreamer< Tag >::getBits(), rawspeed::implicit_cast(), input, invariant, mRaw, rawspeed::BitStreamer< Tag >::peekBits(), rawspeed::ByteStream::peekRemainingBuffer(), rawspeed::ByteStream::peekStream(), rawspeed::ByteStream::skipBytes(), ThrowRDE, and rawspeed::Array2DRef< T >::width().

Referenced by decompressThread().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decompressThread()

void rawspeed::SonyArw2Decompressor::decompressThread ( ) const
privatenoexcept

Definition at line 112 of file SonyArw2Decompressor.cpp.

References decompressRow(), invariant, mRaw, and y.

Referenced by decompress().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ input

ByteStream rawspeed::SonyArw2Decompressor::input
private

Definition at line 34 of file SonyArw2Decompressor.h.

Referenced by SonyArw2Decompressor(), and decompressRow().

◆ mRaw

RawImage rawspeed::SonyArw2Decompressor::mRaw
private

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