RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
Cr2sRawInterpolator Class Referencefinal

#include "interpolators/Cr2sRawInterpolator.h"

Collaboration diagram for Cr2sRawInterpolator:
[legend]

Classes

struct  YCbCr

Public Member Functions

 Cr2sRawInterpolator (const RawImage &mRaw_, Array2DRef< const uint16_t > input_, std::array< int, 3 > sraw_coeffs_, int hue_)
void interpolate (int version)

Private Member Functions

template<int version>
void YUV_TO_RGB (const YCbCr &p, CroppedArray1DRef< uint16_t > out)
template<>
void YUV_TO_RGB (const YCbCr &p, CroppedArray1DRef< uint16_t > out)
template<>
void YUV_TO_RGB (const YCbCr &p, CroppedArray1DRef< uint16_t > out)
template<>
void YUV_TO_RGB (const YCbCr &p, CroppedArray1DRef< uint16_t > out)
template<int version>
void interpolate_422_row (int row)
template<int version>
void interpolate_422 ()
template<int version>
void interpolate_420_row (int row)
template<int version>
void interpolate_420 ()

Static Private Member Functions

static void STORE_RGB (CroppedArray1DRef< uint16_t > out, int r, int g, int b)

Private Attributes

const RawImagemRaw
const Array2DRef< const uint16_tinput
std::array< int, 3 > sraw_coeffs
int hue

Detailed Description

Definition at line 32 of file Cr2sRawInterpolator.h.

Constructor & Destructor Documentation

◆ Cr2sRawInterpolator()

rawspeed::Cr2sRawInterpolator::Cr2sRawInterpolator ( const RawImage & mRaw_,
Array2DRef< const uint16_t > input_,
std::array< int, 3 > sraw_coeffs_,
int hue_ )
inline

Definition at line 42 of file Cr2sRawInterpolator.h.

Member Function Documentation

◆ interpolate()

Definition at line 511 of file Cr2sRawInterpolator.cpp.

◆ interpolate_420()

template<int version>
void rawspeed::Cr2sRawInterpolator::interpolate_420 ( )
private

Definition at line 349 of file Cr2sRawInterpolator.cpp.

◆ interpolate_420_row()

template<int version>
void rawspeed::Cr2sRawInterpolator::interpolate_420_row ( int row)
private

Definition at line 194 of file Cr2sRawInterpolator.cpp.

◆ interpolate_422()

template<int version>
void rawspeed::Cr2sRawInterpolator::interpolate_422 ( )
private

Definition at line 183 of file Cr2sRawInterpolator.cpp.

◆ interpolate_422_row()

template<int version>
void rawspeed::Cr2sRawInterpolator::interpolate_422_row ( int row)
private

Definition at line 97 of file Cr2sRawInterpolator.cpp.

◆ STORE_RGB()

void rawspeed::Cr2sRawInterpolator::STORE_RGB ( CroppedArray1DRef< uint16_t > out,
int r,
int g,
int b )
inlinestaticprivate

Definition at line 470 of file Cr2sRawInterpolator.cpp.

◆ YUV_TO_RGB() [1/4]

template<>
void rawspeed::Cr2sRawInterpolator::YUV_TO_RGB ( const YCbCr & p,
CroppedArray1DRef< uint16_t > out )
inlineprivate

Definition at line 501 of file Cr2sRawInterpolator.cpp.

◆ YUV_TO_RGB() [2/4]

template<>
void rawspeed::Cr2sRawInterpolator::YUV_TO_RGB ( const YCbCr & p,
CroppedArray1DRef< uint16_t > out )
inlineprivate

Definition at line 490 of file Cr2sRawInterpolator.cpp.

◆ YUV_TO_RGB() [3/4]

template<>
void rawspeed::Cr2sRawInterpolator::YUV_TO_RGB ( const YCbCr & p,
CroppedArray1DRef< uint16_t > out )
inlineprivate

Definition at line 480 of file Cr2sRawInterpolator.cpp.

◆ YUV_TO_RGB() [4/4]

template<int version>
void rawspeed::Cr2sRawInterpolator::YUV_TO_RGB ( const YCbCr & p,
CroppedArray1DRef< uint16_t > out )
inlineprivate

Member Data Documentation

◆ hue

Definition at line 37 of file Cr2sRawInterpolator.h.

◆ input

const Array2DRef<const uint16_t> rawspeed::Cr2sRawInterpolator::input
private

Definition at line 35 of file Cr2sRawInterpolator.h.

◆ mRaw

Definition at line 33 of file Cr2sRawInterpolator.h.

◆ sraw_coeffs

std::array<int, 3> rawspeed::Cr2sRawInterpolator::sraw_coeffs
private

Definition at line 36 of file Cr2sRawInterpolator.h.


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