/foundation/graphic/graphic_surface/interfaces/inner_api/surface/ |
H A D | external_window.h | 75 * @brief define the new type name OHNativeWindowBuffer for struct NativeWindowBuffer.
78 typedef struct NativeWindowBuffer OHNativeWindowBuffer;
typedef 428 * @brief Creates an <b>OHNativeWindowBuffer</b> instance. A new <b>OHNativeWindowBuffer</b> instance is created \n
433 * @return Returns the pointer to the <b>OHNativeWindowBuffer</b> instance created.
439 OHNativeWindowBuffer* OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer(void* pSurfaceBuffer);
442 * @brief Creates an <b>OHNativeWindowBuffer</b> instance. A new <b>OHNativeWindowBuffer</b> instance is created \n
447 * @return Returns the pointer to the <b>OHNativeWindowBuffer</b> instance created.
451 OHNativeWindowBuffer* OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffe [all...] |
H A D | window.h | 38 OHNativeWindowBuffer* CreateNativeWindowBufferFromSurfaceBuffer(void* pSurfaceBuffer);
39 OHNativeWindowBuffer* CreateNativeWindowBufferFromNativeBuffer(OH_NativeBuffer* nativeBuffer);
40 void DestroyNativeWindowBuffer(OHNativeWindowBuffer* buffer);
42 int32_t NativeWindowRequestBuffer(OHNativeWindow *window, OHNativeWindowBuffer **buffer, int *fenceFd);
43 int32_t NativeWindowFlushBuffer(OHNativeWindow *window, OHNativeWindowBuffer *buffer,
45 int32_t GetLastFlushedBuffer(OHNativeWindow *window, OHNativeWindowBuffer **buffer,
47 int32_t NativeWindowCancelBuffer(OHNativeWindow *window, OHNativeWindowBuffer *buffer);
52 BufferHandle *GetBufferHandleFromNative(OHNativeWindowBuffer *buffer);
67 int32_t NativeWindowAttachBuffer(OHNativeWindow *window, OHNativeWindowBuffer *buffer);
68 int32_t NativeWindowDetachBuffer(OHNativeWindow *window, OHNativeWindowBuffer *buffe [all...] |
H A D | native_buffer_inner.h | 31 OH_NativeBuffer* OH_NativeBufferFromNativeWindowBuffer(OHNativeWindowBuffer* nativeWindowBuffer);
|
H A D | native_buffer.h | 48 typedef struct NativeWindowBuffer OHNativeWindowBuffer;
typedef 544 * @brief Converts an <b>OHNativeWindowBuffer</b> instance to an <b>OH_NativeBuffer</b>.
547 * @param nativeWindowBuffer Indicates the pointer to a <b>OHNativeWindowBuffer</b> instance.
553 int32_t OH_NativeBuffer_FromNativeWindowBuffer(OHNativeWindowBuffer *nativeWindowBuffer, OH_NativeBuffer **buffer);
|
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | vpe_helper.cpp | 29 int32_t (*)(int32_t, OHNativeWindowBuffer*, OHNativeWindowBuffer *, OHNativeWindowBuffer *, bool); 31 int32_t (*)(int32_t, OHNativeWindowBuffer *, OHNativeWindowBuffer *, OHNativeWindowBuffer *); 33 int32_t (*)(int32_t, OHNativeWindowBuffer *, OHNativeWindowBuffer *); 37 using VpeMetadataGeneratorProcessImage = int32_t (*)(int32_t, OHNativeWindowBuffer *); 123 OHNativeWindowBuffer *sd in ColorSpaceConverterComposeImage() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | vpe_utils.cpp | 59 int32_t (*)(int32_t, OHNativeWindowBuffer*, OHNativeWindowBuffer*, OHNativeWindowBuffer*, bool);
61 int32_t (*)(int32_t, OHNativeWindowBuffer*, OHNativeWindowBuffer*, OHNativeWindowBuffer*);
63 int32_t (*)(int32_t, OHNativeWindowBuffer*, OHNativeWindowBuffer*);
65 int32_t (*)(int32_t, OHNativeWindowBuffer*, OHNativeWindowBuffer*, int32_ [all...] |
/foundation/graphic/graphic_2d/interfaces/inner_api/surface/ |
H A D | native_image.h | 50 * @brief define the new type name OHNativeWindowBuffer for struct NativeWindowBuffer.
53 typedef struct NativeWindowBuffer OHNativeWindowBuffer;
typedef 224 * @brief Acquire an <b>OHNativeWindowBuffer</b> through an <b>OH_NativeImage</b> instance for content consumer.\n
226 * This method will create an <b>OHNativeWindowBuffer</b>.\n
227 * If there is a situation when <b>OHNativeWindowBuffer</b> is still used after calling
229 * 1) When using <b>OHNativeWindowBuffer</b>, need to increase its reference count
231 * 2) When the <b>OHNativeWindowBuffer</b> is used up, its reference count needs to be decremented
239 * @param nativeWindowBuffer Indicates the pointer to an <b>OHNativeWindowBuffer</b> point.
248 OHNativeWindowBuffer** nativeWindowBuffer, int* fenceFd);
251 * @brief Release the <b>OHNativeWindowBuffer</ [all...] |
/foundation/graphic/graphic_surface/surface/src/ |
H A D | native_window.cpp | 131 OHNativeWindowBuffer* CreateNativeWindowBufferFromSurfaceBuffer(void* pSurfaceBuffer)
in CreateNativeWindowBufferFromSurfaceBuffer() 136 OHNativeWindowBuffer *nwBuffer = new OHNativeWindowBuffer();
in CreateNativeWindowBufferFromSurfaceBuffer() 142 OHNativeWindowBuffer* CreateNativeWindowBufferFromNativeBuffer(OH_NativeBuffer* nativeBuffer)
in CreateNativeWindowBufferFromNativeBuffer() 147 OHNativeWindowBuffer *nwBuffer = new OHNativeWindowBuffer();
in CreateNativeWindowBufferFromNativeBuffer() 155 void DestroyNativeWindowBuffer(OHNativeWindowBuffer* buffer)
in DestroyNativeWindowBuffer() 164 OHNativeWindowBuffer **buffer, int *fenceFd)
in NativeWindowRequestBuffer() 192 OHNativeWindowBuffer *nwBuffer = new OHNativeWindowBuffer();
in NativeWindowRequestBuffer() [all...] |
H A D | native_buffer.cpp | 212 OH_NativeBuffer* OH_NativeBufferFromNativeWindowBuffer(OHNativeWindowBuffer* nativeWindowBuffer)
in OH_NativeBufferFromNativeWindowBuffer() 264 int32_t OH_NativeBuffer_FromNativeWindowBuffer(OHNativeWindowBuffer *nativeWindowBuffer, OH_NativeBuffer **buffer)
in OH_NativeBuffer_FromNativeWindowBuffer()
|
/foundation/graphic/graphic_2d/frameworks/surfaceimage/include/ |
H A D | surface_image.h | 79 SurfaceError AcquireNativeWindowBuffer(OHNativeWindowBuffer** nativeWindowBuffer, int32_t* fenceFd); 80 SurfaceError ReleaseNativeWindowBuffer(OHNativeWindowBuffer* nativeWindowBuffer, int32_t fenceFd);
|
/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/ |
H A D | pixel_map_from_surface.cpp | 109 OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr; 199 OHNativeWindowBuffer *GetNativeWindowBufferFromSurface(sptr<SurfaceBuffer> &surfaceBuffer, 209 OHNativeWindowBuffer *nativeWindowBufferTmp, const sptr<SurfaceBuffer> &surfaceBufferTmp, 215 OHNativeWindowBuffer *nativeWindowBuffer_ = nullptr; 369 OHNativeWindowBuffer *nativeWindowBufferTmp, const sptr<SurfaceBuffer> &surfaceBufferTmp, in DrawImageRectVK() 498 OHNativeWindowBuffer *nativeWindowBufferTmp = CreateNativeWindowBufferFromSurfaceBuffer(&surfaceBufferTmp); in CreateForVK() 516 OHNativeWindowBuffer *PixelMapFromSurface::GetNativeWindowBufferFromSurface( in GetNativeWindowBufferFromSurface()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/egl_image/include/ |
H A D | pixel_map_from_surface.h | 50 OHNativeWindowBuffer *nativeWindowBuffer_ = nullptr;
|
/foundation/graphic/graphic_surface/surface/test/fuzztest/nativewindow_fuzzer/ |
H A D | nativewindow_fuzzer.cpp | 124 void NativeWindowFuzzTest(OHNativeWindow *nativeWindow, OHNativeWindowBuffer *nwBuffer) in NativeWindowFuzzTest() 157 void NativeWindowFuzzTest1(OHNativeWindow *nativeWindow, OHNativeWindowBuffer *nwBuffer) in NativeWindowFuzzTest1() 225 OHNativeWindowBuffer* nwBuffer = CreateNativeWindowBufferFromSurfaceBuffer(&sBuffer); in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_2d/frameworks/surfaceimage/src/ |
H A D | surface_image.cpp | 414 SurfaceError SurfaceImage::AcquireNativeWindowBuffer(OHNativeWindowBuffer** nativeWindowBuffer, int32_t* fenceFd) in AcquireNativeWindowBuffer() 438 OHNativeWindowBuffer *nwBuffer = new(std::nothrow) OHNativeWindowBuffer(); in AcquireNativeWindowBuffer() 449 SurfaceError SurfaceImage::ReleaseNativeWindowBuffer(OHNativeWindowBuffer* nativeWindowBuffer, int32_t fenceFd) in ReleaseNativeWindowBuffer()
|
H A D | native_image.cpp | 180 OHNativeWindowBuffer** nativeWindowBuffer, int32_t* fenceFd) in OH_NativeImage_AcquireNativeWindowBuffer() 190 OHNativeWindowBuffer* nativeWindowBuffer, int32_t fenceFd) in OH_NativeImage_ReleaseNativeWindowBuffer()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/include/ |
H A D | videoenc_api11_sample.h | 135 uint32_t FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer); 144 int32_t InitBuffer(OHNativeWindowBuffer *&ohNativeWindowBuffer, OH_NativeBuffer *&nativeBuffer, uint8_t *&dst);
|
H A D | videoenc_inner_sample.h | 124 int32_t InputProcess(OH_NativeBuffer *nativeBuffer, OHNativeWindowBuffer *ohNativeWindowBuffer); 155 int32_t InitBuffer(OHNativeWindowBuffer *&ohNativeWindowBuffer, OH_NativeBuffer *&nativeBuffer, uint8_t *&dst);
|
H A D | videoenc_sample.h | 110 uint32_t FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_surface_capture_task_parallel.h | 38 OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image_base.h | 109 mutable OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr;
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/sample/encoder/include/ |
H A D | venc_sample.h | 98 int32_t InputProcess(OH_NativeBuffer *nativeBuffer, OHNativeWindowBuffer *ohNativeWindowBuffer);
|
/foundation/multimedia/av_codec/test/fuzztest/encoderapi11_fuzzer/ |
H A D | videoenc_api11_sample.h | 89 uint32_t FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer);
|
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/yuv_viewer/ |
H A D | yuv_viewer.cpp | 112 OHNativeWindowBuffer *buffer = nullptr; in InputThread()
|
/foundation/multimedia/media_foundation/tests/unittest/detail_enhancer_video_ndk/ |
H A D | detail_enhancer_video_ndk_unit_test.cpp | 135 uint32_t FlushSurf(OHNativeWindowBuffer* ohNativeWindowBuffer, OHNativeWindow* window);
162 uint32_t DetailEnhancerVideoNdkUnitTest::FlushSurf(OHNativeWindowBuffer* ohNativeWindowBuffer, OHNativeWindow* window)
in FlushSurf() 922 OHNativeWindowBuffer *ohNativeWindowBuffer;
in HWTEST_F() 961 OHNativeWindowBuffer *ohNativeWindowBuffer;
in HWTEST_F() 1001 OHNativeWindowBuffer *ohNativeWindowBuffer;
in HWTEST_F() 1041 OHNativeWindowBuffer *ohNativeWindowBuffer;
in HWTEST_F() 1081 OHNativeWindowBuffer *ohNativeWindowBuffer;
in HWTEST_F() 1117 OHNativeWindowBuffer *ohNativeWindowBuffer;
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_draw_cmd.h | 94 mutable OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr; 282 OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr;
|