Add opj_image_data_alloc() / opj_image_data_free()
authorEven Rouault <even.rouault@spatialys.com>
Wed, 5 Jul 2017 23:47:40 +0000 (01:47 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Mon, 7 Aug 2017 16:32:52 +0000 (18:32 +0200)
commitf58aab9d6a57e48bdc60e15dd373c24de74719a9
tree8c2153b701957850fc186d5fd74decc61e30220e
parent61fb5dd7f81c2e3dfabbb99f59dc89572d59fa37
Add opj_image_data_alloc() / opj_image_data_free()

As bin/common/color.c used to directly call malloc()/free(), we need
to export functions dedicated to allocating/freeing image component data.
src/bin/common/color.c
src/lib/openjp2/image.c
src/lib/openjp2/j2k.c
src/lib/openjp2/openjpeg.c
src/lib/openjp2/openjpeg.h
src/lib/openjp2/tcd.c