8#ifndef SkStubHeifDecoderAPI_DEFINED
9#define SkStubHeifDecoderAPI_DEFINED
28 virtual size_t read(
void*,
size_t) = 0;
30 virtual bool seek(
size_t) = 0;
static HeifDecoder * createHeifDecoder()
@ kHeifColorFormat_RGBA_1010102
@ kHeifColorFormat_RGB565
@ kHeifColorFormat_BGRA_8888
@ kHeifColorFormat_RGBA_8888
bool setOutputColor(HeifColorFormat)
bool getScanline(uint8_t *)
bool init(HeifStream *stream, HeifFrameInfo *)
bool getSequenceInfo(HeifFrameInfo *frameInfo, size_t *frameCount)
bool decode(HeifFrameInfo *)
bool decodeSequence(int frameIndex, HeifFrameInfo *frameInfo)
std::vector< uint8_t > mIccData
virtual bool seek(size_t)=0
virtual size_t getLength() const =0
virtual bool hasLength() const =0
virtual size_t read(void *, size_t)=0