Project: /_project.yaml Book: /_book.yaml

fuchsia.camera2.hal

PROTOCOLS

Controller {:#Controller}

Defined in fuchsia.camera2.hal/hal.fidl

This is the interface to the camera driver which allows setting up a given configuration and setting up a stream.

GetConfigs {:#GetConfigs}

Get a list of all available configurations which the camera driver supports.

Request

Response

CreateStream {:#CreateStream}

Set a particular configuration and create the requested stream. |config_index| : Configuration index from the vector which needs to be applied. |stream_index| : Stream index from the vector of streams provided within a config. |buffer_collection| : Buffer collections for the stream. |stream| : Stream channel for the stream requested |image_format_index| : Image format index which needs to be set up upon creation. If there is already an active configuration which is different than the one which is requested to be set, then the HAL will be closing all existing streams and honor this new setup call. If the new stream requested is already part of the existing running configuration the HAL will just be creating this new stream while the other stream still exists as is.

Request

EnableStreaming {:#EnableStreaming}

Enable/Disable Streaming

Request

DisableStreaming {:#DisableStreaming}

Request

GetDeviceInfo {:#GetDeviceInfo}

Request

Response

Controller {:#Controller}

Defined in fuchsia.camera2.hal/hal.fidl

This is the interface to the camera driver which allows setting up a given configuration and setting up a stream.

GetConfigs {:#GetConfigs}

Get a list of all available configurations which the camera driver supports.

Request

Response

CreateStream {:#CreateStream}

Set a particular configuration and create the requested stream. |config_index| : Configuration index from the vector which needs to be applied. |stream_index| : Stream index from the vector of streams provided within a config. |buffer_collection| : Buffer collections for the stream. |stream| : Stream channel for the stream requested |image_format_index| : Image format index which needs to be set up upon creation. If there is already an active configuration which is different than the one which is requested to be set, then the HAL will be closing all existing streams and honor this new setup call. If the new stream requested is already part of the existing running configuration the HAL will just be creating this new stream while the other stream still exists as is.

Request

EnableStreaming {:#EnableStreaming}

Enable/Disable Streaming

Request

DisableStreaming {:#DisableStreaming}

Request

GetDeviceInfo {:#GetDeviceInfo}

Request

Response

STRUCTS

StreamConfig {:#StreamConfig}

Defined in fuchsia.camera2.hal/hal.fidl

Represents one stream within a particular configuration.

Config {:#Config}

Defined in fuchsia.camera2.hal/hal.fidl

Represents one configuration

StreamConfig {:#StreamConfig}

Defined in fuchsia.camera2.hal/hal.fidl

Represents one stream within a particular configuration.

Config {:#Config}

Defined in fuchsia.camera2.hal/hal.fidl

Represents one configuration

CONSTANTS