Results 1 to 4 of 4

Thread: JPEG implementation in OpenCL?

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    1

    JPEG implementation in OpenCL?

    Is there an open source OpenCL JPEG encoder/decoder available? Or perhaps a different image compression/decompression in OpenCL source?

    I saw kungen85's post that he was getting to know OpenCL using parts of the JPEG compression, but I haven't seen any mention of a full, performance-oriented implementation. This seems like an obvious application for OpenCL, surely it exists?

  2. #2
    Senior Member
    Join Date
    Jul 2009
    Location
    Northern Europe
    Posts
    311

    Re: JPEG implementation in OpenCL?

    Getting a high-performance JPEG implementation on OpenCL will be very architecture-dependent. (E.g., you'll want to use shared memory and know how big it is on Nvidia, and be very careful with vectors on AMD.) Parts of JPEG are highly parallel (color space transformation, color down-sampling, DCT, per-block Huffman encoding) and parts are not (the actual Huffman encoding itself, zero counting*, DC Huffman encoding, and final assembly). Making a working, high-performance JPEG implementation is a large amount of work. I suspect the only people with a strong incentive to do this would do so for a competitive advantage (e.g., ARM, Apple, Nokia) and wouldn't have any interest in releasing the code.

  3. #3

    Re: JPEG implementation in OpenCL?

    Get a local copy of the jpeg-opencl repository with this command:
    git clone https://code.google.com/p/jpeg-opencl/

  4. #4
    Junior Member
    Join Date
    Nov 2011
    Posts
    2

    Re: JPEG implementation in OpenCL?

    Quote Originally Posted by Ifer
    Get a local copy of the jpeg-opencl repository with this command:
    git clone https://code.google.com/p/jpeg-opencl/
    it works, thanx

Similar Threads

  1. jpeg compression opencl on Matlab
    By dikakole in forum OpenCL
    Replies: 1
    Last Post: 02-01-2012, 02:59 PM
  2. JPEG HW decoder API
    By rodneybrooks in forum OpenMAX DL
    Replies: 0
    Last Post: 11-17-2010, 10:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •