8#ifndef SkFrameHolder_DEFINED
9#define SkFrameHolder_DEFINED
29 , fRequiredFrame(kUninitialized)
90 return fRequiredFrame;
116 return fDisposalMethod;
120 fDisposalMethod = disposalMethod;
154 inline static constexpr int kUninitialized = -2;
@ kSrcOver
r = s + (1-sa)*d
const SkFrame * getFrame(int i) const
virtual const SkFrame * onGetFrame(int i) const =0
void setAlphaAndRequiredFrame(SkFrame *)
SkCodecAnimation::DisposalMethod getDisposalMethod() const
void setBlend(SkCodecAnimation::Blend blend)
void setDuration(int duration)
virtual SkEncodedInfo::Alpha onReportedAlpha() const =0
SkFrame(SkFrame &&)=default
void setRequiredFrame(int req)
void fillIn(SkCodec::FrameInfo *, bool fullyReceived) const
void setHasAlpha(bool alpha)
SkIRect frameRect() const
SkCodecAnimation::Blend getBlend() const
SkEncodedInfo::Alpha reportedAlpha() const
int getRequiredFrame() const
void setDisposalMethod(SkCodecAnimation::DisposalMethod disposalMethod)
void setXYWH(int x, int y, int width, int height)
bool reachedStartOfData() const
static SkColor blend(SkColor dst, SkColor src, void(*mode)(float, float, float, float *, float *, float *))
constexpr int32_t x() const
constexpr int32_t y() const
constexpr int32_t height() const
constexpr int32_t width() const
void setXYWH(int32_t x, int32_t y, int32_t width, int32_t height)