Searched refs:pPixelMapNapi (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_pixel_map_napi.cpp | 536 std::unique_ptr<SendablePixelMapNapi> pPixelMapNapi = std::make_unique<SendablePixelMapNapi>(); in Constructor() local 538 IMG_NAPI_CHECK_RET(IMG_NOT_NULL(pPixelMapNapi), undefineVar); in Constructor() 540 pPixelMapNapi->env_ = env; in Constructor() 542 pPixelMapNapi->nativePixelMap_ = PixelMapContainer::GetInstance()[pixelMapId]; in Constructor() 544 pPixelMapNapi->GetUniqueId(), pPixelMapNapi->nativePixelMap_->GetUniqueId()); in Constructor() 549 status = napi_wrap_sendable(env, thisVar, reinterpret_cast<void*>(pPixelMapNapi.get()), in Constructor() 553 pPixelMapNapi.release(); in Constructor()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | pixel_map_napi.cpp | 862 std::unique_ptr<PixelMapNapi> pPixelMapNapi = std::make_unique<PixelMapNapi>(); in Constructor() local 864 IMG_NAPI_CHECK_RET(IMG_NOT_NULL(pPixelMapNapi), undefineVar); in Constructor() 866 pPixelMapNapi->env_ = env; in Constructor() 868 pPixelMapNapi->nativePixelMap_ = PixelMapContainer::GetInstance()[pixelMapId]; in Constructor() 870 pPixelMapNapi->GetUniqueId(), pPixelMapNapi->nativePixelMap_->GetUniqueId()); in Constructor() 876 env, thisVar, DetachPixelMapFunc, AttachPixelMapFunc, pPixelMapNapi.get(), nullptr); in Constructor() 878 …status = napi_wrap_with_size(env, thisVar, reinterpret_cast<void*>(pPixelMapNapi.get()), PixelMapN… in Constructor() 879 nullptr, nullptr, static_cast<size_t>(pPixelMapNapi->nativePixelMap_->GetByteCount())); in Constructor() 882 pPixelMapNapi.release(); in Constructor()
|