/usr/include/mupdf/fitz/function.h is in libmupdf-dev 1.7a-1.
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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #ifndef MUPDF_FITZ_FUNCTION_H
#define MUPDF_FITZ_FUNCTION_H
#include "mupdf/fitz/system.h"
#include "mupdf/fitz/context.h"
#include "mupdf/fitz/store.h"
#include "mupdf/fitz/colorspace.h"
/*
* The generic function support.
*/
typedef struct fz_function_s fz_function;
void fz_eval_function(fz_context *ctx, fz_function *func, const float *in, int inlen, float *out, int outlen);
fz_function *fz_keep_function(fz_context *ctx, fz_function *func);
void fz_drop_function(fz_context *ctx, fz_function *func);
unsigned int fz_function_size(fz_context *ctx, fz_function *func);
#ifndef NDEBUG
void pdf_debug_function(fz_context *ctx, fz_function *func);
#endif
enum
{
FZ_FN_MAXN = FZ_MAX_COLORS,
FZ_FN_MAXM = FZ_MAX_COLORS
};
struct fz_function_s
{
fz_storable storable;
unsigned int size;
int m; /* number of input values */
int n; /* number of output values */
void (*evaluate)(fz_context *ctx, fz_function *func, const float *in, float *out);
#ifndef NDEBUG
void (*debug)(fz_context *ctx, fz_function *func);
#endif
};
#endif
|