[parsec-users] im_malloc in VIPS

jcupitt at gmail.com jcupitt at gmail.com
Mon Aug 30 04:58:10 EDT 2010


Hi Gagan,

2010/8/30 Gagan Singh <gagansingh86 at gmail.com>:
> I am trying to understand the working of the VIPS benchmark and noticed
> "im_malloc" in place of malloc. I read the man page that it works like

Here's the latest bit of docs for this function:

http://www.vips.ecs.soton.ac.uk/supported/7.22/doc/html/libvips/libvips-memory.html#im-malloc

It's just malloc(), but it auto-frees when the VipsImage is closed.
vips uses it to make free()-ing stuff simpler.

If you're interested in how vips calculates pixels, there's an overview here:

http://www.vips.ecs.soton.ac.uk/index.php?title=How_it_works

John


More information about the parsec-users mailing list