PDA

View Full Version : opencl sources of zlib..



phoebe0105
04-20-2010, 11:26 AM
Last year, I used zlib and hextile to develop image compression.
zlib in boost is image encode algorithm. And hextile is too. (But hextile isn't in boost library)

Now I'll using opencl sources of zlib.
But I don't know what to do it and how to do..

Is zlib algorithm in openCL existense??
I want to get the source code or method.. :)

dbs2
04-22-2010, 04:48 AM
I have not heard of anyone doing zlib in OpenCL, but people may have. The biggest issue will be that such compression algorithms tend to be very serial (think Huffman encoding) and rely heavily on caches and branch predictors. This will usually mean they will perform very badly on GPUs. You might want to consider writing your own parallel compression algorithm if you want to compress on the GPU.