class AddImage
Defined at line 140 of file fidling/gen/sdk/fidl/fuchsia.images/fuchsia.images/cpp/fidl/fuchsia.images/cpp/markers.h
Adds an image resource to image pipe.
`buffer_collection_id` refers to the BufferCollectionToken instance that is
registered via `AddBufferCollection()`. The underlying memory objects allocated
are used to address to the image data. `buffer_collection_index` refers to the
index of the memory object allocated in BufferCollection.
`image_format` specifiies image properties. `coded_width` and `coded_height` are
used to set image dimensions.
It is valid to create multiple images backed by the same memory object; they
may even overlap. Consumers must detect this and handle it accordingly.
The following errors will cause the connection to be closed:
- `image_id` is already registered
- `buffer_collection_id` refers to an unregistered BufferCollection.
- `buffer_collection_index` points to a resource index out of the initialized
BufferCollection bounds
- No resource is allocated in the registered BufferCollection.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal