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

fuchsia.camera.common

PROTOCOLS

Stream {:#Stream}

Defined in fuchsia.camera.common/common.fidl

Protocol shared between the driver and the consumer.

Start {:#Start}

Starts the streaming of frames.

Request

Stop {:#Stop}

Stops the streaming of frames.

Request

ReleaseFrame {:#ReleaseFrame}

Unlocks the specified frame, allowing the driver to reuse the memory.

Request

OnFrameAvailable {:#OnFrameAvailable}

Sent by the driver to the client when a frame is available for processing, or an error occurred.

Response

VirtualCameraFactory {:#VirtualCameraFactory}

Defined in fuchsia.camera.common/virtual.fidl

Protocol for managing virtual cameras that need to be added for tests.

CreateDevice {:#CreateDevice}

Creates a new VirtualCameraDevice based on the configuration passed in. config: a VirtualCameraConfig defining how the new device should behave.

Request

Stream {:#Stream}

Defined in fuchsia.camera.common/common.fidl

Protocol shared between the driver and the consumer.

Start {:#Start}

Starts the streaming of frames.

Request

Stop {:#Stop}

Stops the streaming of frames.

Request

ReleaseFrame {:#ReleaseFrame}

Unlocks the specified frame, allowing the driver to reuse the memory.

Request

OnFrameAvailable {:#OnFrameAvailable}

Sent by the driver to the client when a frame is available for processing, or an error occurred.

Response

VirtualCameraFactory {:#VirtualCameraFactory}

Defined in fuchsia.camera.common/virtual.fidl

Protocol for managing virtual cameras that need to be added for tests.

CreateDevice {:#CreateDevice}

Creates a new VirtualCameraDevice based on the configuration passed in. config: a VirtualCameraConfig defining how the new device should behave.

Request

STRUCTS

DeviceInfo {:#DeviceInfo}

Defined in fuchsia.camera.common/common.fidl

Identifying information about the device.

Metadata {:#Metadata}

Defined in fuchsia.camera.common/common.fidl

Extra information associated with the frame.

FrameAvailableEvent {:#FrameAvailableEvent}

Defined in fuchsia.camera.common/common.fidl

Sent by the driver to the client when a frame is available for processing, or an error occurred.

FrameRate {:#FrameRate}

Defined in fuchsia.camera.common/common.fidl

The number of frames being produced every second.

VideoFormat {:#VideoFormat}

Defined in fuchsia.camera.common/common.fidl

Video format includes the image format and frame rate of frames being produced.

ArtificialStreamConfig {:#ArtificialStreamConfig}

Defined in fuchsia.camera.common/virtual.fidl

Configuration for an artificial stream. TODO(eweeks): Replace this stand-in with the full design.

RealWorldStreamConfig {:#RealWorldStreamConfig}

Defined in fuchsia.camera.common/virtual.fidl

Configuration for a stream generated from stored frames. TODO(eweeks): Replace this stand-in with the full design.

VirtualCameraConfig {:#VirtualCameraConfig}

Defined in fuchsia.camera.common/virtual.fidl

Configuration used by VirtualManager to create a VirtualCameraDevice.

DeviceInfo {:#DeviceInfo}

Defined in fuchsia.camera.common/common.fidl

Identifying information about the device.

Metadata {:#Metadata}

Defined in fuchsia.camera.common/common.fidl

Extra information associated with the frame.

FrameAvailableEvent {:#FrameAvailableEvent}

Defined in fuchsia.camera.common/common.fidl

Sent by the driver to the client when a frame is available for processing, or an error occurred.

FrameRate {:#FrameRate}

Defined in fuchsia.camera.common/common.fidl

The number of frames being produced every second.

VideoFormat {:#VideoFormat}

Defined in fuchsia.camera.common/common.fidl

Video format includes the image format and frame rate of frames being produced.

ArtificialStreamConfig {:#ArtificialStreamConfig}

Defined in fuchsia.camera.common/virtual.fidl

Configuration for an artificial stream. TODO(eweeks): Replace this stand-in with the full design.

RealWorldStreamConfig {:#RealWorldStreamConfig}

Defined in fuchsia.camera.common/virtual.fidl

Configuration for a stream generated from stored frames. TODO(eweeks): Replace this stand-in with the full design.

VirtualCameraConfig {:#VirtualCameraConfig}

Defined in fuchsia.camera.common/virtual.fidl

Configuration used by VirtualManager to create a VirtualCameraDevice.

ENUMS

FrameStatus {:#FrameStatus}

Type: uint32

Defined in fuchsia.camera.common/common.fidl

Status to be set when a frame is signaled available.

FrameStatus {:#FrameStatus}

Type: uint32

Defined in fuchsia.camera.common/common.fidl

Status to be set when a frame is signaled available.

XUNIONS

VirtualStreamConfig {:#VirtualStreamConfig}

Defined in fuchsia.camera.common/virtual.fidl

Configuration for the stream. The Configuration must be either artificial or real TODO(eweeks): Replace this stand-in with the full design.

VirtualStreamConfig {:#VirtualStreamConfig}

Defined in fuchsia.camera.common/virtual.fidl

Configuration for the stream. The Configuration must be either artificial or real TODO(eweeks): Replace this stand-in with the full design.

CONSTANTS