/usr/include/minidjvu/base/3graymap.h is in libminidjvu-dev 0.8.svn.2010.05.06+dfsg-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | /*
* 3graymap.h - just a couple of functions, possibly will be bigger later
*/
/* There's no special graymap type in minidjvu, and adding it is not planned.
* So, graymaps are stored in three variables: unsigned char **, int32 and int32
* (data, width and height).
*
* Overall, graymap support is poor: there is only create/destroy functions.
* Since no algorithms in minidjvu use graymaps yet, there's no need to have more.
*/
/* Create a two-dimensional array of pixels with initial value 0.
* The array is in fact one-dimensional, and you may use that.
* But do not permute the array of row pointers.
* The returned array must be released by mdjvu_destroy_2d_array().
*/
MDJVU_FUNCTION unsigned char **mdjvu_create_2d_array(int32 w, int32 h);
/* Destroy a two-dimensional pixel array. */
MDJVU_FUNCTION void mdjvu_destroy_2d_array(unsigned char **);
|