RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
Common.h File Reference
Include dependency graph for Common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rawspeed

Functions

rawspeed::RawImage CreateRawImage (rawspeed::ByteStream &bs)
rawspeed::ColorFilterArray CreateCFA (rawspeed::ByteStream &bs)

Function Documentation

◆ CreateCFA()

Definition at line 54 of file Common.cpp.

References rawspeed::iPoint2D::area(), rawspeed::ByteStream::check(), rawspeed::END, rawspeed::ByteStream::getI32(), rawspeed::ByteStream::getU32(), rawspeed::iPoint2D::hasPositiveArea(), rawspeed::implicit_cast(), rawspeed::ColorFilterArray::setColorAt(), rawspeed::ColorFilterArray::setSize(), ThrowIOE, ThrowRSE, x, and y.

Referenced by LLVMFuzzerTestOneInput().

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

◆ CreateRawImage()

rawspeed::RawImage CreateRawImage ( rawspeed::ByteStream & bs)

Definition at line 31 of file Common.cpp.

References rawspeed::RawImage::create(), rawspeed::RawImageData::dim, rawspeed::F32, rawspeed::ByteStream::getU32(), rawspeed::RawImageData::isCFA, rawspeed::RawImageData::setCpp(), ThrowRSE, and rawspeed::UINT16.

Referenced by LLVMFuzzerTestOneInput(), and rawspeed::LLVMFuzzerTestOneInput().

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