Home
last modified time | relevance | path

Searched refs:nConstructor (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dmetadata_napi.cpp53 MetadataNapi *nConstructor; member
451 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&context->nConstructor)); in UnwrapContext()
453 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->nConstructor), in UnwrapContext()
456 context->rMetadata = context->nConstructor->GetNativeMetadata(); in UnwrapContext()
484 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&context->nConstructor)); in UnwrapContextForModify()
487 context->rMetadata = context->nConstructor->GetNativeMetadata(); in UnwrapContextForModify()
619 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetAllProperties()
620 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), nullptr, in GetAllProperties()
623 asyncContext->rMetadata = asyncContext->nConstructor->nativeMetadata_; in GetAllProperties()
664 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), nullptr, in Clone()
[all …]
H A Dauxiliary_picture_napi.cpp57 AuxiliaryPictureNapi *nConstructor; member
445 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in GetMetadata()
447 asyncContext->rAuxiliaryPicture = asyncContext->nConstructor->nativeAuxiliaryPicture_; in GetMetadata()
508 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in SetMetadata()
510 asyncContext->rAuxiliaryPicture = asyncContext->nConstructor->nativeAuxiliaryPicture_; in SetMetadata()
704 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in SetAuxiliaryPictureInfo()
706 asyncContext->auxPicture = asyncContext->nConstructor->nativeAuxiliaryPicture_; in SetAuxiliaryPictureInfo()
757 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in ReadPixelsToBuffer()
759 asyncContext->rAuxiliaryPicture = asyncContext->nConstructor->nativeAuxiliaryPicture_; in ReadPixelsToBuffer()
807 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in WritePixelsFromBuffer()
[all …]
H A Dpixel_map_napi.cpp122 PixelMapNapi *nConstructor; member
2558 if (asyncContext->nConstructor->IsLockPixelMap()) { in Release()
2561 if (asyncContext->nConstructor->nativePixelMap_ != nullptr) { in Release()
2563 asyncContext->nConstructor->GetUniqueId(), in Release()
2565 asyncContext->nConstructor->nativePixelMap_.reset(); in Release()
2607 if (nVal->context->nConstructor == nullptr || in prepareNapiEnv()
3438 if (!context->nConstructor->GetPixelNapiEditable()) { in ToSdrExec()
3503 if (nVal.context->nConstructor->nativePixelMap_ == nullptr) { in GetColorSpace()
3939 nVal.context->nConstructor->SetTransferDetach(detach); in SetTransferDetached()
4212 !nVal.context->nConstructor->nativePixelMap_) { in GetMetadata()
[all …]
H A Dpicture_napi.cpp63 PictureNapi *nConstructor; member
677 nVal.context->rPicture = nVal.context->nConstructor->nativePicture_; in Marshalling()
735 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetHdrComposedPixelMap()
736 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), result, in GetHdrComposedPixelMap()
738 asyncContext->rPicture = asyncContext->nConstructor->nativePicture_; in GetHdrComposedPixelMap()
819 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetMetadata()
820 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in GetMetadata()
822 asyncContext->rPicture = asyncContext->nConstructor->nativePicture_; in GetMetadata()
873 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in SetMetadata()
874 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in SetMetadata()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_pixel_map_napi.cpp75 SendablePixelMapNapi *nConstructor; member
1296 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in ReadPixelsToBuffer()
1298 asyncContext->rPixelMap = asyncContext->nConstructor->nativePixelMap_; in ReadPixelsToBuffer()
1401 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in ReadPixels()
1404 asyncContext->rPixelMap = asyncContext->nConstructor->nativePixelMap_; in ReadPixels()
1501 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in WritePixels()
2176 if (asyncContext->nConstructor->IsLockPixelMap()) { in Release()
2179 if (asyncContext->nConstructor->nativePixelMap_ != nullptr) { in Release()
2181 asyncContext->nConstructor->GetUniqueId(), in Release()
2183 asyncContext->nConstructor->nativePixelMap_.reset(); in Release()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/src/
H A Dcolor_picker_napi.cpp50 ColorPickerNapi *nConstructor = {nullptr};
547 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetMainColor()
548 EFFECT_NAPI_CHECK_RET_D(EFFECT_IS_READY(status, asyncContext->nConstructor), in GetMainColor()
551 asyncContext->rColorPicker = asyncContext->nConstructor->nativeColorPicker_; in GetMainColor()