#include "src/codec/SkJpegSegmentScan.h"
#include "include/core/SkData.h"
#include "include/core/SkStream.h"
#include "include/private/base/SkAssert.h"
#include "src/codec/SkCodecPriv.h"
#include "src/codec/SkJpegConstants.h"
#include <cstring>
#include <utility>
SkJpegSegmentScanner::SkJpegSegmentScanner(uint8_t stopMarker) : … { … }
const std::vector<SkJpegSegment>& SkJpegSegmentScanner::getSegments() const { … }
sk_sp<SkData> SkJpegSegmentScanner::GetParameters(const SkData* scannedData,
const SkJpegSegment& segment) { … }
void SkJpegSegmentScanner::onBytes(const void* data, size_t size) { … }
void SkJpegSegmentScanner::saveCurrentSegment(uint16_t length) { … }
void SkJpegSegmentScanner::onMarkerSecondByte(uint8_t byte) { … }
void SkJpegSegmentScanner::onByte(uint8_t byte) { … }