Home
last modified time | relevance | path

Searched refs:asset_info (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/modules/skottie/src/layers/
DImageLayer.cpp46 const auto* asset_info = this->loadImageAsset(jimage); in attachImageAsset() local
47 if (!asset_info) { in attachImageAsset()
50 SkASSERT(asset_info->fAsset); in attachImageAsset()
52 auto image = asset_info->fAsset->getFrame(0); in attachImageAsset()
61 if (asset_info->fAsset->isMultiFrame()) { in attachImageAsset()
82 fCurrentAnimatorScope->push_back(sk_make_sp<MultiFrameAnimator>(asset_info->fAsset, in attachImageAsset()
89 asset_info->fSize.width() > 0 ? asset_info->fSize.width() : image->width(), in attachImageAsset()
90 asset_info->fSize.height() > 0 ? asset_info->fSize.height() : image->height()); in attachImageAsset()
/third_party/skia/modules/skottie/src/layers/
DFootageLayer.cpp106 const auto* asset_info = this->loadFootageAsset(jimage); in attachFootageAsset() local
107 if (!asset_info) { in attachFootageAsset()
110 SkASSERT(asset_info->fAsset); in attachFootageAsset()
118 || asset_info->fAsset->isMultiFrame(); in attachFootageAsset()
123 fCurrentAnimatorScope->push_back(sk_make_sp<FootageAnimator>(asset_info->fAsset, in attachFootageAsset()
126 asset_info->fSize, in attachFootageAsset()
131 auto frame_data = asset_info->fAsset->getFrameData(0); in attachFootageAsset()
137 const auto m = image_matrix(frame_data, asset_info->fSize); in attachFootageAsset()
147 layer_info->fSize = SkSize::Make(asset_info->fSize); in attachFootageAsset()
/third_party/flutter/skia/modules/skottie/src/
DComposition.cpp101 const auto* asset_info = fAssets.find(refId); in attachAssetRef() local
102 if (!asset_info) { in attachAssetRef()
107 if (asset_info->fIsAttaching) { in attachAssetRef()
113 asset_info->fIsAttaching = true; in attachAssetRef()
114 auto asset = func(*asset_info->fAsset); in attachAssetRef()
115 asset_info->fIsAttaching = false; in attachAssetRef()
/third_party/skia/modules/skottie/src/
DComposition.cpp30 const auto* asset_info = abuilder->fAssets.find(refId); in ScopedAssetRef() local
31 if (!asset_info) { in ScopedAssetRef()
36 if (asset_info->fIsAttaching) { in ScopedAssetRef()
42 asset_info->fIsAttaching = true; in ScopedAssetRef()
44 fInfo = asset_info; in ScopedAssetRef()