/* * 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 SkJpegSegmentScan_codec_DEFINED #define SkJpegSegmentScan_codec_DEFINED #include "include/core/SkRefCnt.h" #include "src/codec/SkJpegConstants.h" #include <cstddef> #include <cstdint> #include <memory> #include <vector> class SkData; class SkStream; /* * A JPEG segment. */ struct SkJpegSegment { … }; /* * Class for scanning JPEG data. The JPEG format consists of a sequence of segments that begin with * a marker, with entropy-coded data in between. */ class SkJpegSegmentScanner { … }; #endif