mlib_volumewindowlevel(3mlib) [opensolaris man page]
mlib_VolumeWindowLevel(3MLIB) mediaLib Library Functions mlib_VolumeWindowLevel(3MLIB) NAME
mlib_VolumeWindowLevel - window-level operation SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_VolumeWindowLevel(mlib_u8 *dst, const mlib_s16 *src, mlib_s32 window, mlib_s32 level, mlib_s32 gmax, mlib_s32 gmin, mlib_s32 len); DESCRIPTION
The mlib_VolumeWindowLevel() function performs a window-level operation by using the following equation: Printed copy or docs.sun.com displays an equation that represents the window-level operation. The window-level operation is represented by the following figure: Printed copy or docs.sun.com displays a figure that represents the window-level operation. PARAMETERS
The function takes the following arguments: dst Pointer to the output or destination array. src Pointer to the input or source array. window Width of the window. level Center of the window. gmax Maximum grayscale in the destination array. gmin Minimum grayscale in the destination array. len Length of the data array. 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
attributes(5) SunOS 5.11 2 Mar 2007 mlib_VolumeWindowLevel(3MLIB)
Check Out this Related Man Page
mlib_SignalIIR_Biquad_S16_S16_Sat(3MLIB) mediaLib Library Functions mlib_SignalIIR_Biquad_S16_S16_Sat(3MLIB) NAME
mlib_SignalIIR_Biquad_S16_S16_Sat, mlib_SignalIIR_Biquad_S16S_S16S_Sat, mlib_SignalIIR_Biquad_F32_F32, mlib_SignalIIR_Biquad_F32S_F32S - biquad Infinite Impulse Response (IIR) filtering SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalIIR_Biquad_S16_S16_Sat(mlib_s16 *dst, const mlib_s16 *src, void *filter, mlib_s32 n); mlib_status mlib_SignalIIR_Biquad_S16S_S16S_Sat(mlib_s16 *dst, const mlib_s16 *src, void *filter, mlib_s32 n); mlib_status mlib_SignalIIR_Biquad_F32_F32(mlib_f32 *dst, const mlib_f32 *src, void *filter, mlib_s32 n); mlib_status mlib_SignalIIR_Biquad_F32S_F32S(mlib_f32 *dst, const mlib_f32 *src, void *filter, mlib_s32 n); DESCRIPTION
Each of these functions applies a biquad IIR filter to a signal array. Printed copy or docs.sun.com displays an equation that represents the biquad IIR filtering. The biquad IIR filter is represented by the following figure: Printed copy or docs.sun.com displays a figure that represents the biquad IIR filter. PARAMETERS
Each of the functions takes the following arguments: dst Destination signal array. src Source signal array. filter Internal filter structure. n Number of samples in the source signal array. RETURN VALUES
Each of the functions 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_SignalIIR_P4_S16_S16_Sat(3MLIB), mlib_SignalIIRFree_Biquad_S16_S16(3MLIB), mlib_SignalIIRFree_P4_S16_S16(3MLIB), mlib_SignalI- IRInit_Biquad_S16_S16(3MLIB), mlib_SignalIIRInit_P4_S16_S16(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_SignalIIR_Biquad_S16_S16_Sat(3MLIB)