PNG decoder using opencl
I am trying to implement a png decoder using C++ and Opencl (partly ). As of now , I have decided to do the (un)filtering part at the decoder side using OpenCL as it is the only repetitive thing . I have implemented a little but when passing the decompressed stream of image data to kernel, it is only operating over its global size, and is processing only 6 kb of data passed, instead of the complete stream. Also , the pixels(current ) are dependent on previous ones, so are there any ways to fix the problems.
Any help would be appreciated...