This is a research project to test GPU (OpenCL) usability for image compression. Jpeg format is chosen because it is relatively simple and I am familiar with it.
2013-01-22: For now only pixel conversion and DCT transform is done with OpenCL, entropy coding is done with CPU in one thread. Unfortunately this implementation is no match for even one threaded SSE2 jpeg encoder, too much data goes through PCIe.
Look at "Debunking the 100X GPU vs. CPU Myth: An Evaluation of Throughput Computing on CPU and GPU" paper by Victor W Lee, Changkyu Kim, Jatin Chhugani, Michael Deisher, Daehyun Kim, Anthony D. Nguyen, Nadathur Satish, Mikhail Smelyanskiy, Srinivas Chennupaty, Per Hammarlund, Ronak Singhal and Pradeep Dubey.
License
GNU General Public License version 2.0 (GPLv2)Follow cl-jpeg
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of cl-jpeg!