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

#include "common/RawImage.h"

Collaboration diagram for rawspeed::RawImage:
[legend]

Public Member Functions

RawImageData *RAWSPEED_READONLY operator-> () const
RawImageData &RAWSPEED_READONLY operator* () const
 RawImage (RawImageData *p)=delete
 RawImage (std::shared_ptr< RawImageData > p)
RawImageDataget ()

Static Public Member Functions

static RawImage create (RawImageType type=RawImageType::UINT16)
static RawImage create (const iPoint2D &dim, RawImageType type=RawImageType::UINT16, uint32_t componentsPerPixel=1)

Private Attributes

std::shared_ptr< RawImageDatap_

Detailed Description

Definition at line 247 of file RawImage.h.

Constructor & Destructor Documentation

◆ RawImage() [1/2]

rawspeed::RawImage::RawImage ( RawImageData * p)
explicitdelete

Referenced by create(), and create().

Here is the caller graph for this function:

◆ RawImage() [2/2]

rawspeed::RawImage::RawImage ( std::shared_ptr< RawImageData > p)
inlineexplicit

Definition at line 257 of file RawImage.h.

References p_.

Member Function Documentation

◆ create() [1/2]

RawImage rawspeed::RawImage::create ( const iPoint2D & dim,
RawImageType type = RawImageType::UINT16,
uint32_t componentsPerPixel = 1 )
inlinestatic

Definition at line 276 of file RawImage.h.

References RawImage(), dim, rawspeed::ERROR, rawspeed::F32, rawspeed::UINT16, and rawspeed::writeLog().

Here is the call graph for this function:

◆ create() [2/2]

RawImage rawspeed::RawImage::create ( RawImageType type = RawImageType::UINT16)
inlinestatic

Definition at line 265 of file RawImage.h.

References RawImage(), rawspeed::ERROR, rawspeed::F32, rawspeed::UINT16, and rawspeed::writeLog().

Referenced by rawspeed::RafDecoder::applyCorrections(), anonymous_namespace{DeflateDecompressorBenchmark.cpp}::BM_DeflateDecompressor(), anonymous_namespace{UncompressedDecompressorBenchmark.cpp}::BM_UncompressedDecompressor(), CreateRawImage(), rawspeed::DngDecoder::decodeRawInternal(), and rawspeed::Cr2Decoder::sRawInterpolate().

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

◆ get()

RawImageData * rawspeed::RawImage::get ( )
inline

Definition at line 259 of file RawImage.h.

References p_.

◆ operator*()

RawImageData &RAWSPEED_READONLY rawspeed::RawImage::operator* ( ) const
inline

Definition at line 254 of file RawImage.h.

References p_.

◆ operator->()

RawImageData *RAWSPEED_READONLY rawspeed::RawImage::operator-> ( ) const
inline

Definition at line 253 of file RawImage.h.

References p_.

Member Data Documentation

◆ p_

std::shared_ptr<RawImageData> rawspeed::RawImage::p_
private

Definition at line 262 of file RawImage.h.

Referenced by RawImage(), get(), operator*(), and operator->().


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