Home
last modified time | relevance | path

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

/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dmetadata_napi.cpp53 MetadataNapi *nConstructor; member
433 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&context->nConstructor)); in UnwrapContext()
435 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->nConstructor), in UnwrapContext()
438 context->rMetadata = context->nConstructor->GetNativeMetadata(); in UnwrapContext()
466 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&context->nConstructor)); in UnwrapContextForModify()
467 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->nConstructor), nullptr, IMAGE_LOGE("Fail to unwrap context")); in UnwrapContextForModify()
469 context->rMetadata = context->nConstructor->GetNativeMetadata(); in UnwrapContextForModify()
601 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetAllProperties()
602 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), nullptr, in GetAllProperties()
605 asyncContext->rMetadata = asyncContext->nConstructor in GetAllProperties()
[all...]
H A Dauxiliary_picture_napi.cpp57 AuxiliaryPictureNapi *nConstructor; member
420 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetMetadata()
421 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in GetMetadata()
423 asyncContext->rAuxiliaryPicture = asyncContext->nConstructor->nativeAuxiliaryPicture_; in GetMetadata()
483 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in SetMetadata()
484 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in SetMetadata()
486 asyncContext->rAuxiliaryPicture = asyncContext->nConstructor->nativeAuxiliaryPicture_; in SetMetadata()
676 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in SetAuxiliaryPictureInfo()
677 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in SetAuxiliaryPictureInfo()
679 asyncContext->auxPicture = asyncContext->nConstructor in SetAuxiliaryPictureInfo()
[all...]
H A Dpicture_napi.cpp63 PictureNapi *nConstructor; member
218 nVal->status = napi_unwrap(env, nVal->thisVar, reinterpret_cast<void**>(&(nVal->context->nConstructor))); in prepareNapiEnv()
672 nVal.context->rPicture = nVal.context->nConstructor->nativePicture_; in Marshalling()
730 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetHdrComposedPixelMap()
731 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), result, in GetHdrComposedPixelMap()
733 asyncContext->rPicture = asyncContext->nConstructor->nativePicture_; in GetHdrComposedPixelMap()
814 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetMetadata()
815 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in GetMetadata()
817 asyncContext->rPicture = asyncContext->nConstructor->nativePicture_; in GetMetadata()
868 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in SetMetadata()
[all...]
H A Dpixel_map_napi.cpp122 PixelMapNapi *nConstructor; member
1684 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in ReadPixelsToBuffer()
1686 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in ReadPixelsToBuffer()
1688 asyncContext->rPixelMap = asyncContext->nConstructor->nativePixelMap_; in ReadPixelsToBuffer()
1708 IMG_NAPI_CHECK_BUILD_ERROR(asyncContext->nConstructor->GetPixelNapiEditable(), in ReadPixelsToBuffer()
1788 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in ReadPixels()
1790 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in ReadPixels()
1793 asyncContext->rPixelMap = asyncContext->nConstructor->nativePixelMap_; in ReadPixels()
1811 IMG_NAPI_CHECK_BUILD_ERROR(asyncContext->nConstructor->GetPixelNapiEditable(), in ReadPixels()
1886 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in WritePixels()
[all...]
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_pixel_map_napi.cpp75 SendablePixelMapNapi *nConstructor; member
1295 status = NapiUnwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in ReadPixelsToBuffer()
1296 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in ReadPixelsToBuffer()
1298 asyncContext->rPixelMap = asyncContext->nConstructor->nativePixelMap_; in ReadPixelsToBuffer()
1318 IMG_NAPI_CHECK_BUILD_ERROR(asyncContext->nConstructor->GetPixelNapiEditable(), in ReadPixelsToBuffer()
1400 status = NapiUnwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in ReadPixels()
1401 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->nConstructor), in ReadPixels()
1404 asyncContext->rPixelMap = asyncContext->nConstructor->nativePixelMap_; in ReadPixels()
1422 IMG_NAPI_CHECK_BUILD_ERROR(asyncContext->nConstructor->GetPixelNapiEditable(), in ReadPixels()
1500 status = NapiUnwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in WritePixels()
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/src/
H A Dcolor_picker_napi.cpp50 ColorPickerNapi *nConstructor = {nullptr}; member
538 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->nConstructor)); in GetMainColor()
539 EFFECT_NAPI_CHECK_RET_D(EFFECT_IS_READY(status, asyncContext->nConstructor), in GetMainColor()
542 asyncContext->rColorPicker = asyncContext->nConstructor->nativeColorPicker_; in GetMainColor()

Completed in 19 milliseconds