Results 1 to 2 of 2

Thread: Image objects

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    13

    Image objects

    Hi,

    i am currently giving a look to OpenCL. I just wanted to ask a question regarding image objects. In OpenCL, one can allocate memory on the devices accessible to kernerls.
    Ok. What is the purpose of Image objects? I mean, i can create a normal buffer object, put my image there, pass the width and height as parameters to the kernel.

    Thx.

  2. #2

    Re: Image objects

    Instead of doing a simple array lookup, you can sample individual pixels controlled by certain parameters such as address clamping and interpolation mode. On GPU hardware this is going to be a lot faster than doing it manually.

Similar Threads

  1. Replies: 5
    Last Post: 01-13-2010, 12:34 PM
  2. ambiguity with child image objects
    By myyoujh in forum OpenVG and VGU
    Replies: 7
    Last Post: 03-07-2007, 06:17 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
  •