|
RawSpeed
fast raw decoding library
|
#include "adt/Array2DRef.h"
Public Types | |
| using | value_type = T |
| using | cvless_value_type = std::remove_cv_t<value_type> |
Public Member Functions | |
| void | establishClassInvariants () const noexcept |
| Array2DRef (Array1DRef< T > data, int width, int height, int pitch) | |
| int RAWSPEED_READONLY | pitch () const |
| int RAWSPEED_READONLY | width () const |
| int RAWSPEED_READONLY | height () const |
| Array2DRef ()=delete | |
| Array2DRef (T *data, int width, int height, int pitch) | |
| Array2DRef (T *data, int width, int height) | |
| template<typename T2> requires (std::is_const_v<T2> && !std::is_const_v<T>) | |
| Array2DRef (Array2DRef< T2 > RHS)=delete | |
| template<typename T2> requires (!(std::is_const_v<T2> && !std::is_const_v<T>) && !std::is_same_v<std::remove_const_t<T>, std::remove_const_t<T2>> && !std::is_same_v<std::remove_const_t<T>, std::byte>) | |
| Array2DRef (Array2DRef< T2 > RHS)=delete | |
| template<typename T2> requires (!std::is_const_v<T2> && std::is_const_v<T> && std::is_same_v<std::remove_const_t<T>, std::remove_const_t<T2>>) | |
| Array2DRef (Array2DRef< T2 > RHS) | |
| template<typename T2> requires ( !(std::is_const_v<T2> && !std::is_const_v<T>) && !(std::is_same_v<std::remove_const_t<T>, std::remove_const_t<T2>>) && std::is_same_v<std::remove_const_t<T>, std::byte>) | |
| Array2DRef (Array2DRef< T2 > RHS) | |
| Optional< Array1DRef< T > > | getAsArray1DRef () const |
| Array1DRef< T > | operator[] (int row) const |
| T & | operator() (int row, int col) const |
Static Public Member Functions | |
| template<typename AllocatorType = typename std::vector<cvless_value_type>::allocator_type> | |
| static Array2DRef< T > | create (std::vector< cvless_value_type, AllocatorType > &storage, int width, int height) |
Private Attributes | |
| Array1DRef< T > | data |
| int | _pitch |
| int | _width |
| int | _height |
| friend | Array2DRef< const T > |
| friend | Array2DRef< std::byte > |
| friend | Array2DRef< const std::byte > |
Definition at line 35 of file Array2DRef.h.
| using rawspeed::Array2DRef< T >::cvless_value_type = std::remove_cv_t<value_type> |
Definition at line 54 of file Array2DRef.h.
| using rawspeed::Array2DRef< T >::value_type = T |
Definition at line 53 of file Array2DRef.h.
| rawspeed::Array2DRef< T >::Array2DRef | ( | Array1DRef< T > | data, |
| int | width, | ||
| int | height, | ||
| int | pitch ) |
References Array2DRef(), data, height(), pitch(), rawspeed::T(), and width().
Referenced by Array2DRef(), Array2DRef(), Array2DRef(), Array2DRef(), Array2DRef(), and Array2DRef().
|
delete |
References Array2DRef(), data, height(), pitch(), rawspeed::T(), and width().
|
inline |
Definition at line 146 of file Array2DRef.h.
References Array2DRef(), and rawspeed::T().
|
inline |
Definition at line 153 of file Array2DRef.h.
References Array2DRef(), establishClassInvariants(), and rawspeed::T().
|
delete |
|
inline |
Definition at line 82 of file Array2DRef.h.
References Array2DRef(), _height, _pitch, _width, and data.
|
inline |
Definition at line 91 of file Array2DRef.h.
References Array2DRef(), _height, _pitch, _width, and data.
|
inlinestatic |
Definition at line 98 of file Array2DRef.h.
References height(), and width().
Referenced by rawspeed::RawImageDataU16::calculateBlackAreas(), and rawspeed::IiqDecoder::PhaseOneFlatField().
|
noexcept |
Referenced by Array2DRef(), rawspeed::Array2DRef(), and rawspeed::CroppedArray2DRef().
|
nodiscard |
|
nodiscard |
References height().
Referenced by Array2DRef(), Array2DRef(), rawspeed::applyPhaseShift(), rawspeed::applyPhaseShift(), rawspeed::VC5Decompressor::combineFinalLowpassBandsImpl(), rawspeed::VC5Decompressor::Wavelet::combineLowHighPass(), rawspeed::copyPixelsImpl(), rawspeed::IiqDecoder::CorrectQuadrantMultipliersCombined(), create(), rawspeed::CroppedArray2DRef(), rawspeed::NefDecoder::DecodeNikonSNef(), rawspeed::CrwDecompressor::decompress(), rawspeed::HasselbladDecompressor::decompress(), rawspeed::KodakDecompressor::decompress(), rawspeed::PentaxDecompressor::decompress(), rawspeed::SamsungV0Decompressor::decompress(), rawspeed::SamsungV1Decompressor::decompress(), rawspeed::SonyArw1Decompressor::decompress(), rawspeed::PanasonicV8Decompressor::decompressStrip(), rawspeed::getAsBayerPhase(), rawspeed::getAsXTransPhase(), height(), rawspeed::rstest::anonymous_namespace{rstest.cpp}::imgDataHash(), rawspeed::Cr2sRawInterpolator::interpolate_422(), and LLVMFuzzerTestOneInput().
| T & rawspeed::Array2DRef< T >::operator() | ( | int | row, |
| int | col ) const |
| Array1DRef< T > rawspeed::Array2DRef< T >::operator[] | ( | int | row | ) | const |
|
nodiscard |
References pitch().
Referenced by Array2DRef(), Array2DRef(), and pitch().
|
nodiscard |
References width().
Referenced by Array2DRef(), Array2DRef(), rawspeed::applyPhaseShift(), rawspeed::applyPhaseShift(), rawspeed::VC5Decompressor::combineFinalLowpassBandsImpl(), rawspeed::VC5Decompressor::Wavelet::combineLowHighPass(), rawspeed::copyPixelsImpl(), rawspeed::IiqDecoder::CorrectQuadrantMultipliersCombined(), create(), rawspeed::CroppedArray2DRef(), rawspeed::NefDecoder::DecodeNikonSNef(), rawspeed::CrwDecompressor::decompress(), rawspeed::HasselbladDecompressor::decompress(), rawspeed::KodakDecompressor::decompress(), rawspeed::NikonDecompressor::decompress(), rawspeed::PentaxDecompressor::decompress(), rawspeed::SamsungV0Decompressor::decompress(), rawspeed::SamsungV1Decompressor::decompress(), rawspeed::SonyArw1Decompressor::decompress(), rawspeed::SonyArw2Decompressor::decompressRow(), rawspeed::PanasonicV8Decompressor::decompressStrip(), rawspeed::PhaseOneDecompressor::decompressStrip(), rawspeed::SamsungV0Decompressor::decompressStrip(), rawspeed::getAsBayerPhase(), rawspeed::getAsXTransPhase(), rawspeed::rstest::anonymous_namespace{rstest.cpp}::imgDataHash(), rawspeed::Cr2sRawInterpolator::interpolate_422(), LLVMFuzzerTestOneInput(), and width().
|
private |
Definition at line 40 of file Array2DRef.h.
Referenced by Array2DRef().
|
private |
Definition at line 37 of file Array2DRef.h.
Referenced by Array2DRef().
|
private |
Definition at line 39 of file Array2DRef.h.
Referenced by Array2DRef().
|
private |
Definition at line 46 of file Array2DRef.h.
|
private |
Definition at line 42 of file Array2DRef.h.
|
private |
Definition at line 45 of file Array2DRef.h.
|
private |
Definition at line 36 of file Array2DRef.h.
Referenced by Array2DRef(), Array2DRef(), and Array2DRef().