Home
last modified time | relevance | path

Searched refs:nativeBuffer (Results 1 - 13 of 13) sorted by relevance

/test/xts/acts/graphic/nativebuffer/entry/src/main/cpp/
H A Dnativebuffer.cpp486 // nativeWindowBuffer和nativeBuffer是否一致 一致返回success,失败返回fail in OHNativeBufferFromNativeWindowBufferNormal()
528 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); in OHNativeBufferGetConfigNormal() local
530 OH_NativeBuffer_GetConfig(nativeBuffer, &nativeBufferConfig2); in OHNativeBufferGetConfigNormal()
549 OH_NativeBuffer_Unreference(nativeBuffer); in OHNativeBufferGetConfigNormal()
570 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); in OHNativeBufferGetSeqNumNormal() local
572 ret = OH_NativeBuffer_GetSeqNum(nativeBuffer); in OHNativeBufferGetSeqNumNormal()
578 OH_NativeBuffer_Unreference(nativeBuffer); in OHNativeBufferGetSeqNumNormal()
598 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); in OHNativeBufferMapNormal() local
600 uint32_t ret = OH_NativeBuffer_Map(nativeBuffer, &virAddr); in OHNativeBufferMapNormal()
606 OH_NativeBuffer_Unreference(nativeBuffer); in OHNativeBufferMapNormal()
620 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBuffeMapPlanesNullptr() local
643 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferMapPlanesNormal() local
677 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferReferenceNormal() local
692 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferReferenceMax() local
712 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferUnreferenceNormal() local
734 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferUnmapNormal() local
749 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferGetColorSpaceFirst() local
771 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferSetColorSpaceNormal() local
810 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferSetColorSpaceAbnormal() local
828 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferGetColorSpaceNullptr() local
855 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferGetMetadataValueFirst() local
869 OHNativeBufferSetDynamicMetadataValue1(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetDynamicMetadataValue1() argument
917 OHNativeBufferSetDynamicMetadataValue2(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetDynamicMetadataValue2() argument
964 OHNativeBufferSetDynamicMetadataValue3(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetDynamicMetadataValue3() argument
1023 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferSetDynamicMetadataValue() local
1052 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferSetMetadataValueTimes() local
1080 OHNativeBufferSetStaticMetadataValue1(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetStaticMetadataValue1() argument
1128 OHNativeBufferSetStaticMetadataValue2(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetStaticMetadataValue2() argument
1175 OHNativeBufferSetStaticMetadataValue3(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetStaticMetadataValue3() argument
1235 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferSetStaticMetadataValue() local
1254 OHNativeBufferSetMetadataValue1(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetMetadataValue1() argument
1304 OHNativeBufferSetMetadataValue2(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetMetadataValue2() argument
1352 OHNativeBufferSetMetadataValue3(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetMetadataValue3() argument
1396 OHNativeBufferSetMetadataValue4(napi_env env, OH_NativeBuffer *nativeBuffer) OHNativeBufferSetMetadataValue4() argument
1431 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferSetMetadataValue() local
1463 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferSetNullMetadataValue() local
1483 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferSetMetadataValueNullptr() local
1507 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferGetMetadataValueAbnormal() local
1531 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&nativeBufferConfig); OHNativeBufferGetMetadataValueNullptr() local
[all...]
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_module_test.cpp265 OH_NativeBuffer* nativeBuffer = nullptr; in DumpImageInfo() local
269 if (GetImageByteBuffer(image, types[i], &nativeBuffer) != IMAGE_SUCCESS || in DumpImageInfo()
278 types[i], nativeBuffer, static_cast<unsigned long>(bufferSize), rowStride, pixelStride); in DumpImageInfo()
394 OH_NativeBuffer **nativeBuffer) in GetImageByteBuffer()
396 Image_ErrorCode ret = OH_ImageNative_GetByteBuffer(image, type, nativeBuffer); in GetImageByteBuffer()
393 GetImageByteBuffer(OH_ImageNative *image, int32_t type, OH_NativeBuffer **nativeBuffer) GetImageByteBuffer() argument
H A Dimage_receiver_module_test.h56 Image_ErrorCode GetImageByteBuffer(OH_ImageNative *image, int32_t type, OH_NativeBuffer **nativeBuffer);
H A Dimage_receiver_test.cpp771 OH_NativeBuffer* nativeBuffer = nullptr; in JsGetImageByteBuffer() local
772 if (OH_ImageNative_GetByteBuffer(image, componentType, &nativeBuffer) != IMAGE_SUCCESS) { in JsGetImageByteBuffer()
777 napi_create_int32(env, (int32_t)(uintptr_t)nativeBuffer, &result); in JsGetImageByteBuffer()
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/
H A Dvideoenc_api11_sample.cpp473 uint32_t VEncAPI11Sample::FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer) in FlushSurf() argument
483 int32_t err = OH_NativeBuffer_Unmap(nativeBuffer); in FlushSurf()
515 OH_NativeBuffer *nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(ohNativeWindowBuffer); in InputFuncSurface() local
517 err = OH_NativeBuffer_Map(nativeBuffer, &virAddr); in InputFuncSurface()
524 const SurfaceBuffer *sbuffer = SurfaceBuffer::NativeBufferToSurfaceBuffer(nativeBuffer); in InputFuncSurface()
540 if (FlushSurf(ohNativeWindowBuffer, nativeBuffer)) in InputFuncSurface()
H A Dvideoenc_ndk_sample.cpp443 uint32_t VEncNdkSample::FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer) in FlushSurf() argument
453 int32_t err = OH_NativeBuffer_Unmap(nativeBuffer); in FlushSurf()
489 OH_NativeBuffer *nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(ohNativeWindowBuffer); in InputFuncSurface() local
491 err = OH_NativeBuffer_Map(nativeBuffer, &virAddr); in InputFuncSurface()
498 const SurfaceBuffer *sbuffer = SurfaceBuffer::NativeBufferToSurfaceBuffer(nativeBuffer); in InputFuncSurface()
514 if (FlushSurf(ohNativeWindowBuffer, nativeBuffer)) in InputFuncSurface()
/test/xts/acts/multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/
H A DnativeAVScreenCapturendk.cpp359 OH_NativeBuffer *nativeBuffer = in OnVideoBufferAvailable() local
361 if (nativeBuffer != nullptr) { in OnVideoBufferAvailable()
362 OH_NativeBuffer_GetConfig(nativeBuffer, &config); in OnVideoBufferAvailable()
365 OH_NativeBuffer_Unreference(nativeBuffer); in OnVideoBufferAvailable()
/test/xts/acts/graphic/nativewindow/entry/src/main/cpp/
H A Dnativewindow1.cpp1334 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&config); in testNativeWindowNativeWindowAttachBufferErrorCode() local
1336 nwb1 = OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer(nativeBuffer); in testNativeWindowNativeWindowAttachBufferErrorCode()
1337 nwb2 = OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer(nativeBuffer); in testNativeWindowNativeWindowAttachBufferErrorCode()
1338 nwb3 = OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer(nativeBuffer); in testNativeWindowNativeWindowAttachBufferErrorCode()
1339 nwb4 = OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer(nativeBuffer); in testNativeWindowNativeWindowAttachBufferErrorCode()
1346 OH_NativeBuffer_Unreference(nativeBuffer); in testNativeWindowNativeWindowAttachBufferErrorCode()
/test/xts/acts/multimedia/av_codec/vcodec/encoder/include/
H A Dvideoenc_api11_sample.h117 uint32_t FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer);
H A Dvideoenc_ndk_sample.h108 uint32_t FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer);
H A Dvideoenc_ndk_inner_sample.h103 int32_t InputProcess(OH_NativeBuffer *nativeBuffer, OHNativeWindowBuffer *ohNativeWindowBuffer);
/test/xts/acts/graphic/graphicnapitest/
H A DNativeWindowTest.cpp845 OH_NativeBuffer* nativeBuffer = sBuffer->SurfaceBufferToNativeBuffer(); in HWTEST_F() local
846 ASSERT_NE(nativeBuffer, nullptr); in HWTEST_F()
847 NativeWindowBuffer* nwBuffer = OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer(nativeBuffer); in HWTEST_F()
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/
H A DimageEffect.cpp913 OH_NativeBuffer *nativeBuffer = (OH_NativeBuffer *)0x1; in OHImageEffectSetOutputNativeBuffer() local
915 code = OH_ImageEffect_SetInputNativeBuffer(imageEffect, nativeBuffer); in OHImageEffectSetOutputNativeBuffer()

Completed in 18 milliseconds