Code Monkey home page Code Monkey logo

mmal-sys's Introduction

Rust definitions for mmal

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.

Documentation

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:

  • Evaluate if rust nightly is useful or switch on/off bindgen's nightly flag if running in nightly or not
  • Make API as natural as possible
  • Implement fmt::Display trait for more types or remove it entirely

mmal-sys's People

Contributors

pedrosland avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.