Home
last modified time | relevance | path

Searched refs:OHNativeWindowBuffer (Results 1 - 25 of 37) sorted by relevance

12

/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dexternal_window.h75 * @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 Dwindow.h38 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 Dnative_buffer_inner.h31 OH_NativeBuffer* OH_NativeBufferFromNativeWindowBuffer(OHNativeWindowBuffer* nativeWindowBuffer);
H A Dnative_buffer.h48 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 Dvpe_helper.cpp29 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 Dvpe_utils.cpp59 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 Dnative_image.h50 * @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 Dnative_window.cpp131 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 Dnative_buffer.cpp212 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 Dsurface_image.h79 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 Dpixel_map_from_surface.cpp109 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 Dpixel_map_from_surface.h50 OHNativeWindowBuffer *nativeWindowBuffer_ = nullptr;
/foundation/graphic/graphic_surface/surface/test/fuzztest/nativewindow_fuzzer/
H A Dnativewindow_fuzzer.cpp124 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 Dsurface_image.cpp414 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 Dnative_image.cpp180 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 Dvideoenc_api11_sample.h135 uint32_t FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer);
144 int32_t InitBuffer(OHNativeWindowBuffer *&ohNativeWindowBuffer, OH_NativeBuffer *&nativeBuffer, uint8_t *&dst);
H A Dvideoenc_inner_sample.h124 int32_t InputProcess(OH_NativeBuffer *nativeBuffer, OHNativeWindowBuffer *ohNativeWindowBuffer);
155 int32_t InitBuffer(OHNativeWindowBuffer *&ohNativeWindowBuffer, OH_NativeBuffer *&nativeBuffer, uint8_t *&dst);
H A Dvideoenc_sample.h110 uint32_t FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer);
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_surface_capture_task_parallel.h38 OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_image_base.h109 mutable OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr;
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/sample/encoder/include/
H A Dvenc_sample.h98 int32_t InputProcess(OH_NativeBuffer *nativeBuffer, OHNativeWindowBuffer *ohNativeWindowBuffer);
/foundation/multimedia/av_codec/test/fuzztest/encoderapi11_fuzzer/
H A Dvideoenc_api11_sample.h89 uint32_t FlushSurf(OHNativeWindowBuffer *ohNativeWindowBuffer, OH_NativeBuffer *nativeBuffer);
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/yuv_viewer/
H A Dyuv_viewer.cpp112 OHNativeWindowBuffer *buffer = nullptr; in InputThread()
/foundation/multimedia/media_foundation/tests/unittest/detail_enhancer_video_ndk/
H A Ddetail_enhancer_video_ndk_unit_test.cpp135 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 Drs_draw_cmd.h94 mutable OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr;
282 OHNativeWindowBuffer* nativeWindowBuffer_ = nullptr;

Completed in 16 milliseconds

12