Home
last modified time | relevance | path

Searched refs:nativeImageSource (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_source_native_impl.cpp46 if (nativeImageSource == nullptr) { in OH_ImageSourceNative()
50 innerImageSource_ = std::move(nativeImageSource); in OH_ImageSourceNative()
56 …std::unique_ptr<ImageSource> nativeImageSource = ImageSource::CreateImageSource(fd, opts, errorCod… in OH_ImageSourceNative() local
57 if (nativeImageSource == nullptr) { in OH_ImageSourceNative()
61 innerImageSource_ = std::move(nativeImageSource); in OH_ImageSourceNative()
67 std::unique_ptr<ImageSource> nativeImageSource = ImageSource::CreateImageSource( in OH_ImageSourceNative() local
69 if (nativeImageSource == nullptr) { in OH_ImageSourceNative()
73 innerImageSource_ = std::move(nativeImageSource); in OH_ImageSourceNative()
80 std::unique_ptr<ImageSource> nativeImageSource = ImageSource::CreateImageSource( in OH_ImageSourceNative() local
82 if (nativeImageSource == nullptr) { in OH_ImageSourceNative()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_source_mdk_kits.cpp128 std::unique_ptr<ImageSource> nativeImageSource = nullptr; in ImageSourceNativeCreate() local
144 nativeImageSource = ImageSource::CreateImageSource(source->buffer, in ImageSourceNativeCreate()
150 if (nativeImageSource != nullptr) { in ImageSourceNativeCreate()
151 result = std::move(nativeImageSource); in ImageSourceNativeCreate()
220 if (nativeImageSource == nullptr) { in ImageSourceNapiCreateFromUri()
227 std::shared_ptr<ImageSource> imageSource = std::move(nativeImageSource); in ImageSourceNapiCreateFromUri()
253 if (nativeImageSource == nullptr) { in ImageSourceNapiCreateFromFd()
260 std::shared_ptr<ImageSource> imageSource = std::move(nativeImageSource); in ImageSourceNapiCreateFromFd()
288 if (nativeImageSource == nullptr) { in ImageSourceNapiCreateFromData()
296 std::shared_ptr<ImageSource> imageSource = std::move(nativeImageSource); in ImageSourceNapiCreateFromData()
[all …]