Flutter Engine
The Flutter Engine
|
Functions | |
bool | IsRaw (const void *, size_t) |
SK_API std::unique_ptr< SkCodec > | Decode (std::unique_ptr< SkStream >, SkCodec::Result *, SkCodecs::DecodeContext=nullptr) |
SK_API std::unique_ptr< SkCodec > | Decode (sk_sp< SkData >, SkCodec::Result *, SkCodecs::DecodeContext=nullptr) |
constexpr SkCodecs::Decoder | Decoder () |
std::unique_ptr< SkCodec > SkRawDecoder::Decode | ( | sk_sp< SkData > | data, |
SkCodec::Result * | outResult, | ||
SkCodecs::DecodeContext | = nullptr |
||
) |
Definition at line 845 of file SkRawCodec.cpp.
std::unique_ptr< SkCodec > SkRawDecoder::Decode | ( | std::unique_ptr< SkStream > | stream, |
SkCodec::Result * | outResult, | ||
SkCodecs::DecodeContext | = nullptr |
||
) |
Attempts to decode the given bytes as a raw image.
If the bytes are not a raw, returns nullptr.
DecodeContext is ignored
Definition at line 835 of file SkRawCodec.cpp.
|
inlineconstexpr |
Definition at line 44 of file SkRawDecoder.h.
|
inline |
Definition at line 21 of file SkRawDecoder.h.