Home | History | Annotate | Download | only in hwc2

Lines Matching defs:hnd

117   private_handle_t *hnd = nullptr;
119 producer_usage, consumer_usage, &hnd);
121 if (hnd) {
122 alloc_buffer_info->fd = hnd->fd;
123 alloc_buffer_info->stride = UINT32(hnd->width);
124 alloc_buffer_info->aligned_width = UINT32(hnd->width);
125 alloc_buffer_info->aligned_height = UINT32(hnd->height);
126 alloc_buffer_info->size = hnd->size;
132 buffer_info->private_data = reinterpret_cast<void *>(hnd);
138 buffer_handle_t hnd = static_cast<private_handle_t *>(buffer_info->private_data);
139 ReleaseBuffer_(gralloc_device_, hnd);
366 private_handle_t hnd(-1, 0, 0, 0, 0, 0, 0);
372 hnd.format = format;
373 hnd.width = INT32(buf_info.aligned_width);
374 hnd.height = INT32(buf_info.aligned_height);
376 hnd.flags = private_handle_t::PRIV_FLAGS_UBWC_ALIGNED;
379 int ret = gralloc1::GetBufferLayout(&hnd, stride, offset, num_planes);