#include "src/codec/SkJpegDecoderMgr.h"
#include "include/core/SkTypes.h"
#include "src/codec/SkCodecPriv.h"
#include "src/codec/SkJpegSourceMgr.h"
#include "src/codec/SkJpegUtility.h"
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
#include "include/android/SkAndroidFrameworkUtils.h"
#endif
#include <cstddef>
#include <utility>
class SkStream;
static void print_message(const j_common_ptr info, const char caller[]) { … }
static void output_message(j_common_ptr info) { … }
static void progress_monitor(j_common_ptr info) { … }
bool JpegDecoderMgr::returnFalse(const char caller[]) { … }
SkCodec::Result JpegDecoderMgr::returnFailure(const char caller[], SkCodec::Result result) { … }
bool JpegDecoderMgr::getEncodedColor(SkEncodedInfo::Color* outColor) { … }
SkJpegSourceMgr* JpegDecoderMgr::getSourceMgr() { … }
JpegDecoderMgr::JpegDecoderMgr(SkStream* stream)
: … { … }
void JpegDecoderMgr::init() { … }
JpegDecoderMgr::~JpegDecoderMgr() { … }
void JpegDecoderMgr::SourceMgr::InitSource(j_decompress_ptr dinfo) { … }
void JpegDecoderMgr::SourceMgr::SkipInputData(j_decompress_ptr dinfo, long num_bytes_long) { … }
boolean JpegDecoderMgr::SourceMgr::FillInputBuffer(j_decompress_ptr dinfo) { … }
void JpegDecoderMgr::SourceMgr::TermSource(j_decompress_ptr dinfo) { … }
JpegDecoderMgr::SourceMgr::SourceMgr(std::unique_ptr<SkJpegSourceMgr> sourceMgr)
: … { … }