Crates.io | mmal-sys |
lib.rs | mmal-sys |
version | 0.1.0-3 |
source | src |
created_at | 2018-01-18 22:06:33.858358 |
updated_at | 2019-11-26 22:43:24.703064 |
description | Rust definitions for mmal |
homepage | |
repository | https://github.com/pedrosland/mmal-sys |
max_upload_size | |
id | 47344 |
size | 542,995 |
This is the library used on the Raspberry Pi to interact with VideoCore. Basic
functions are to control the camera, encode and decode video. Applications that
use it (natively, not via Rust) include raspistill
and VLC
.
These FFI definitions are, for the most part, automatically generated by bindgen.
If you would like to generate the bindings yourself, simply enable the
generate_bindings
feature. By default the pre-generated bindings are used.
Please note that I have no idea what I am doing with rust so bindgen could probably be tweaked to improve its output.
PRs welcome. Breaking changes that make the library better to use eg changing
constified_enum_module
are also welcome.
Steps for improvement:
fmt::Display
trait for more types or remove it entirely