02-02-2008
Vector Signal Imaging Processing Library 1.3 (Sourcery VSIPL++ branch)
The Vector Signal Image Processing Library is an application programming interface (API) defined by an open standard. This package is a reference implementation of this specification.
License: GNU General Public License (GPL)
Changes:
Improved use of the Mercury Scientific Algorithm Library (SAL) and the Parallel Accelleration System (PAS), support for using a VSIPL library where SAL and PAS are not supported, and support for disabling features outside the VSIPL++ standard.
More...
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Can any body give example of using Unix Signals. What I want to do is
I am running a sql query in a shell script
I want, if sql query exceed the defined no. of seconds limit, then I would like to kill the process.
I know this can be done thru Unix Signal Handling but I do not know... (8 Replies)
Discussion started by: sanjay92
8 Replies
2. Programming
i am trying to use the history functions in a c++ program along with a custom signal handler for SIGINT.
the prog works fine catching signals without the line:
add_history(*args);
but as soon as this line is added, the prog segfaults on SIGINT.
does anyone have experience using gnu... (2 Replies)
Discussion started by: a1g0rithm
2 Replies
3. Shell Programming and Scripting
I am trying to develop a script that will properly handle kill signals particularly kill -2. I have program (_progres) that properly receives the signal if I run it from the command line directly:
_progres -T /tmp -p /home/mejones/signal.p -b 2>&1 &
If I try to put it in a script (i.e.... (2 Replies)
Discussion started by: mejones99
2 Replies
4. Programming
We have written a deamon which have many threads.
We are registering for the SIGTERM and trying to close main thread in this signal handling. Actually these are running on Mac OS X ( BSD unix). When we are unloading the deamon with command launchctl, it's sending SIGTERM signal to our process... (1 Reply)
Discussion started by: Akshay4u
1 Replies
5. Programming
I'm writing a function right now, and I want to set an alarm to avoid a timeout, here's the general idea of my code:
int amt = -2;
alarm(10);
amt = read(fd, &t->buf, TASKBUFSIZ - tailpos); //do a read
when the alarm goes off, i want to check the value of "amt"
... (1 Reply)
Discussion started by: liaobert
1 Replies
6. Solaris
I've read the man page of singal(3) but I still can't quite understand what is the difference between SIGINT, SIGALRM and SIGTERM.
Can someone tell me what is the behavioral difference among these 3 signals in kill command?
Thanks! (2 Replies)
Discussion started by: joe228
2 Replies
7. Shell Programming and Scripting
Is it possible to continue after signal is caught and control goes to function specified in the trap statement? (3 Replies)
Discussion started by: Soham
3 Replies
LEARN ABOUT SUNOS
mlib_signalcepstral_f32
mlib_SignalCepstral_F32(3MLIB) mediaLib Library Functions mlib_SignalCepstral_F32(3MLIB)
NAME
mlib_SignalCepstral_F32 - perform cepstral analysis
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalCepstral_F32(mlib_f32 *cepst, const mlib_f32 *signal, void *state);
DESCRIPTION
The mlib_SignalCepstral_F32() function performs cepstral analysis.
The basic operations to compute the cepstrum is shown below.
+-----------+ +--------+ +-----------+
| Fourier | | | | Inverse |
----->| |----->| log|*| |------>| Fourier |----->
x(n) | Transform | X(k) | | X'(k) | Transform | c(n)
+-----------+ +--------+ +-----------+
where x(n) is the input signal and c(n) is its cepstrum. In mathematics, they are
N-1 2*PI*k*n
X(k) = SUM x(n) * exp(-j*----------)
n=0 N
X'(k) = log|X(k)|
1 N-1 2*PI*k*n
c(n) = --- SUM X'(k) * exp(j*----------)
N n=0 N
Since X'(k) is real and even (symmetric), i.e.
X'(k) = X'(N - k)
the c(n) is real and the equation becomes Cosine transform.
1 N-1 2*PI*k*n
c(n) = --- SUM X'(k) * cos(----------)
N n=0 N
The cepstral coefficients in LPC is a special case of the above.
See Digital Signal Processing by Alan V. Oppenheim and Ronald W. Schafer, Prentice Hall, 1974.
See Fundamentals of Speech Recognition by Lawrence Rabinerand Biing-Hwang Juang, Prentice Hall, 1993.
PARAMETERS
The function takes the following arguments:
cepst The cepstral coefficients.
signal The input signal vector.
state Pointer to the internal state structure.
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 |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_SignalCepstralInit_F32(3MLIB), mlib_SignalCepstralFree_F32(3MLIB), attributes(5)
SunOS 5.10 10 Nov 2004 mlib_SignalCepstral_F32(3MLIB)