Skip to main content

Crate aperture

Crate aperture 

Source
Expand description

§libaperture

GTK Widget for cameras using GStreamer and Pipewire

See also

§Usage

Aperture needs to initialized before use. This can be done by calling init on startup.

Structs§

Camera
A representation of a camera plugged into a device.
DeviceProvider
A provider for available camera devices.
Viewfinder
A GTK widget for displaying a camera feed and taking pictures and videos from it.

Enums§

CameraLocation
Describes the possible camera locations for a Camera.
CaptureError
Describes the possible error codes of a Viewfinder while getting a capture.
PipewireError
Describes the possible error codes of a Viewfinder from Pipewire.
ProviderError
Describes the possible error codes of a DeviceProvider.
VideoFormat
ViewfinderState
Describes the possible states of a Viewfinder. Many tasks, like taking a picture, require the viewfinder to be in a particular state.

Functions§

init
Initializes the library
is_h264_encoding_supported
is_hardware_encoding_supported
version
Gets the current version of Aperture