8#ifndef SkAnimCodecPlayer_DEFINED
9#define SkAnimCodecPlayer_DEFINED
43 uint32_t
duration()
const {
return fTotalDuration; }
52 bool seek(uint32_t msec);
56 std::unique_ptr<SkCodec> fCodec;
58 std::vector<SkCodec::FrameInfo> fFrameInfos;
59 std::vector<sk_sp<SkImage> > fImages;
61 uint32_t fTotalDuration;
sk_sp< SkImage > getFrame()
uint32_t duration() const
SkAnimCodecPlayer(std::unique_ptr< SkCodec > codec)
SkISize dimensions() const