Searched refs:ImageReceiverNapi (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_receiver_mdk_kits.cpp | 25 using ImageReceiverNapiCtxFunc = int32_t (*)(ImageReceiverNapi* native, struct ImageReceiverArgs* a… 29 static ImageReceiver* GetNativeReceiver(ImageReceiverNapi* napi) in GetNativeReceiver() 37 static ImageReceiver* CheckAndGetReceiver(ImageReceiverNapi* native, const struct ImageReceiverArgs… in CheckAndGetReceiver() 56 *(args->outValue) = ImageReceiverNapi::CreateImageReceiverJsObject(env, createArgs); in ImageReceiverNapiCreate() 63 static int32_t ImageReceiverNapiGetReceiverId(ImageReceiverNapi* native, struct ImageReceiverArgs* … in ImageReceiverNapiGetReceiverId() 107 static int32_t ImageReceiverNapiOn(ImageReceiverNapi* native, struct ImageReceiverArgs* args) in ImageReceiverNapiOn() 119 static int32_t ImageReceiverNapiGetSize(ImageReceiverNapi* native, struct ImageReceiverArgs* args) in ImageReceiverNapiGetSize() 130 static int32_t ImageReceiverNapiGetCapacity(ImageReceiverNapi* native, struct ImageReceiverArgs* ar… in ImageReceiverNapiGetCapacity() 140 static int32_t ImageReceiverNapiGetFormat(ImageReceiverNapi* native, struct ImageReceiverArgs* args) in ImageReceiverNapiGetFormat() 183 ImageReceiverNapi* ImageReceiver_Unwrap(napi_env env, napi_value value) in ImageReceiver_Unwrap() [all …]
|
H A D | image_receiver_napi.cpp | 42 shared_ptr<ImageReceiver> ImageReceiverNapi::staticInstance_ = nullptr; 43 thread_local napi_ref ImageReceiverNapi::sConstructor_ = nullptr; 67 ImageReceiverNapi::ImageReceiverNapi():env_(nullptr) in ImageReceiverNapi() function in OHOS::Media::ImageReceiverNapi 70 ImageReceiverNapi::~ImageReceiverNapi() in ~ImageReceiverNapi() 120 void ImageReceiverNapi::NativeRelease() in NativeRelease() 125 void ImageReceiverNapi::UnRegisterReceiverListener() in UnRegisterReceiverListener() 132 ImageReceiver* ImageReceiverNapi::GetNative() in GetNative() 235 auto reference = std::make_unique<ImageReceiverNapi>(); in Constructor() 244 ImageReceiverNapi::Destructor, nullptr, nullptr); in Constructor() 256 delete reinterpret_cast<ImageReceiverNapi*>(nativeObject); in Destructor() [all …]
|
H A D | native_module_ohos_image.cpp | 47 ImageReceiverNapi::Init(env, exports); in Export()
|
/ohos5.0/foundation/multimedia/image_framework/interfaces/kits/js/common/include/ |
H A D | image_receiver_napi.h | 46 class ImageReceiverNapi { 48 ImageReceiverNapi(); 49 ~ImageReceiverNapi(); 99 ImageReceiverNapi *constructor_ = nullptr; 148 ImageReceiverNapi::DoCallBack(context, name, callBack); in OnSurfaceBufferAvaliable()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/include/ |
H A D | image_receiver_mdk_kits.h | 55 ImageReceiverNapi* ImageReceiver_Unwrap(napi_env env, napi_value value); 57 int32_t ImageReceiverNativeCtxCall(int32_t mode, ImageReceiverNapi* native, struct ImageReceiverArg…
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/ |
H A D | image_receiver_mdk.cpp | 26 ImageReceiverNapi* napi = nullptr; 33 ImageReceiverNapi* napi = ImageReceiver_Unwrap(env, source); in OH_Image_Receiver_InitImageReceiverNative()
|