/foundation/multimedia/image_effect/test/unittest/utils/ |
H A D | test_native_buffer_utils.cpp | 36 OH_NativeBuffer *nativeBuffer = OH_NativeBuffer_Alloc(&config); in CreateNativeBuffer() local
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ohos/ |
H A D | platform_hardware_buffer_util.cpp | 36 OH_NativeBuffer* nativeBuffer = static_cast<OH_NativeBuffer*>(reinterpret_cast<void*>(hwBuffer)); in QueryHwBufferFormatProperties() local 115 OH_NativeBuffer* nativeBuffer = static_cast<OH_NativeBuffer*>(reinterpret_cast<void*>(hwBuffer)); in CreateHwPlatformImage() local
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_data.cpp | 38 bool SkiaData::BuildFromOHNativeBuffer(OH_NativeBuffer* nativeBuffer, size_t length) in BuildFromOHNativeBuffer() argument
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | data.cpp | 31 bool Data::BuildFromOHNativeBuffer(OH_NativeBuffer *nativeBuffer, size_t length) in BuildFromOHNativeBuffer() argument
|
/foundation/multimedia/image_framework/frameworks/kits/native/common/ndk/ |
H A D | image_native.cpp | 69 OH_ImageNative_GetByteBuffer(OH_ImageNative* image, uint32_t componentType, OH_NativeBuffer** nativeBuffer) OH_ImageNative_GetByteBuffer() argument
|
/foundation/multimedia/media_foundation/tests/unittest/avbuffer/ |
H A D | avbuffer_framework_unit_test.cpp | 736 auto nativeBuffer = OH_AVBuffer_GetNativeBuffer(buf); in HWTEST_F() local 757 auto nativeBuffer = OH_AVBuffer_GetNativeBuffer(buf); in HWTEST_F() local
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquirevideobuffer_fuzzer/ |
H A D | screencaptureacquirevideobuffer_ndk_fuzzer.cpp | 111 OH_NativeBuffer *nativeBuffer = OH_AVScreenCapture_AcquireVideoBuffer(screenCapture, &fence, ×tamp, &damage); in FuzzScreenCaptureAcquireVideoBufferNdk() local
|
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | native_buffer_test.cpp | 76 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nativeWindowBuffer); in HWTEST_F() local 594 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nullptr); in HWTEST_F() local 628 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nativeWindowBuffer); in HWTEST_F() local 729 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nativeWindowBuffer); in HWTEST_F() local 779 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nativeWindowBuffer); HWTEST_F() local [all...] |
H A D | native_window_test.cpp | 899 OH_NativeBuffer* nativeBuffer = sBuffer->SurfaceBufferToNativeBuffer(); in HWTEST_F() local
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_egl_image_manager.cpp | 90 explicit NativeWindowBufferObject(NativeWindowBuffer* nativeBuffer) in NativeWindowBufferObject() argument 142 EGLClientBuffer CastToEGLClientBuffer(NativeWindowBuffer* nativeBuffer) in CastToEGLClientBuffer() argument 218 auto nativeBuffer = Detail::CreateNativeWindowBuffer(buffer); in Create() local 152 CreateEGLImage( EGLDisplay eglDisplay, EGLContext eglContext, const NativeWindowBufferObject& nativeBuffer) CreateEGLImage() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
H A D | native_buffer_utils.cpp | 31 bool GetNativeBufferFormatProperties(RsVulkanContext& vkContext, VkDevice device, OH_NativeBuffer* nativeBuffer, in GetNativeBufferFormatProperties() argument 184 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nativeWindowBuffer); in MakeFromNativeWindowBuffer() local 290 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nativeWindowBuffer); in MakeBackendTextureFromNativeBuffer() local 106 AllocateDeviceMemory(RsVulkanContext& vkContext, VkDeviceMemory* memory, VkImage& image, OH_NativeBuffer* nativeBuffer, VkNativeBufferPropertiesOHOS& nbProps, bool isProtected) AllocateDeviceMemory() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_background.cpp | 440 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nativeWindowBuffer_); in SetCompressedDataForASTC() local
|
/foundation/multimedia/media_foundation/tests/unittest/detail_enhancer_video_ndk/sample/ |
H A D | video_sample.cpp | 207 OH_NativeBuffer *nativeBuffer = nullptr; in InputFunc() local
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | tester_capi.cpp | 421 OH_NativeBuffer* nativeBuffer = OH_AVBuffer_GetNativeBuffer(buf.cavbuf); in WaitForInput() local
|
H A D | tester_common.cpp | 396 bool TesterCommon::NativeBufferToBufferInfo(BufInfo& buf, OH_NativeBuffer* nativeBuffer) in NativeBufferToBufferInfo() argument
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | picture_handle_client.cpp | 288 void* nativeBuffer = surfaceBuffer.GetRefPtr();
in ReadSurfaceBuffer() local
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libsvgplugin/src/ |
H A D | svg_decoder.cpp | 151 void* nativeBuffer = sb.GetRefPtr();
in AllocDmaBuffer() local
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/sample/encoder/ |
H A D | venc_sample.cpp | 570 OH_NativeBuffer *nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(ohNativeWindowBuffer); local 607 int32_t VideoEncSample::InputProcess(OH_NativeBuffer *nativeBuffer, OHNativeWindowBuffer *ohNativeWindowBuffer) argument
|
/foundation/multimedia/image_effect/frameworks/native/capi/ |
H A D | image_effect.cpp | 415 ImageEffect_ErrorCode OH_ImageEffect_SetInputNativeBuffer(OH_ImageEffect *imageEffect, OH_NativeBuffer *nativeBuffer) in OH_ImageEffect_SetInputNativeBuffer() argument 438 ImageEffect_ErrorCode OH_ImageEffect_SetOutputNativeBuffer(OH_ImageEffect *imageEffect, OH_NativeBuffer *nativeBuffer) in OH_ImageEffect_SetOutputNativeBuffer() argument
|
/foundation/multimedia/av_codec/test/fuzztest/encoderapi11_fuzzer/ |
H A D | videoenc_api11_sample.cpp | 347 uint32_t VEncAPI11FuzzSample::FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer) in FlushSurf() argument 388 OH_NativeBuffer *nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(ohNativeWindowBuffer); in InputFuncSurface() local
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/ |
H A D | auxiliary_generator.cpp | 247 void *nativeBuffer = sb.GetRefPtr(); in AllocSurfaceBuffer() local
|
H A D | picture.cpp | 251 void* nativeBuffer = surfaceBuffer.GetRefPtr(); in SurfaceBuffer2PixelMap() local
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_draw_cmd.cpp | 224 OH_NativeBuffer* nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(nativeWindowBuffer_); in PreProcessPixelMap() local
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/ |
H A D | videoenc_ndk_sample.cpp | 450 uint32_t VEncNdkSample::FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer) in FlushSurf() argument 496 OH_NativeBuffer *nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(ohNativeWindowBuffer); in InputFuncSurface() local
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | native_image_effect_unittest.cpp | 659 OH_NativeBuffer *nativeBuffer = nativeBufferRgba_.get(); in HWTEST_F() local 1223 OH_NativeBuffer *nativeBuffer = nativeBufferNV21_.get(); in HWTEST_F() local 1277 OH_NativeBuffer *nativeBuffer = nativeBufferNV12_.get(); in HWTEST_F() local 1331 OH_NativeBuffer *nativeBuffer = nativeBufferNV21_.get(); in HWTEST_F() local 1376 OH_NativeBuffer *nativeBuffer = nativeBufferNV21_.get(); in HWTEST_F() local [all...] |