Query: mlib_volumewindowlevel
OS: opensolaris
Section: 3mlib
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mlib_VolumeWindowLevel(3MLIB) mediaLib Library Functions mlib_VolumeWindowLevel(3MLIB)NAMEmlib_VolumeWindowLevel - window-level operationSYNOPSIScc [ 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);DESCRIPTIONThe 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.PARAMETERSThe 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 VALUESThe function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOattributes(5) SunOS 5.11 2 Mar 2007 mlib_VolumeWindowLevel(3MLIB)
Similar Topics in the Unix Linux Community |
---|
storing strings in C |