OpenCL (realtime) implementation of patch match image processing algorithm (Python and C)