Installing motionsearch.h?

"Steven M. Schultz" <[email protected]>
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
Hi -

	The header file motionsearch.h (from the utils/ directory) is not
	being installed since it is listed in the 'noinst_HEADERS' section
	of Makefile.am

	This is causing a problem (at least on some systems) when programs use
	the motionsearch routines from libmjpegutils. Referencing the 
	pointers to functions such as 'psumsq', 'psad_00', 'pbsumsq', ...
	means that the prototypes:

	extern int (*psumsq) (uint8_t *blk1, uint8_t *blk2, ...

		...

	must be in scope.   Otherwise, on some systems, the program will 
	crash when they jump off to an illegal location (felt like the 
	compiler thought it was a simple function - not a pointer to a
	function - and didn't do the extra indirection).

	I think that since the motion search functions (and pointers)  are in 
	the mjpegutils library that their prototypes should be available.

	Any objection(s) to installing motionsearch.h into the 
	.../include/mjpegtools/ directory?

	Cheers,
	Steven Schultz


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.