Home
last modified time | relevance | path

Searched refs:imageSource_ (Results 1 - 16 of 16) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dincremental_pixel_map.cpp63 if (imageSource_ == nullptr) { in ~IncrementalPixelMap()
70 : index_(index), opts_(opts), imageSource_(imageSource) in IncrementalPixelMap()
72 if (imageSource_ != nullptr) { in IncrementalPixelMap()
73 imageSource_->RegisterListener(static_cast<PeerListener *>(this)); in IncrementalPixelMap()
79 if (imageSource_ == nullptr) { in PromoteDecoding()
91 imageSource_->PromoteDecoding(index_, opts_, *(static_cast<PixelMap *>(this)), imageState, decodeProgress); in PromoteDecoding()
109 if (imageSource_ == nullptr) { in DetachFromDecoding()
122 imageSource_ = nullptr; in OnPeerDestory()
127 imageSource_->DetachIncrementalDecoding(*(static_cast<PixelMap *>(this))); in DetachSource()
128 imageSource_ in DetachSource()
[all...]
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_object.h42 explicit ImageObject(ImageSourceInfo source) : imageSource_(source) {} in ImageObject()
45 : imageSource_(source), imageSize_(imageSize), frameCount_(frameCount), isSvg_(isSvg) in ImageObject()
78 return imageSource_; in GetSourceInfo()
113 return MakeRefPtr<ImageObject>(imageSource_, imageSize_, frameCount_, isSvg_); in Clone()
117 ImageSourceInfo imageSource_; member in OHOS::Ace::ImageObject
145 return MakeRefPtr<SvgSkiaImageObject>(imageSource_, Size(), frameCount_, skiaDom_);
172 return MakeRefPtr<SvgImageObject>(imageSource_, Size(), frameCount_, svgDom_);
214 return MakeRefPtr<StaticImageObject>(imageSource_, imageSize_, frameCount_, skData_);
216 return MakeRefPtr<StaticImageObject>(imageSource_, imageSize_, frameCount_, data_);
H A Dimage_object_animated.cpp82 return MakeRefPtr<AnimatedImageObject>(imageSource_, imageSize_, frameCount_, skData_);
84 return MakeRefPtr<AnimatedImageObject>(imageSource_, imageSize_, frameCount_, drawingData_);
121 imageSource_, in UploadToGpuForRender()
H A Danimated_image_player.h39 : imageSource_(source), successCallback_(successCallback), context_(weakContext), codec_(std::move(codec)), in AnimatedImagePlayer()
106 ImageSourceInfo imageSource_; member in OHOS::Ace::AnimatedImagePlayer
H A Danimated_image_player.cpp78 player->successCallback_(player->imageSource_, canvasImage); in RenderFrame()
83 source = player->imageSource_] { callback(source, canvasImage); }, in RenderFrame()
H A Dimage_object.cpp177 imageSource = imageSource_, id = Container::CurrentId()]() mutable {
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dimage_source_ohos.cpp74 uint32_t res = imageSource_->GetImagePropertyString(0, key, value); in GetProperty()
102 auto pixmap = imageSource_->CreatePixelMapEx(index, options, errorCode); in CreatePixelMap()
115 auto pixelMap = imageSource_->CreatePixelMap(decodeOpts, errorCode); in CreatePixelMap()
127 auto errorCode = imageSource_->GetImageInfo(info); in GetImageSize()
138 auto frameCount = imageSource_->GetFrameCount(errorCode); in GetFrameCount()
149 auto sourceInfo = imageSource_->GetSourceInfo(errorCode); in GetEncodedFormat()
H A Dimage_source_ohos.h29 explicit ImageSourceOhos(std::unique_ptr<Media::ImageSource>&& source) : imageSource_(std::move(source)) {} in ImageSourceOhos()
44 std::unique_ptr<Media::ImageSource> imageSource_; member in OHOS::Ace::ImageSourceOhos
/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_object.cpp39 imageSource_, in UploadToGpuForRender()
H A Dapng_image_object.h87 return MakeRefPtr<ApngImageObject>(imageSource_, imageSize_, frameCount_, skData_, apngDecoder_);
H A Dapng_image_player.h126 ImageSourceInfo imageSource_; member in OHOS::Ace::APngImagePlayer
H A Dapng_image_player.cpp35 : imageSource_(source), successCallback_(successCallback), context_(weakContext), in APngImagePlayer()
264 source = player->imageSource_] { callback(source, canvasImage); }, in RenderFrame()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dincremental_pixel_map.h63 ImageSource *imageSource_ = nullptr; member in OHOS::Media::IncrementalDecodingState::IncrementalPixelMap
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dparticle_property.h72 return imageSource_; in GetImageSource()
77 imageSource_ = imageSource; in SetImageSource()
102 return (imageSource_ == other.GetImageSource()) && (size_ == other.GetSize()) && in operator ==()
109 str.append("imageSource: [").append(imageSource_).append("]"); in ToString()
118 std::string imageSource_; member
/foundation/multimedia/image_framework/interfaces/kits/js/common/include/
H A Dimage_creator_napi.h99 std::shared_ptr<ImageSource> imageSource_; member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_webp_test.cpp614 incOpts->imageSource_ = nullptr; in HWTEST_F()
645 ASSERT_EQ(incOpts->imageSource_, nullptr); in HWTEST_F()

Completed in 10 milliseconds