class SkCodec; class SkFrameHolder; class SkJpegxlCodecPriv; class SkStream; struct SkEncodedInfo; struct SkImageInfo;
/* * * This class implements the decoding for jpegxl images *
*/ class SkJpegxlCodec : public SkScalingCodec { public: staticbool IsJpegxl(constvoid*, size_t);
/* * Assumes IsJpegxl was called and returned true * Takes ownership of the stream
*/ static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
protected: /* TODO(eustas): implement when downscaling is supported. */ /* SkISize onGetScaledDimensions(float desiredScale) const override; */
/* TODO(eustas): implement when up-/down-scaling is supported. */ /* bool onDimensionsSupported(const SkISize&) override; */
/* TODO(eustas): add support for transcoded JPEG images? */ /* bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&,
SkYUVAPixmapInfo*) const override; */
/* TODO(eustas): add support for transcoded JPEG images? */ /* Result onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override; */
/* TODO(eustas): implement when cropped output is supported. */ /* bool onGetValidSubset(SkIRect* desiredSubset) const override; */
bool onRewind() override;
/* TODO(eustas): top-down by default; do we need something else? */ /* SkScanlineOrder onGetScanlineOrder() const override; */ /* int onOutputScanline(int inputScanline) const override; */
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.