Python cffi libjpeg-turbo bindings and helper classes