Project: /_project.yaml Book: /_book.yaml
Defined in fuchsia.camera/camera.fidl
These are the original interfaces, which are being used for compatibility. The names are preserved from the ones in camera.h for porting ease.
Get the available format types for this device NOTE: The formats are paginated to MAX_FORMATS_PER_RESPONSE
, multiple GetFormats need to be issued until total_format_count are received
Sent by the client to indicate desired stream characteristics. If setting the format is successful, the stream request will be honored. The stream token is used to provide additional control over the interface from the Camera Manager. The driver provides the guarantee that: 1) If the stream token receives the PEER_CLOSED
event, the driver will close the stream. 2) If the Stream interface is closed, the driver will close the eventpair.
Defined in fuchsia.camera/camera.fidl
Starts the streaming of frames.
Stops the streaming of frames.
Unlocks the specified frame, allowing the driver to reuse the memory.
Sent by the driver to the client when a frame is available for processing, or an error occurred.
Defined in fuchsia.camera/manager.fidl
The Camera Manager grants access to individual or sets of cameras
Returns a list of all the video devices that are currently plugged in and enumerated. The camera_id field of the DeviceInfo is used to specify a device in GetFormats, GetStream and GetStreamAndBufferCollection.
Get all the available formats for a camera. camera_id
is obtained from a DeviceInfo returned by GetDevices.
Create a Stream with the specified access rights. This may not succeed. If it does succeed, the Stream will have the rights indicated. buffer_info
contains a set of buffers to be used with the Stream. This is being deprecated - please use CreateStreamV2.
Create a Stream with the specified access rights. This may not succeed. If it does succeed, the Stream will have the rights indicated. buffer_info
contains a set of buffers to be used with the Stream.
Defined in fuchsia.camera/camera.fidl
Identifying information about the device.
Defined in fuchsia.camera/camera.fidl
Defined in fuchsia.camera/camera.fidl
Sent by the driver to the client when a frame is available for processing, or an error occurred.
Defined in fuchsia.camera/camera.fidl
Defined in fuchsia.camera/camera.fidl
Defined in fuchsia.camera/manager.fidl
A stream that the camera manager can provide. Video streams reference a a camera, but may have additional hardware and bandwidth restrictions from and ISP or other processing units. This is being deprecated - please use VideoStreamV2 (below).
Defined in fuchsia.camera/manager.fidl
Preferred version of stream. A version of stream that relies on definition of VideoFormat coming out of fuchsia.hardware.camera. Streams reference a camera, but may have additional hardware and bandwidth restrictions from an ISP or other processing units. New code should depend on this as the other version will be deprecated when dependencies are removed.
Type: uint32
Defined in fuchsia.camera/camera.fidl
Status to be set when a frame is signalled available.