Searched refs:buf_fd (Results 1 – 3 of 3) sorted by relevance
/system/core/deprecated-adf/libadf/tests/ |
D | adf_test.cpp | 128 char format_str[ADF_FORMAT_STR_SIZE], int &buf_fd, uint32_t &offset, in drawCheckerboard() argument 133 buf_fd = adf_interface_simple_buffer_alloc(intf, w, h, format, &offset, in drawCheckerboard() 135 ASSERT_GE(buf_fd, 0) << "allocating " << w << "x" << h << " " << in drawCheckerboard() 136 format_str << " buffer failed: " << strerror(-buf_fd); in drawCheckerboard() 139 void *mapped = mmap(NULL, pitch * h, PROT_WRITE, MAP_SHARED, buf_fd, in drawCheckerboard() 316 int buf_fd = adf_interface_simple_buffer_alloc(intf, w, h, format, &offset, in TEST_F() local 318 EXPECT_GE(buf_fd, 0) << "allocating " << w << "x" << h << " " << in TEST_F() 319 format_str << " buffer failed: " << strerror(-buf_fd); in TEST_F() 321 close(buf_fd); in TEST_F() 323 buf_fd = adf_interface_simple_buffer_alloc(intf, w, h, 0xDEADBEEF, &offset, in TEST_F() [all …]
|
/system/core/deprecated-adf/libadf/include/adf/ |
D | adf.h | 187 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, 207 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset,
|
/system/core/deprecated-adf/libadf/ |
D | adf.cpp | 383 __u32 overlay_engine, __u32 w, __u32 h, __u32 format, int buf_fd, in adf_interface_simple_post_config_buf() argument 390 buf->fd[0] = buf_fd; in adf_interface_simple_post_config_buf() 398 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, in adf_interface_simple_post() argument 406 buf_fd, offset, pitch, acquire_fence); in adf_interface_simple_post() 415 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, in adf_interface_simple_post_v2() argument 425 buf_fd, offset, pitch, acquire_fence); in adf_interface_simple_post_v2()
|