Skip to main content

Crate camera_stream

Crate camera_stream 

Source

Modules§

device
error
frame
platformstd
stream
types

Structs§

FormatDescriptor
Describes a supported camera format.
FrameRate
Frame rate as a rational number.
FrameRateRange
Range of supported frame rates.
Plane
A single plane of image data.
Size
Pixel dimensions of a frame.
StreamConfig
Configuration for opening a camera stream.

Enums§

Error
Top-level crate error.
PixelFormat
Pixel formats encountered across platforms.
PlatformError
Platform-specific error details.

Traits§

CameraDevice
A camera device that can be inspected and opened.
CameraManager
Discover and inspect camera devices.
CameraStream
Callback-based frame delivery.
Frame
A borrowed video frame. Lifetime tied to callback scope (zero-copy).
Timestamp
A presentation timestamp from the platform’s media clock.