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

#include "adt/Point.h"

Collaboration diagram for rawspeed::iPoint2D:
[legend]

Public Types

using value_type = int32_t
using area_type = uint64_t

Public Member Functions

constexpr iPoint2D ()=default
constexpr iPoint2D (value_type a, value_type b)
constexpr iPoint2D operator+ (const iPoint2D &rhs) const
constexpr iPoint2D operator- (const iPoint2D &rhs) const
iPoint2Doperator+= (const iPoint2D &rhs)
iPoint2Doperator-= (const iPoint2D &rhs)
constexpr bool RAWSPEED_READONLY operator== (const iPoint2D &rhs) const
constexpr bool RAWSPEED_READONLY operator> (const iPoint2D &rhs) const
constexpr bool RAWSPEED_READONLY operator< (const iPoint2D &rhs) const
constexpr bool RAWSPEED_READONLY operator>= (const iPoint2D &rhs) const
constexpr bool RAWSPEED_READONLY operator<= (const iPoint2D &rhs) const
bool RAWSPEED_READONLY hasPositiveArea () const
area_type RAWSPEED_READONLY area () const
constexpr bool RAWSPEED_READONLY isThisInside (const iPoint2D &rhs) const
constexpr iPoint2D getSmallest (const iPoint2D &rhs) const

Public Attributes

value_type x = 0
value_type y = 0

Detailed Description

Definition at line 35 of file Point.h.

Member Typedef Documentation

◆ area_type

Definition at line 38 of file Point.h.

◆ value_type

Definition at line 37 of file Point.h.

Constructor & Destructor Documentation

◆ iPoint2D() [1/2]

rawspeed::iPoint2D::iPoint2D ( )
constexprdefault

Referenced by getSmallest(), hasPositiveArea(), isThisInside(), operator+(), operator+=(), operator-(), operator-=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().

Here is the caller graph for this function:

◆ iPoint2D() [2/2]

rawspeed::iPoint2D::iPoint2D ( value_type a,
value_type b )
inlineconstexpr

Definition at line 41 of file Point.h.

References x, and y.

Member Function Documentation

◆ area()

◆ getSmallest()

iPoint2D rawspeed::iPoint2D::getSmallest ( const iPoint2D & rhs) const
inlinenodiscardconstexpr

Definition at line 95 of file Point.h.

References iPoint2D(), x, and y.

Here is the call graph for this function:

◆ hasPositiveArea()

bool RAWSPEED_READONLY rawspeed::iPoint2D::hasPositiveArea ( ) const
inlinenodiscard

Definition at line 77 of file Point.h.

References iPoint2D().

Referenced by CreateCFA(), rawspeed::LJpegDecoder::decode(), rawspeed::DngDecoder::decodeBlackLevels(), LLVMFuzzerTestOneInput(), rawspeed::DngDecoder::parseCFA(), and rawspeed::ColorFilterArray::setSize().

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

◆ isThisInside()

bool RAWSPEED_READONLY rawspeed::iPoint2D::isThisInside ( const iPoint2D & rhs) const
inlinenodiscardconstexpr

Definition at line 91 of file Point.h.

References iPoint2D().

Referenced by rawspeed::RawImageData::subFrame().

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

◆ operator+()

iPoint2D rawspeed::iPoint2D::operator+ ( const iPoint2D & rhs) const
inlineconstexpr

Definition at line 43 of file Point.h.

References iPoint2D(), x, and y.

Referenced by operator+=().

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

◆ operator+=()

iPoint2D & rawspeed::iPoint2D::operator+= ( const iPoint2D & rhs)
inline

Definition at line 50 of file Point.h.

References iPoint2D(), and operator+().

Here is the call graph for this function:

◆ operator-()

iPoint2D rawspeed::iPoint2D::operator- ( const iPoint2D & rhs) const
inlineconstexpr

Definition at line 46 of file Point.h.

References iPoint2D(), x, and y.

Referenced by operator-=().

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

◆ operator-=()

iPoint2D & rawspeed::iPoint2D::operator-= ( const iPoint2D & rhs)
inline

Definition at line 54 of file Point.h.

References iPoint2D(), and operator-().

Here is the call graph for this function:

◆ operator<()

bool RAWSPEED_READONLY rawspeed::iPoint2D::operator< ( const iPoint2D & rhs) const
inlineconstexpr

Definition at line 66 of file Point.h.

References iPoint2D(), x, and y.

Here is the call graph for this function:

◆ operator<=()

bool RAWSPEED_READONLY rawspeed::iPoint2D::operator<= ( const iPoint2D & rhs) const
inlineconstexpr

Definition at line 73 of file Point.h.

References iPoint2D(), x, and y.

Here is the call graph for this function:

◆ operator==()

bool RAWSPEED_READONLY rawspeed::iPoint2D::operator== ( const iPoint2D & rhs) const
inlineconstexpr

Definition at line 59 of file Point.h.

References iPoint2D(), x, and y.

Here is the call graph for this function:

◆ operator>()

bool RAWSPEED_READONLY rawspeed::iPoint2D::operator> ( const iPoint2D & rhs) const
inlineconstexpr

