RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
BayerPhase.h File Reference
#include "adt/Array2DRef.h"
#include "adt/Optional.h"
#include "adt/Point.h"
#include "metadata/ColorFilterArray.h"
#include <algorithm>
#include <array>
#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <iterator>
#include <utility>
Include dependency graph for BayerPhase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rawspeed

Enumerations

enum class  rawspeed::BayerPhase : uint8_t { rawspeed::RGGB = 0b00 , rawspeed::GRBG = 0b01 , rawspeed::GBRG = 0b10 , rawspeed::BGGR = 0b11 }

Functions

iPoint2D rawspeed::getTranslationalOffset (BayerPhase src, BayerPhase tgt)
template<typename T>
std::array< T, 4 > rawspeed::applyPhaseShift (std::array< T, 4 > srcData, BayerPhase srcPhase, BayerPhase tgtPhase)
std::array< CFAColor, 4 > rawspeed::getAsCFAColors (BayerPhase p)
template<typename T>
std::array< T, 4 > rawspeed::applyStablePhaseShift (std::array< T, 4 > srcData, BayerPhase srcPhase, BayerPhase tgtPhase)
Optional< BayerPhaserawspeed::getAsBayerPhase (const ColorFilterArray &CFA)