40 ThrowRSE(
"Unknown image type: %u", type);
67 for (
auto x = 0;
x < cfaWidth;
x++) {
68 for (
auto y = 0;
y < cfaHeight;
y++) {
71 ThrowRSE(
"Unknown color: %u", color);
size_type check(size_type bytes) const
void setColorAt(iPoint2D pos, CFAColor c)
void setSize(const iPoint2D &size)
void setCpp(uint32_t val)
static RawImage create(RawImageType type=RawImageType::UINT16)
area_type RAWSPEED_READONLY area() const
bool RAWSPEED_READONLY hasPositiveArea() const
rawspeed::ColorFilterArray CreateCFA(rawspeed::ByteStream &bs)
rawspeed::RawImage CreateRawImage(rawspeed::ByteStream &bs)
constexpr RAWSPEED_READNONE Ttgt implicit_cast(Tsrc value)