Home
last modified time | relevance | path

Searched refs:DisposalMethod (Results 1 - 11 of 11) sorted by relevance

/third_party/skia/src/codec/
H A DSkFrameHolder.h30 , fDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep) in SkFrame()
115 SkCodecAnimation::DisposalMethod getDisposalMethod() const { in getDisposalMethod()
119 void setDisposalMethod(SkCodecAnimation::DisposalMethod disposalMethod) { in setDisposalMethod()
160 SkCodecAnimation::DisposalMethod fDisposalMethod;
H A DSkCodec.cpp367 case SkCodecAnimation::DisposalMethod::kRestorePrevious: in handleFrameIndex()
370 case SkCodecAnimation::DisposalMethod::kRestoreBGColor: in handleFrameIndex()
830 return frame.getDisposalMethod() == SkCodecAnimation::DisposalMethod::kRestoreBGColor; in restore_bg()
896 while (prevFrame->getDisposalMethod() == SkCodecAnimation::DisposalMethod::kRestorePrevious) { in setAlphaAndRequiredFrame()
945 SkASSERT(prevFrame->getDisposalMethod() == SkCodecAnimation::DisposalMethod::kKeep); in setAlphaAndRequiredFrame()
H A DSkWuffsCodec.cpp88 static SkCodecAnimation::DisposalMethod wuffs_disposal_to_skia_disposal( in wuffs_disposal_to_skia_disposal()
92 return SkCodecAnimation::DisposalMethod::kRestoreBGColor; in wuffs_disposal_to_skia_disposal()
94 return SkCodecAnimation::DisposalMethod::kRestorePrevious; in wuffs_disposal_to_skia_disposal()
96 return SkCodecAnimation::DisposalMethod::kKeep; in wuffs_disposal_to_skia_disposal()
506 // DisposalMethod). For one-pass decoding, we therefore use SRC_OVER. in onStartIncrementalDecodeOnePass()
H A DSkWebpCodec.cpp264 SkCodecAnimation::DisposalMethod::kRestoreBGColor : in onGetFrameCount()
265 SkCodecAnimation::DisposalMethod::kKeep); in onGetFrameCount()
H A DSkHeifCodec.cpp321 frame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep); in onGetFrameCount()
/third_party/skia/tests/
H A DCodecAnimTest.cpp67 return info.fDisposalMethod == SkCodecAnimation::DisposalMethod::kRestorePrevious; in restore_previous()
99 constexpr SkCodecAnimation::DisposalMethod kKeep = in DEF_TEST()
100 SkCodecAnimation::DisposalMethod::kKeep; in DEF_TEST()
101 constexpr SkCodecAnimation::DisposalMethod kRestoreBG = in DEF_TEST()
102 SkCodecAnimation::DisposalMethod::kRestoreBGColor; in DEF_TEST()
103 constexpr SkCodecAnimation::DisposalMethod kRestorePrev = in DEF_TEST()
104 SkCodecAnimation::DisposalMethod::kRestorePrevious; in DEF_TEST()
120 std::vector<SkCodecAnimation::DisposalMethod> fDisposalMethods; in DEF_TEST()
515 == SkCodecAnimation::DisposalMethod::kRestoreBGColor); in test_animated_AndroidCodec()
/third_party/skia/src/android/
H A DSkAnimatedImage.cpp161 static bool is_restore_previous(SkCodecAnimation::DisposalMethod dispose) { in is_restore_previous()
162 return SkCodecAnimation::DisposalMethod::kRestorePrevious == dispose; in is_restore_previous()
211 frameInfo.fDisposalMethod = SkCodecAnimation::DisposalMethod::kKeep; in decodeNextFrame()
/third_party/skia/include/codec/
H A DSkCodecAnimation.h19 enum class DisposalMethod { class
H A DSkCodec.h668 SkCodecAnimation::DisposalMethod fDisposalMethod;
/third_party/skia/third_party/externals/libgifcodec/
H A DSkGifImageReader.cpp649 currentFrame->setDisposalMethod((SkCodecAnimation::DisposalMethod) rawDisposalMethod); in parse()
654 currentFrame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kRestorePrevious); in parse()
658 currentFrame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep); in parse()
/third_party/skia/include/android/
H A DSkAnimatedImage.h121 SkCodecAnimation::DisposalMethod fDisposalMethod;

Completed in 16 milliseconds