|
RawSpeed
fast raw decoding library
|
#include "fuzz/Common.h"#include "adt/Casts.h"#include "adt/Point.h"#include "common/RawImage.h"#include "io/Buffer.h"#include "io/ByteStream.h"#include "io/IOException.h"#include "metadata/ColorFilterArray.h"#include <cstdint>Go to the source code of this file.
Functions | |
| rawspeed::RawImage | CreateRawImage (rawspeed::ByteStream &bs) |
| rawspeed::ColorFilterArray | CreateCFA (rawspeed::ByteStream &bs) |
| rawspeed::ColorFilterArray CreateCFA | ( | rawspeed::ByteStream & | bs | ) |
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().
| 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().