Home
last modified time | relevance | path

Searched refs:constructor_ (Results 1 – 25 of 118) sorted by relevance

12345

/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_receiver_napi.cpp401 if (ic.context->constructor_ == nullptr) { in JSCommonProcess()
616 ic.context->constructor_->isCallBackTest = true; in JsTest()
636 ic.context->constructor_->isCallBackTest = true; in JsCheckDeviceTest()
658 ic.context->constructor_->isCallBackTest = true; in JsTestYUV()
684 auto native = context->constructor_->imageReceiver_; in JsGetReceivingSurfaceId()
755 auto native = context->constructor_->imageReceiver_; in JsReadLatestImage()
768 if (context->constructor_->isCallBackTest) { in JsReadLatestImage()
769 context->constructor_->isCallBackTest = false; in JsReadLatestImage()
816 if (context->constructor_->isCallBackTest) { in JsReadNextImage()
817 context->constructor_->isCallBackTest = false; in JsReadNextImage()
[all …]
H A Dimage_creator_napi.cpp324 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()
680 if (status != napi_ok || context->constructor_ == nullptr) { in JsQueueImage()
868 auto native = ic.context->constructor_->imageCreator_; in JsOn()
931 && ic.context->constructor_->imageCreator_ != nullptr) { in JsOffOneArg()
[all …]
H A Dimage_source_napi.cpp79 ImageSourceNapi *constructor_; member
120 ImageSourceNapi *constructor_; member
1691 …yncContext->rPixelMap = CreatePixelMapInner(syncContext->constructor_, syncContext->constructor_->… in CreatePixelMapSync()
1891 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->constructor_), in UnwrapContext()
1894 context->rImageSource = context->constructor_->nativeImgSrc; in UnwrapContext()
2042 context->rImageSource = context->constructor_->nativeImgSrc; in UnwrapContextForModify()
2175 if (context->isSuccess && context->constructor_ != nullptr) { in UpdateDataExecute()
2296 delete context->constructor_; in ReleaseComplete()
2297 context->constructor_ = nullptr; in ReleaseComplete()
2364 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->constructor_), in UnwrapContextForList()
[all …]
H A Dimage_packer_napi.cpp92 ImagePackerNapi *constructor_; member
714 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_)); in Packing()
718 asyncContext->rImagePacker = asyncContext->constructor_->nativeImgPck; in Packing()
763 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&context->constructor_)); in GetSupportedFormats()
765 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->constructor_), in GetSupportedFormats()
768 uint32_t ret = context->constructor_->nativeImgPck->GetSupportedFormats(formats); in GetSupportedFormats()
790 if (context != nullptr && context->constructor_ != nullptr) { in ReleaseComplete()
791 delete context->constructor_; in ReleaseComplete()
792 context->constructor_ = nullptr; in ReleaseComplete()
816 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->constructor_), result, in Release()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_receiver_napi.cpp399 if (ic.context->constructor_ == nullptr) { in JSCommonProcess()
614 ic.context->constructor_->isCallBackTest = true; in JsTest()
634 ic.context->constructor_->isCallBackTest = true; in JsCheckDeviceTest()
656 ic.context->constructor_->isCallBackTest = true; in JsTestYUV()
682 auto native = context->constructor_->imageReceiver_; in JsGetReceivingSurfaceId()
753 auto native = context->constructor_->imageReceiver_; in JsReadLatestImage()
766 if (context->constructor_->isCallBackTest) { in JsReadLatestImage()
767 context->constructor_->isCallBackTest = false; in JsReadLatestImage()
814 if (context->constructor_->isCallBackTest) { in JsReadNextImage()
815 context->constructor_->isCallBackTest = false; in JsReadNextImage()
[all …]
H A Dsendable_image_source_napi.cpp66 SendableImageSourceNapi *constructor_; member
541 context->rPixelMap = CreatePixelMapInner(context->constructor_, context->rImageSource, in CreatePixelMapExecute()
626 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_)); in CreatePixelMap()
627 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_), in CreatePixelMap()
629 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_->nativeImgSrc), in CreatePixelMap()
631 asyncContext->rImageSource = asyncContext->constructor_->nativeImgSrc; in CreatePixelMap()
841 delete context->constructor_; in ReleaseComplete()
842 context->constructor_ = nullptr; in ReleaseComplete()
863 status = napi_remove_wrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->constructor_)); in Release()
865 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->constructor_), result, in Release()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/font_napi/
H A Djs_typeface.cpp24 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()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/mediasource/
H A Dmedia_source_napi.cpp26 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 Dmedia_source_napi.h45 static thread_local napi_ref constructor_; variable
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/sampling_options_napi/
H A Djs_sampling_options.cpp23 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 Djs_sampling_options.h40 static thread_local napi_ref constructor_;
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.h218 : constructor_(constructor) in MediaJsResultInstance()
225 napi_status ret = napi_get_reference_value(env, constructor_, &constructor); in GetJsResult()
233 napi_ref constructor_;
239 : constructor_(constructor), in AVCodecJsResultCtor()
248 napi_status ret = napi_get_reference_value(env, constructor_, &constructor); in GetJsResult()
268 napi_ref constructor_;
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dcloud_media_asset_status_napi.cpp34 thread_local napi_ref CloudMediaAssetStatusNapi::constructor_ = nullptr; member in OHOS::Media::CloudMediaAssetStatusNapi
40 .ref = &constructor_, in Init()
118 napi_status status = napi_get_reference_value(env, constructor_, &constructor); in NewCloudMediaAssetStatusNapi()
H A Dcloud_enhancement_task_state_napi.cpp37 thread_local napi_ref CloudEnhancementTaskStateNapi::constructor_ = nullptr; member in OHOS::Media::CloudEnhancementTaskStateNapi
43 .ref = &constructor_, in Init()
142 napi_status status = napi_get_reference_value(env, constructor_, &constructor); in NewCloudEnhancementTaskStateNapi()
H A Dmedia_asset_edit_data_napi.cpp28 thread_local napi_ref MediaAssetEditDataNapi::constructor_ = nullptr; member in OHOS::Media::MediaAssetEditDataNapi
36 .ref = &constructor_, in Init()
101 CHECK_ARGS(env, napi_get_reference_value(env, constructor_, &constructor), JS_INNER_FAIL); in CreateMediaAssetEditData()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/text_line_napi/
H A Djs_text_line.cpp26 thread_local napi_ref JsTextLine::constructor_ = nullptr; member in OHOS::Rosen::JsTextLine
70 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
96 napi_status status = napi_get_reference_value(env, constructor_, &constructor); in CreateTextLine()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/mask_filter_napi/
H A Djs_mask_filter.cpp23 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 Djs_mask_filter.h41 static thread_local napi_ref constructor_; variable
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/shadow_layer_napi/
H A Djs_shadow_layer.cpp23 thread_local napi_ref JsShadowLayer::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsShadowLayer
38 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/image_filter_napi/
H A Djs_image_filter.cpp25 thread_local napi_ref JsImageFilter::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsImageFilter
41 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/path_effect_napi/
H A Djs_path_effect.cpp23 thread_local napi_ref JsPathEffect::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsPathEffect
39 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/run_napi/
H A Djs_run.cpp24 thread_local napi_ref JsRun::constructor_ = nullptr; member in OHOS::Rosen::JsRun
72 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
100 napi_status status = napi_get_reference_value(env, constructor_, &constructor); in CreateRun()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/roundRect_napi/
H A Djs_roundrect.cpp23 thread_local napi_ref JsRoundRect::constructor_ = nullptr; member in OHOS::Rosen::Drawing::JsRoundRect
41 status = napi_create_reference(env, constructor, 1, &constructor_); in Init()
/ohos5.0/foundation/multimedia/player_framework/interfaces/kits/js/
H A Dmedia_capability_napi.h35 static thread_local napi_ref constructor_; variable
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/lattice_napi/
H A Djs_lattice.h41 static thread_local napi_ref constructor_; variable

12345