Lines Matching refs:info
20 // A helper function to set the plane info for the most common YUV planar formats.
61 // A helper function to set the plane info for the most common packed formats.
82 // Need to fill out the plane info, which depends on pixel_format:
122 fuchsia_sysmem_BufferCollectionInfo info;
123 memset(&info, 0, sizeof(info));
127 ZX_ASSERT(info.format.tag == fuchsia_sysmem_BufferSpecTag_image);
128 zx_status_t status = PickImageFormat(*spec, &info.format.image, &info.vmo_size);
131 return fuchsia_sysmem_AllocatorAllocateCollection_reply(txn, status, &info);
135 info.buffer_count = buffer_count;
137 status = zx_vmo_create(info.vmo_size, 0, &info.vmos[i]);
141 zx_handle_close(info.vmos[j]);
142 info.vmos[j] = ZX_HANDLE_INVALID;
144 info.buffer_count = 0;
146 return fuchsia_sysmem_AllocatorAllocateCollection_reply(txn, ZX_ERR_NO_MEMORY, &info);
150 return fuchsia_sysmem_AllocatorAllocateCollection_reply(txn, ZX_OK, &info);
165 fuchsia_sysmem_BufferCollectionInfo info;
166 memset(&info, 0, sizeof(info));
167 return fuchsia_sysmem_AllocatorBindSharedCollection_reply(txn, ZX_ERR_NOT_SUPPORTED, &info);