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

#include "decompressors/Cr2Decompressor.h"

Collaboration diagram for rawspeed::Cr2SliceWidths:
[legend]

Public Member Functions

 Cr2SliceWidths ()=default
 Cr2SliceWidths (uint16_t numSlices_, uint16_t sliceWidth_, uint16_t lastSliceWidth_)
bool empty () const
int widthOfSlice (int sliceId) const
Cr2SliceWidthIterator begin () const
Cr2SliceWidthIterator end () const

Private Attributes

int numSlices = 0
int sliceWidth = 0
int lastSliceWidth = 0

Friends

class Cr2LJpegDecoder
struct Cr2SliceWidthIterator
template<typename PrefixCodeDecoder>
class Cr2Decompressor

Detailed Description

Definition at line 50 of file Cr2Decompressor.h.

Constructor & Destructor Documentation

◆ Cr2SliceWidths() [1/2]

rawspeed::Cr2SliceWidths::Cr2SliceWidths ( )
default

◆ Cr2SliceWidths() [2/2]

rawspeed::Cr2SliceWidths::Cr2SliceWidths ( uint16_t numSlices_,
uint16_t sliceWidth_,
uint16_t lastSliceWidth_ )
inline

Definition at line 63 of file Cr2Decompressor.h.

References lastSliceWidth, numSlices, sliceWidth, and ThrowRDE.

Member Function Documentation

◆ begin()

Cr2SliceWidthIterator rawspeed::Cr2SliceWidths::begin ( ) const
inlinenodiscard

Definition at line 119 of file Cr2Decompressor.h.

References Cr2SliceWidthIterator.

Here is the call graph for this function:

◆ empty()

bool rawspeed::Cr2SliceWidths::empty ( ) const
inlinenodiscard

Definition at line 71 of file Cr2Decompressor.h.

References lastSliceWidth, numSlices, and sliceWidth.

◆ end()

Cr2SliceWidthIterator rawspeed::Cr2SliceWidths::end ( ) const
inlinenodiscard

Definition at line 122 of file Cr2Decompressor.h.

References Cr2SliceWidthIterator, and numSlices.

Here is the call graph for this function:

◆ widthOfSlice()

int rawspeed::Cr2SliceWidths::widthOfSlice ( int sliceId) const
inlinenodiscard

Definition at line 75 of file Cr2Decompressor.h.

References invariant, lastSliceWidth, numSlices, and sliceWidth.

◆ Cr2Decompressor

template<typename PrefixCodeDecoder>
friend class Cr2Decompressor
friend

Definition at line 58 of file Cr2Decompressor.h.

References Cr2Decompressor.

Referenced by Cr2Decompressor.

◆ Cr2LJpegDecoder

friend class Cr2LJpegDecoder
friend

Definition at line 55 of file Cr2Decompressor.h.

References Cr2LJpegDecoder.

Referenced by Cr2LJpegDecoder.

◆ Cr2SliceWidthIterator

friend struct Cr2SliceWidthIterator
friend

Definition at line 56 of file Cr2Decompressor.h.

References Cr2SliceWidthIterator.

Referenced by begin(), Cr2SliceWidthIterator, and end().

Member Data Documentation

◆ lastSliceWidth

int rawspeed::Cr2SliceWidths::lastSliceWidth = 0
private

Definition at line 53 of file Cr2Decompressor.h.

Referenced by Cr2SliceWidths(), empty(), and widthOfSlice().

◆ numSlices

int rawspeed::Cr2SliceWidths::numSlices = 0
private

Definition at line 51 of file Cr2Decompressor.h.

Referenced by Cr2SliceWidths(), empty(), end(), and widthOfSlice().

◆ sliceWidth

int rawspeed::Cr2SliceWidths::sliceWidth = 0
private

Definition at line 52 of file Cr2Decompressor.h.

Referenced by Cr2SliceWidths(), empty(), and widthOfSlice().


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