/* * Copyright 2023 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkJpegSourceMgr_codec_DEFINED #define SkJpegSourceMgr_codec_DEFINED #include "include/core/SkTypes.h" #ifdef SK_CODEC_DECODES_JPEG_GAINMAPS #include "include/core/SkRefCnt.h" #endif // SK_CODEC_DECODES_JPEG_GAINMAPS #include <cstddef> #include <cstdint> #include <memory> #ifdef SK_CODEC_DECODES_JPEG_GAINMAPS #include <vector> #endif // SK_CODEC_DECODES_JPEG_GAINMAPS class SkStream; #ifdef SK_CODEC_DECODES_JPEG_GAINMAPS class SkData; class SkJpegSegmentScanner; struct SkJpegSegment; #endif // SK_CODEC_DECODES_JPEG_GAINMAPS /* * Interface to adapt an SkStream to the jpeg_source_mgr interface. This interface has different * implementations for SkStreams with different capabilities. */ class SkJpegSourceMgr { … }; #endif