Lists the effects of MMAL's vc.ril.image_fx
.
none | solarize | sketch | emboss |
oilpaint | hatch | gpen | pastel |
colourswap | posterise | colourpoint | cartoon |
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.
$ 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/
$ ./a.out