/usr/include/xmorph/warp.h is in libmorph-dev 1:20140707+nmu2.
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 | /* warp.h : Digital Image Warping algorithms header
//
// Written and Copyright (C) 1994-1999 by Michael J. Gourlay
//
// Provided as is. No warrantees, express or implied.
*/
#ifndef _WARP__INCLUDED_
#define _WARP__INCLUDED_
#include "braindead_msvc.h"
/* this is the C type of a pixel */
#define PIXEL_TYPE unsigned char
#define PIXEL_MIN 0
#define PIXEL_MAX 255
/* choose warp engine */
#define warp_image warp_image_inv_new
void warp_image_inv_old
(const PIXEL_TYPE *in, PIXEL_TYPE *out,
int img_width, int img_height,
const double *xs, const double *ys, const double *xd, const double *yd,
int mesh_width, int mesh_height);
#endif
|