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

#include "decompressors/SonyArw1Decompressor.h"

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

Public Member Functions

 SonyArw1Decompressor (RawImage img)
void decompress (ByteStream input) const

Static Private Member Functions

static int getDiff (BitStreamerMSB &bs, uint32_t len)

Private Attributes

RawImage mRaw

Detailed Description

Definition at line 32 of file SonyArw1Decompressor.h.

Constructor & Destructor Documentation

◆ SonyArw1Decompressor()

rawspeed::SonyArw1Decompressor::SonyArw1Decompressor ( RawImage img)
explicit

Definition at line 39 of file SonyArw1Decompressor.cpp.

References mRaw, ThrowRDE, and rawspeed::UINT16.

Member Function Documentation

◆ decompress()

void rawspeed::SonyArw1Decompressor::decompress ( ByteStream input) const

Definition at line 59 of file SonyArw1Decompressor.cpp.

References rawspeed::BitStreamer< Tag >::fill(), rawspeed::Buffer::getAsArray1DRef(), rawspeed::BitStreamer< Tag >::getBitsNoFill(), getDiff(), rawspeed::Array2DRef< T >::height(), rawspeed::implicit_cast(), invariant, rawspeed::isIntN(), mRaw, rawspeed::ByteStream::peekRemainingBuffer(), ThrowRDE, and rawspeed::Array2DRef< T >::width().

Referenced by rawspeed::ArwDecoder::decodeRawInternal(), rawspeed::ArwDecoder::decodeTransitionalArw(), and LLVMFuzzerTestOneInput().

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

◆ getDiff()

int rawspeed::SonyArw1Decompressor::getDiff ( BitStreamerMSB & bs,
uint32_t len )
inlinestaticprivate

Definition at line 52 of file SonyArw1Decompressor.cpp.

References rawspeed::AbstractPrefixCodeDecoder< CodeTag >::extend(), and rawspeed::BitStreamer< Tag >::getBitsNoFill().

Referenced by decompress().

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

Member Data Documentation

◆ mRaw

RawImage rawspeed::SonyArw1Decompressor::mRaw
private

Definition at line 33 of file SonyArw1Decompressor.h.

Referenced by SonyArw1Decompressor(), and decompress().


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