Definition at line 63 of file Point.h.

References iPoint2D(), x, and y.

Here is the call graph for this function:

◆ operator>=()

bool RAWSPEED_READONLY rawspeed::iPoint2D::operator>= ( const iPoint2D & rhs) const
inlineconstexpr

Definition at line 70 of file Point.h.

References iPoint2D(), x, and y.

Here is the call graph for this function:

Member Data Documentation

◆ x

value_type rawspeed::iPoint2D::x = 0

Definition at line 102 of file Point.h.

Referenced by iPoint2D(), rawspeed::DngOpcodes::ROIOpcode::ROIOpcode(), rawspeed::DngOpcodes::FixBadPixelsConstant::apply(), rawspeed::RafDecoder::applyCorrections(), rawspeed::DngOpcodes::PixelOpcode::applyOP(), rawspeed::applyPhaseShift(), rawspeed::applyPhaseShift(), area(), anonymous_namespace{CommonBenchmark.cpp}::BM_CopyPixels(), anonymous_namespace{Cr2sRawInterpolatorBenchmark.cpp}::BM_Cr2sRawInterpolator(), rawspeed::iRectangle2D::combine(), anonymous_namespace{DeflateDecompressorBenchmark.cpp}::compressChunk(), rawspeed::anonymous_namespace{FujiDecompressor.cpp}::fuji_compressed_block::copy_line(), rawspeed::iRectangle2D::cropOffsetToZero(), rawspeed::LJpegDecoder::decode(), rawspeed::DngDecoder::decodeBlackLevels(), rawspeed::DngDecoder::decodeMaskedAreas(), rawspeed::Cr2Decoder::decodeNewFormat(), rawspeed::getAsXTransPhase(), rawspeed::anonymous_namespace{DngOpcodes.cpp}::getImageCropAsRectangle(), rawspeed::iRectangle2D::getOverlap(), getSmallest(), rawspeed::getTranslationalOffset(), rawspeed::getTranslationalOffset(), LLVMFuzzerTestOneInput(), main(), operator+(), operator-(), operator<(), operator<=(), operator==(), operator>(), operator>=(), rawspeed::DngDecoder::parseACTIVEAREA(), rawspeed::DngDecoder::parseCFA(), rawspeed::OrfDecoder::parseCFA(), rawspeed::PanasonicV5Decompressor::processBlock(), rawspeed::ColorFilterArray::setColorAt(), rawspeed::RawDecoder::setMetaData(), rawspeed::Cr2Decoder::sRawInterpolate(), rawspeed::RawImageData::subFrame(), rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST(), rawspeed::rstest::anonymous_namespace{rstest.cpp}::writePFM(), and rawspeed::rstest::anonymous_namespace{rstest.cpp}::writePPM().

◆ y

value_type rawspeed::iPoint2D::y = 0

Definition at line 103 of file Point.h.

Referenced by iPoint2D(), rawspeed::DngOpcodes::ROIOpcode::ROIOpcode(), rawspeed::DngOpcodes::FixBadPixelsConstant::apply(), rawspeed::RafDecoder::applyCorrections(), rawspeed::DngOpcodes::PixelOpcode::applyOP(), rawspeed::applyPhaseShift(), rawspeed::applyPhaseShift(), area(), anonymous_namespace{CommonBenchmark.cpp}::BM_CopyPixels(), anonymous_namespace{Cr2sRawInterpolatorBenchmark.cpp}::BM_Cr2sRawInterpolator(), rawspeed::Cr2VerticalOutputStripIterator::coalesce(), rawspeed::iRectangle2D::combine(), anonymous_namespace{DeflateDecompressorBenchmark.cpp}::compressChunk(), rawspeed::anonymous_namespace{FujiDecompressor.cpp}::fuji_compressed_block::copy_line(), rawspeed::iRectangle2D::cropOffsetToZero(), rawspeed::LJpegDecoder::decode(), rawspeed::DngDecoder::decodeBlackLevels(), rawspeed::DngDecoder::decodeMaskedAreas(), rawspeed::Cr2Decoder::decodeNewFormat(), rawspeed::getAsXTransPhase(), rawspeed::iRectangle2D::getOverlap(), getSmallest(), rawspeed::getTranslationalOffset(), rawspeed::getTranslationalOffset(), LLVMFuzzerTestOneInput(), main(), rawspeed::Cr2OutputTileIterator::operator*(), operator+(), operator-(), operator<(), operator<=(), operator==(), operator>(), operator>=(), rawspeed::DngDecoder::parseACTIVEAREA(), rawspeed::DngDecoder::parseCFA(), rawspeed::OrfDecoder::parseCFA(), rawspeed::PanasonicV5Decompressor::processBlock(), rawspeed::ColorFilterArray::setColorAt(), rawspeed::RawDecoder::setMetaData(), rawspeed::Cr2Decoder::sRawInterpolate(), rawspeed::RawImageData::subFrame(), rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST(), rawspeed::rstest::anonymous_namespace{rstest.cpp}::writePFM(), and rawspeed::rstest::anonymous_namespace{rstest.cpp}::writePPM().


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