chromium/third_party/skia/src/codec/SkJpegSegmentScan.cpp

/*
 * Copyright 2023 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#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::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) {}