Home
last modified time | relevance | path

Searched refs:hardware_buffer (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/vr/libdvr/
Ddvr_buffer.cpp28 AHardwareBuffer** hardware_buffer) { in ConvertToAHardwareBuffer() argument
29 if (!hardware_buffer || !graphic_buffer) { in ConvertToAHardwareBuffer()
32 *hardware_buffer = reinterpret_cast<AHardwareBuffer*>(graphic_buffer); in ConvertToAHardwareBuffer()
33 AHardwareBuffer_acquire(*hardware_buffer); in ConvertToAHardwareBuffer()
64 AHardwareBuffer** hardware_buffer) { in dvrWriteBufferGetAHardwareBuffer() argument
69 write_buffer->write_buffer->buffer()->buffer().get(), hardware_buffer); in dvrWriteBufferGetAHardwareBuffer()
95 AHardwareBuffer** hardware_buffer) { in dvrReadBufferGetAHardwareBuffer() argument
100 read_buffer->read_buffer->buffer()->buffer().get(), hardware_buffer); in dvrReadBufferGetAHardwareBuffer()
106 AHardwareBuffer** hardware_buffer) { in dvrBufferGetAHardwareBuffer() argument
107 if (!buffer || !buffer->buffer || !hardware_buffer) { in dvrBufferGetAHardwareBuffer()
[all …]
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp123 AHardwareBuffer* hardware_buffer = nullptr; in TEST() local
124 int e2 = dvrBufferGetAHardwareBuffer(setup_buffer, &hardware_buffer); in TEST()
126 ASSERT_NE(nullptr, hardware_buffer); in TEST()
129 AHardwareBuffer_describe(hardware_buffer, &desc); in TEST()
133 AHardwareBuffer_release(hardware_buffer); in TEST()
151 AHardwareBuffer* hardware_buffer = nullptr; in TEST() local
152 int e2 = dvrBufferGetAHardwareBuffer(setup_buffer, &hardware_buffer); in TEST()
154 ASSERT_NE(nullptr, hardware_buffer); in TEST()
157 int e3 = AHardwareBuffer_lock(hardware_buffer, usage, -1, nullptr, &buffer); in TEST()
170 int e4 = AHardwareBuffer_unlock(hardware_buffer, &fence); in TEST()
[all …]
Ddvr_display_manager-test.cpp854 AHardwareBuffer* hardware_buffer = nullptr; in TEST_F() local
855 error = dvrWriteBufferGetAHardwareBuffer(buffer, &hardware_buffer); in TEST_F()
859 AHardwareBuffer_describe(hardware_buffer, &desc); in TEST_F()
862 AHardwareBuffer_release(hardware_buffer); in TEST_F()
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer.h29 AHardwareBuffer** hardware_buffer);
43 AHardwareBuffer** hardware_buffer);
51 AHardwareBuffer** hardware_buffer);
Ddvr_api.h136 DvrWriteBuffer* write_buffer, AHardwareBuffer** hardware_buffer);
152 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer);
164 DvrBuffer* buffer, AHardwareBuffer** hardware_buffer);