class SkHeifCodec : public SkCodec { public: /* * Returns true if one of kHEIF or kAVIF images were detected. If |format| * is not nullptr, it will contain the detected format. Returns false * otherwise.
*/ staticbool IsSupported(constvoid*, size_t, SkEncodedImageFormat* format);
/* * Assumes IsSupported was called and it returned a non-nullopt value.
*/ static std::unique_ptr<SkCodec> MakeFromStream(
std::unique_ptr<SkStream>, SkCodec::SelectionPolicy selectionPolicy,
Result*);
private: /* * Creates an instance of the decoder * Called only by NewFromStream
*/
SkHeifCodec(SkEncodedInfo&&, HeifDecoder*, SkEncodedOrigin, bool animation,
SkEncodedImageFormat);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.