#include <SkJpegSourceMgr.h>
|
virtual | ~SkJpegSourceMgr () |
|
virtual void | initSource (const uint8_t *&nextInputByte, size_t &bytesInBuffer)=0 |
|
virtual bool | fillInputBuffer (const uint8_t *&nextInputByte, size_t &bytesInBuffer)=0 |
|
virtual bool | skipInputBytes (size_t bytes, const uint8_t *&nextInputByte, size_t &bytesInBuffer)=0 |
|
Definition at line 37 of file SkJpegSourceMgr.h.
◆ ~SkJpegSourceMgr()
SkJpegSourceMgr::~SkJpegSourceMgr |
( |
| ) |
|
|
virtualdefault |
◆ SkJpegSourceMgr()
SkJpegSourceMgr::SkJpegSourceMgr |
( |
SkStream * |
stream | ) |
|
|
protected |
◆ fillInputBuffer()
virtual bool SkJpegSourceMgr::fillInputBuffer |
( |
const uint8_t *& |
nextInputByte, |
|
|
size_t & |
bytesInBuffer |
|
) |
| |
|
pure virtual |
◆ initSource()
virtual void SkJpegSourceMgr::initSource |
( |
const uint8_t *& |
nextInputByte, |
|
|
size_t & |
bytesInBuffer |
|
) |
| |
|
pure virtual |
◆ Make()
Definition at line 425 of file SkJpegSourceMgr.cpp.
425 {
426#ifdef SK_CODEC_DECODES_JPEG_GAINMAPS
427 if (!
stream->hasPosition()) {
428 return std::make_unique<SkJpegUnseekableSourceMgr>(
stream, bufferSize);
429 }
430#endif
432 return std::make_unique<SkJpegMemorySourceMgr>(
stream);
433 }
434 return std::make_unique<SkJpegBufferedSourceMgr>(
stream, bufferSize);
435}
◆ skipInputBytes()
virtual bool SkJpegSourceMgr::skipInputBytes |
( |
size_t |
bytes, |
|
|
const uint8_t *& |
nextInputByte, |
|
|
size_t & |
bytesInBuffer |
|
) |
| |
|
pure virtual |
◆ fStream
SkStream* const SkJpegSourceMgr::fStream |
|
protected |
The documentation for this class was generated from the following files: