|
RawSpeed
fast raw decoding library
|
#include "interpolators/Cr2sRawInterpolator.h"
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<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 () |
| 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) |
Static Private Member Functions | |
| static void | STORE_RGB (CroppedArray1DRef< uint16_t > out, int r, int g, int b) |
Private Attributes | |
| const RawImage & | mRaw |
| const Array2DRef< const uint16_t > | input |
| std::array< int, 3 > | sraw_coeffs |
| int | hue |
Definition at line 32 of file Cr2sRawInterpolator.h.
|
inline |
Definition at line 42 of file Cr2sRawInterpolator.h.
References hue, input, mRaw, and sraw_coeffs.
| void rawspeed::Cr2sRawInterpolator::interpolate | ( | int | version | ) |
Definition at line 511 of file Cr2sRawInterpolator.cpp.
References interpolate_420(), interpolate_422(), invariant, mRaw, and ThrowRDE.
Referenced by anonymous_namespace{Cr2sRawInterpolatorBenchmark.cpp}::BM_Cr2sRawInterpolator(), and rawspeed::Cr2Decoder::sRawInterpolate().
|
private |
Definition at line 349 of file Cr2sRawInterpolator.cpp.
References rawspeed::__attribute__(), rawspeed::Cr2sRawInterpolator::YCbCr::CopyCbCr(), hue, input, interpolate_420_row(), invariant, rawspeed::Cr2sRawInterpolator::YCbCr::LoadCbCr(), rawspeed::Cr2sRawInterpolator::YCbCr::LoadY(), mRaw, and YUV_TO_RGB().
Referenced by interpolate().
|
private |
Definition at line 194 of file Cr2sRawInterpolator.cpp.
References rawspeed::__attribute__(), rawspeed::Cr2sRawInterpolator::YCbCr::CopyCbCr(), hue, input, invariant, rawspeed::Cr2sRawInterpolator::YCbCr::LoadCbCr(), rawspeed::Cr2sRawInterpolator::YCbCr::LoadY(), mRaw, and YUV_TO_RGB().
Referenced by interpolate_420().
|
private |
Definition at line 183 of file Cr2sRawInterpolator.cpp.
References rawspeed::Array2DRef< T >::height(), interpolate_422_row(), invariant, mRaw, and rawspeed::Array2DRef< T >::width().
Referenced by interpolate().
|
private |
Definition at line 97 of file Cr2sRawInterpolator.cpp.
References rawspeed::Cr2sRawInterpolator::YCbCr::CopyCbCr(), hue, input, invariant, rawspeed::Cr2sRawInterpolator::YCbCr::LoadCbCr(), rawspeed::Cr2sRawInterpolator::YCbCr::LoadY(), mRaw, and YUV_TO_RGB().
Referenced by interpolate_422().
|
inlinestaticprivate |
Definition at line 470 of file Cr2sRawInterpolator.cpp.
References rawspeed::clampBits(), invariant, and rawspeed::CroppedArray1DRef< T >::size().
Referenced by YUV_TO_RGB().
|
inlineprivate |
Definition at line 501 of file Cr2sRawInterpolator.cpp.
References sraw_coeffs, and STORE_RGB().
|
inlineprivate |
Definition at line 490 of file Cr2sRawInterpolator.cpp.
References sraw_coeffs, and STORE_RGB().
|
inlineprivate |
Definition at line 480 of file Cr2sRawInterpolator.cpp.
References sraw_coeffs, and STORE_RGB().
|
inlineprivate |
Referenced by interpolate_420(), interpolate_420_row(), and interpolate_422_row().
|
private |
Definition at line 37 of file Cr2sRawInterpolator.h.
Referenced by Cr2sRawInterpolator(), interpolate_420(), interpolate_420_row(), and interpolate_422_row().
|
private |
Definition at line 35 of file Cr2sRawInterpolator.h.
Referenced by Cr2sRawInterpolator(), interpolate_420(), interpolate_420_row(), and interpolate_422_row().
|
private |
Definition at line 33 of file Cr2sRawInterpolator.h.
Referenced by Cr2sRawInterpolator(), interpolate(), interpolate_420(), interpolate_420_row(), interpolate_422(), and interpolate_422_row().
|
private |
Definition at line 36 of file Cr2sRawInterpolator.h.
Referenced by Cr2sRawInterpolator(), and YUV_TO_RGB().