Why OpenMAX IL and not MMAL?
- MMAL is not a camera library, it's a wrapper around OpenMAX IL plus other things. If you want to write a camera library, you're adding an extra layer: cam -> mmal -> omx. Why not remove MMAL? cam -> omx.
- MMAL is not documented, so the learning curve is much bigger with MMAL than with OpenMAX IL.
- OpenMAX IL is an open standard, whereas MMAL is a Broadcom's propietary api (not open source). Do you want to learn OpenMAX IL? The best way is to read and understand the source files; with omxcam you can.
This library is MIT-licensed, so you can do whatever you want with it: sell, distribute, modify, etc.
Do you want to see SSCCE OpenMAX IL examples? See jpeg and h264.