Home
last modified time | relevance | path

Searched refs:DisposalMethod (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/src/codec/
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;
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()
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()
DSkWebpCodec.cpp264 SkCodecAnimation::DisposalMethod::kRestoreBGColor : in onGetFrameCount()
265 SkCodecAnimation::DisposalMethod::kKeep); in onGetFrameCount()
DSkHeifCodec.cpp307 frame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep); in onGetFrameCount()
/third_party/flutter/skia/src/codec/
DSkFrameHolder.h30 , fDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep) in SkFrame()
115 SkCodecAnimation::DisposalMethod getDisposalMethod() const { in getDisposalMethod()
119 void setDisposalMethod(SkCodecAnimation::DisposalMethod disposalMethod) { in setDisposalMethod()
155 SkCodecAnimation::DisposalMethod fDisposalMethod;
DSkCodec.cpp296 case SkCodecAnimation::DisposalMethod::kRestorePrevious: in handleFrameIndex()
298 case SkCodecAnimation::DisposalMethod::kRestoreBGColor: in handleFrameIndex()
321 if (disposalMethod == SkCodecAnimation::DisposalMethod::kRestoreBGColor) { in handleFrameIndex()
749 return frame.getDisposalMethod() == SkCodecAnimation::DisposalMethod::kRestoreBGColor; in restore_bg()
815 while (prevFrame->getDisposalMethod() == SkCodecAnimation::DisposalMethod::kRestorePrevious) { in setAlphaAndRequiredFrame()
864 SkASSERT(prevFrame->getDisposalMethod() == SkCodecAnimation::DisposalMethod::kKeep); in setAlphaAndRequiredFrame()
DSkWuffsCodec.cpp74 static SkCodecAnimation::DisposalMethod wuffs_disposal_to_skia_disposal( in wuffs_disposal_to_skia_disposal()
78 return SkCodecAnimation::DisposalMethod::kRestoreBGColor; in wuffs_disposal_to_skia_disposal()
80 return SkCodecAnimation::DisposalMethod::kRestorePrevious; in wuffs_disposal_to_skia_disposal()
82 return SkCodecAnimation::DisposalMethod::kKeep; in wuffs_disposal_to_skia_disposal()
DSkHeifCodec.cpp307 frame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep); in onGetFrameCount()
351 frameInfo->fDisposalMethod = SkCodecAnimation::DisposalMethod::kKeep; in onGetFrameInfo()
DSkWebpCodec.cpp264 SkCodecAnimation::DisposalMethod::kRestoreBGColor : in onGetFrameCount()
265 SkCodecAnimation::DisposalMethod::kKeep); in onGetFrameCount()
/third_party/flutter/skia/tests/
DCodecAnimTest.cpp68 return info.fDisposalMethod == SkCodecAnimation::DisposalMethod::kRestorePrevious; in restore_previous()
75 constexpr SkCodecAnimation::DisposalMethod kKeep = in DEF_TEST()
76 SkCodecAnimation::DisposalMethod::kKeep; in DEF_TEST()
77 constexpr SkCodecAnimation::DisposalMethod kRestoreBG = in DEF_TEST()
78 SkCodecAnimation::DisposalMethod::kRestoreBGColor; in DEF_TEST()
79 constexpr SkCodecAnimation::DisposalMethod kRestorePrev = in DEF_TEST()
80 SkCodecAnimation::DisposalMethod::kRestorePrevious; in DEF_TEST()
94 std::vector<SkCodecAnimation::DisposalMethod> fDisposalMethods; in DEF_TEST()
428 == SkCodecAnimation::DisposalMethod::kRestoreBGColor); in DEF_TEST()
/third_party/skia/tests/
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/flutter/skia/include/codec/
DSkCodecAnimation.h19 enum class DisposalMethod { enum
DSkCodec.h663 SkCodecAnimation::DisposalMethod fDisposalMethod;
/third_party/skia/include/codec/
DSkCodecAnimation.h19 enum class DisposalMethod { enum
DSkCodec.h668 SkCodecAnimation::DisposalMethod fDisposalMethod;
/third_party/skia/src/android/
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/flutter/skia/src/android/
DSkAnimatedImage.cpp159 static bool is_restore_previous(SkCodecAnimation::DisposalMethod dispose) { in is_restore_previous()
160 return SkCodecAnimation::DisposalMethod::kRestorePrevious == dispose; in is_restore_previous()
209 frameInfo.fDisposalMethod = SkCodecAnimation::DisposalMethod::kKeep; in decodeNextFrame()
/third_party/flutter/skia/include/android/
DSkAnimatedImage.h121 SkCodecAnimation::DisposalMethod fDisposalMethod;
/third_party/skia/include/android/
DSkAnimatedImage.h121 SkCodecAnimation::DisposalMethod fDisposalMethod;
/third_party/skia/third_party/externals/libgifcodec/
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/flutter/skia/third_party/gif/
DSkGifImageReader.cpp648 … currentFrame->setDisposalMethod((SkCodecAnimation::DisposalMethod) rawDisposalMethod); in parse()
653 currentFrame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kRestorePrevious); in parse()
657 currentFrame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep); in parse()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dmulti_frame_codec.cc112 if (frameInfo.fDisposalMethod == SkCodecAnimation::DisposalMethod::kKeep) { in GetNextFrameImage()