RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::Cr2OutputTileIterator Struct Referencefinal

#include "decompressors/Cr2DecompressorImpl.h"

Collaboration diagram for rawspeed::Cr2OutputTileIterator:
[legend]

Public Types

using iterator_category = std::input_iterator_tag
using difference_type = std::ptrdiff_t
using value_type = iRectangle2D
using pointer = const value_type*
using reference = const value_type&

Public Member Functions

 Cr2OutputTileIterator (const Cr2SliceIterator &sliceIter_, const iPoint2D &imgDim_)
value_type operator* () const
Cr2OutputTileIteratoroperator++ ()

Public Attributes

const iPoint2DimgDim
Cr2SliceIterator sliceIter
iPoint2D outPos = {0, 0}
int sliceRow = 0

Friends

bool RAWSPEED_READONLY operator== (const Cr2OutputTileIterator &a, const Cr2OutputTileIterator &b)

Detailed Description

Definition at line 104 of file Cr2DecompressorImpl.h.

Member Typedef Documentation

◆ difference_type

Definition at line 112 of file Cr2DecompressorImpl.h.

◆ iterator_category

using rawspeed::Cr2OutputTileIterator::iterator_category = std::input_iterator_tag

Definition at line 111 of file Cr2DecompressorImpl.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ Cr2OutputTileIterator()

rawspeed::Cr2OutputTileIterator::Cr2OutputTileIterator ( const Cr2SliceIterator & sliceIter_,
const iPoint2D & imgDim_ )
inline

Definition at line 117 of file Cr2DecompressorImpl.h.

References imgDim, and sliceIter.

Referenced by operator++(), and operator==.

Here is the caller graph for this function:

Member Function Documentation

◆ operator*()

value_type rawspeed::Cr2OutputTileIterator::operator* ( ) const
inline

Definition at line 121 of file Cr2DecompressorImpl.h.

References rawspeed::iRectangle2D::dim, rawspeed::iRectangle2D::getHeight(), rawspeed::iRectangle2D::getTop(), imgDim, invariant, outPos, sliceIter, sliceRow, and rawspeed::iPoint2D::y.

Referenced by operator++().

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

◆ operator++()

Cr2OutputTileIterator & rawspeed::Cr2OutputTileIterator::operator++ ( )
inline

Definition at line 133 of file Cr2DecompressorImpl.h.

References Cr2OutputTileIterator(), rawspeed::iRectangle2D::getBottomLeft(), rawspeed::iRectangle2D::getHeight(), rawspeed::iRectangle2D::getWidth(), imgDim, invariant, operator*(), outPos, sliceIter, and sliceRow.

Here is the call graph for this function:

◆ operator==

bool RAWSPEED_READONLY operator== ( const Cr2OutputTileIterator & a,
const Cr2OutputTileIterator & b )
friend

Definition at line 148 of file Cr2DecompressorImpl.h.

References Cr2OutputTileIterator(), imgDim, invariant, sliceIter, and sliceRow.

Member Data Documentation

◆ imgDim

const iPoint2D& rawspeed::Cr2OutputTileIterator::imgDim

Definition at line 105 of file Cr2DecompressorImpl.h.

Referenced by Cr2OutputTileIterator(), operator*(), operator++(), and operator==.

◆ outPos

iPoint2D rawspeed::Cr2OutputTileIterator::outPos = {0, 0}

Definition at line 108 of file Cr2DecompressorImpl.h.

Referenced by operator*(), and operator++().

◆ sliceIter

Cr2SliceIterator rawspeed::Cr2OutputTileIterator::sliceIter

Definition at line 107 of file Cr2DecompressorImpl.h.

Referenced by Cr2OutputTileIterator(), operator*(), operator++(), and operator==.

◆ sliceRow

int rawspeed::Cr2OutputTileIterator::sliceRow = 0

Definition at line 109 of file Cr2DecompressorImpl.h.

Referenced by operator*(), operator++(), and operator==.


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