/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_receiver_napi.cpp | 396 ic.status = napi_unwrap(args.env, ic.thisVar, reinterpret_cast<void**>(&(ic.context->constructor_))); in JSCommonProcess() 398 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(ic.status, ic.context->constructor_), in JSCommonProcess() 401 if (ic.context->constructor_ == nullptr) { in JSCommonProcess() 405 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(ic.status, ic.context->constructor_->imageReceiver_), in JSCommonProcess() 462 auto native = ic.context->constructor_->imageReceiver_; in JsGetSize() 492 auto native = ic.context->constructor_->imageReceiver_; in JsGetCapacity() 520 auto native = ic.context->constructor_->imageReceiver_; in JsGetFormat() 616 ic.context->constructor_->isCallBackTest = true; in JsTest() 617 DoTest(ic.context->constructor_->imageReceiver_, PIXEL_FMT_RGBA_8888); in JsTest() 636 ic.context->constructor_ in JsCheckDeviceTest() [all...] |
H A D | image_creator_napi.cpp | 320 ic.status = napi_unwrap(args.env, ic.thisVar, reinterpret_cast<void**>(&(ic.context->constructor_))); in JSCommonProcess() 322 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(ic.status, ic.context->constructor_), in JSCommonProcess() 324 if (ic.context->constructor_ == nullptr) { in JSCommonProcess() 328 ic.context->creator_ = ic.context->constructor_->imageCreator_; in JSCommonProcess() 389 auto native = ic.context->constructor_->imageCreator_; in JsGetSize() 423 auto native = ic.context->constructor_->imageCreator_; in JsGetCapacity() 455 auto native = ic.context->constructor_->imageCreator_; in JsGetFormat() 562 auto native = context->constructor_->imageCreator_; in JsDequeueImage() 647 auto native = context->constructor_->imageCreator_; in JsQueueImageCallBack() 679 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&context->constructor_)); in JsQueueImage() [all...] |
H A D | image_packer_napi.cpp | 94 ImagePackerNapi *constructor_; member 826 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_)); in Packing() 827 NAPI_ASSERT(env, IMG_IS_READY(status, asyncContext->constructor_), "fail to unwrap constructor_"); in Packing() 829 asyncContext->rImagePacker = asyncContext->constructor_->nativeImgPck; in Packing() 864 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&context->constructor_)); in GetSupportedFormats() 866 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->constructor_), in GetSupportedFormats() 869 uint32_t ret = context->constructor_->nativeImgPck->GetSupportedFormats(formats); in GetSupportedFormats() 891 if (context != nullptr && context->constructor_ != nullptr) { in ReleaseComplete() 892 delete context->constructor_; in ReleaseComplete() [all...] |
H A D | image_source_napi.cpp | 80 ImageSourceNapi *constructor_; member 121 ImageSourceNapi *constructor_; member 874 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_)); in GetSupportedFormats() 876 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_), in GetSupportedFormats() 879 uint32_t ret = asyncContext->constructor_->nativeImgSrc->GetSupportedFormats(formats); in GetSupportedFormats() 1430 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_)); in GetImageInfo() 1432 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_), in GetImageInfo() 1435 asyncContext->rImageSource = asyncContext->constructor_->nativeImgSrc; in GetImageInfo() 1557 context->rPixelMap = CreatePixelMapInner(context->constructor_, context->rImageSource, in CreatePixelMapExecute() 1612 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_)); in CreatePixelMap() [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_receiver_napi.cpp | 394 ic.status = napi_unwrap(args.env, ic.thisVar, reinterpret_cast<void**>(&(ic.context->constructor_)));
in JSCommonProcess() 396 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(ic.status, ic.context->constructor_),
in JSCommonProcess() 399 if (ic.context->constructor_ == nullptr) {
in JSCommonProcess() 403 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(ic.status, ic.context->constructor_->imageReceiver_),
in JSCommonProcess() 460 auto native = ic.context->constructor_->imageReceiver_;
in JsGetSize() 490 auto native = ic.context->constructor_->imageReceiver_;
in JsGetCapacity() 518 auto native = ic.context->constructor_->imageReceiver_;
in JsGetFormat() 614 ic.context->constructor_->isCallBackTest = true;
in JsTest() 615 DoTest(ic.context->constructor_->imageReceiver_, PIXEL_FMT_RGBA_8888);
in JsTest() 634 ic.context->constructor_ in JsCheckDeviceTest() [all...] |
H A D | sendable_image_source_napi.cpp | 65 SendableImageSourceNapi *constructor_;
member 574 context->rPixelMap = CreatePixelMapInner(context->constructor_, context->rImageSource,
in CreatePixelMapExecute() 659 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_));
in CreatePixelMap() 660 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_),
in CreatePixelMap() 662 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_->nativeImgSrc),
in CreatePixelMap() 664 asyncContext->rImageSource = asyncContext->constructor_->nativeImgSrc;
in CreatePixelMap() 870 delete context->constructor_;
in ReleaseComplete() 871 context->constructor_ = nullptr;
in ReleaseComplete() 892 status = napi_remove_wrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_));
in Release() 894 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_), resul in Release() [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/sampling_options_napi/ |
H A D | js_sampling_options.cpp | 23 thread_local napi_ref JsSamplingOptions::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsSamplingOptions 38 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
|
H A D | js_sampling_options.h | 40 static thread_local napi_ref constructor_; member in OHOS::Rosen::Drawing::final
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/mask_filter_napi/ |
H A D | js_mask_filter.cpp | 23 thread_local napi_ref JsMaskFilter::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsMaskFilter 38 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
|
H A D | js_mask_filter.h | 41 static thread_local napi_ref constructor_; member in OHOS::Rosen::Drawing::final
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/font_napi/ |
H A D | js_typeface.cpp | 24 thread_local napi_ref JsTypeface::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsTypeface 42 status = napi_create_reference(env, constructor, 1, &constructor_); in Init() 96 napi_status status = napi_get_reference_value(env, constructor_, &constructor); in CreateJsTypeface()
|
/foundation/multimedia/player_framework/frameworks/js/mediasource/ |
H A D | media_source_napi.cpp | 26 thread_local napi_ref MediaSourceNapi::constructor_ = nullptr; member in OHOS::Media::MediaSourceNapi 43 status = napi_create_reference(env, constructor, 1, &constructor_); in Init() 124 napi_status ret = napi_get_reference_value(env, constructor_, &constructor); in JsCreateMediaSourceWithUrl()
|
H A D | media_source_napi.h | 45 static thread_local napi_ref constructor_; member in OHOS::Media::MediaSourceNapi
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/line_typeset_napi/ |
H A D | js_line_typeset.cpp | 28 thread_local napi_ref JsLineTypeset::constructor_ = nullptr; 80 napi_status status = napi_get_reference_value(env, constructor_, &constructor); in CreateJsLineTypeset() 114 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
|
H A D | js_line_typeset.h | 41 static thread_local napi_ref constructor_; member in OHOS::Rosen::final
|
/foundation/multimedia/player_framework/interfaces/kits/js/ |
H A D | media_capability_napi.h | 35 static thread_local napi_ref constructor_;
member in OHOS::Media::MediaCapsNapi
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/shadow_layer_napi/ |
H A D | js_shadow_layer.h | 42 static thread_local napi_ref constructor_; member in OHOS::Rosen::Drawing::final
|
H A D | js_shadow_layer.cpp | 23 thread_local napi_ref JsShadowLayer::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsShadowLayer 38 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/path_effect_napi/ |
H A D | js_path_effect.h | 42 static thread_local napi_ref constructor_; member in OHOS::Rosen::Drawing::final
|
H A D | js_path_effect.cpp | 23 thread_local napi_ref JsPathEffect::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsPathEffect 39 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/lattice_napi/ |
H A D | js_lattice.h | 41 static thread_local napi_ref constructor_; member in OHOS::Rosen::Drawing::final
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/image_filter_napi/ |
H A D | js_image_filter.h | 45 static thread_local napi_ref constructor_; member in OHOS::Rosen::Drawing::final
|
H A D | js_image_filter.cpp | 25 thread_local napi_ref JsImageFilter::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsImageFilter 41 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
|
/foundation/multimedia/player_framework/frameworks/js/common/ |
H A D | common_napi.h | 218 : constructor_(constructor) in MediaJsResultInstance() 225 napi_status ret = napi_get_reference_value(env, constructor_, &constructor); 233 napi_ref constructor_; member in OHOS::Media::MediaJsResultInstance 239 : constructor_(constructor), in AVCodecJsResultCtor() 248 napi_status ret = napi_get_reference_value(env, constructor_, &constructor); 268 napi_ref constructor_; member in OHOS::Media::AVCodecJsResultCtor
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/color_filter_napi/ |
H A D | js_color_filter.h | 46 static thread_local napi_ref constructor_; member in OHOS::Rosen::Drawing::final
|