10-19-2012
add mathematics.h
Add the following include in the file below
#include <libavutil/mathematics.h>
<zoneminder dir>/src/zm_ffmpeg.h
5 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
helo when i compling my project from the commandline using
Make file
make all i got the following error
make all
/usr/bin/gcc -DNDEBUG -O0 -finline-functions -fmerge-constants -fmove-all-movables -fno-omit-frame-pointer -I../../lsapi -c -o lsapitest.o lsapitest.c
g++ lsapitest.o... (2 Replies)
Discussion started by: amitpansuria
2 Replies
2. UNIX and Linux Applications
Ever since the new release of the Realtime kernel, JACK and Ardour and anything else that could use it doesn't work. It works if i turn off realtime in Jack, but thats precisely why I installed intrepid in the first place. for the realtime kernel. it worked so well!
what i've learned with linux:... (1 Reply)
Discussion started by: TheMusician
1 Replies
3. Ubuntu
I have install Ubuntu Intrepid and Zoneminder 1.23X. I have setup all of the all of the cameras and every time I try and run the cameras is cycle or montage mode I get no picture and I see a little emblem that resembles a broken connection. I checked /var/log/apache2/error.log and I can see that... (1 Reply)
Discussion started by: metallica1973
1 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone,
I've been writing a script as an assignment which essentially does the exact same thing as the tree -d function (bash shell btw), except next to every directory name it gives a number which you can input into the same command in order to change the current working directory to the... (1 Reply)
Discussion started by: petey22uk
1 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I'm running SVN on Ubuntu 12.04, and I have to connect it to an online repository accessed by HTTPS. I can check out files from the repository just fine with the command:
svn checkout <https://pathToRepository>But, I can't update the working copy properly after I make changes. I change... (1 Reply)
Discussion started by: Zel2008
1 Replies
LEARN ABOUT OPENSOLARIS
mlib_imageerode4
mlib_ImageErode4(3MLIB) mediaLib Library Functions mlib_ImageErode4(3MLIB)
NAME
mlib_ImageErode4 - four neighbor erode
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_ImageErode4(mlib_image *dst, const mlib_image *src);
DESCRIPTION
The mlib_ImageErode4() function performs an erode operation on an image by using each pixel's four orthogonal neighbors. The source and
destination images must be single-channel images. The data type can be MLIB_BIT, MLIB_SHORT, MLIB_USHORT, or MLIB_INT.
For 4-neighbor binary images, it uses the following equation:
dst[x][y][0] = AND{ src[x][y][0],
src[x-1][y][0], src[x+1][y][0],
src[x][y-1][0], src[x][y+1][0] }
For 4-neighbor grayscale images, it uses the following equation:
dst[x][y][0] = MIN{ src[x][y][0],
src[x-1][y][0], src[x+1][y][0],
src[x][y-1][0], src[x][y+1][0] }
where x = 1, ..., w-2; y = 1, ..., h-2.
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_ImageErode4_Fp(3MLIB), mlib_ImageErode8(3MLIB), mlib_ImageErode8_Fp(3MLIB), attributes(5)
SunOS 5.11 2 Mar 2007 mlib_ImageErode4(3MLIB)