/mmal-effects

Lists MMAL effects

Primary LanguagePython

mmal-effects

Lists the effects of MMAL's vc.ril.image_fx.

Screenshot

none solarize sketch emboss
oilpaint hatch gpen pastel
colourswap posterise colourpoint cartoon

Requirements

You need to build/run this code on Raspberry Pi since MMAL runs only on it for now.

In addition, you need mmalgen to generate C code.

Building

$ git clone https://github.com/Terminus-IMRC/mmal-effects.git
$ git clone https://github.com/Terminus-IMRC/mmalgen.git
$ cd mmal-effects/
$ ./gengen.py | ../mmalgen/mmalgen.py >out.c
$ export PKG_CONFIG_PATH=/opt/vc/lib/pkgconfig
$ gcc out.c `pkg-config --cflags --libs mmal` -I../mmalgen/

Running

$ ./a.out