mlib_imageisuserallocated(3mlib) [opensolaris man page]
mlib_ImageIsUserAllocated(3MLIB) mediaLib Library Functions mlib_ImageIsUserAllocated(3MLIB) NAME
mlib_ImageIsUserAllocated - image query, user-allocated SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> int mlib_ImageIsUserAllocated(const mlib_image *src); DESCRIPTION
The mlib_ImageIsUserAllocated() function tests for a specific allocation characteristic of a mediaLib image structure. PARAMETERS
The function takes the following arguments: src Pointer to source image. RETURN VALUES
Returns 0 if data space has been allocated by mediaLib; otherwise, returns nonzero. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_ImageIsNotAligned2(3MLIB), mlib_ImageIsNotAligned4(3MLIB), mlib_ImageIsNotAligned8(3MLIB), mlib_ImageIsNotAligned64(3MLIB), mlib_ImageIsNotHeight2X(3MLIB), mlib_ImageIsNotHeight4X(3MLIB), mlib_ImageIsNotHeight8X(3MLIB), mlib_ImageIsNotOneDvector(3MLIB), mlib_ImageIsNotStride8X(3MLIB), mlib_ImageIsNotWidth2X(3MLIB), mlib_ImageIsNotWidth4X(3MLIB), mlib_ImageIsNotWidth8X(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_ImageIsUserAllocated(3MLIB)
Check Out this Related Man Page
mlib_ImageMaxFilter3x3(3MLIB) mediaLib Library Functions mlib_ImageMaxFilter3x3(3MLIB) NAME
mlib_ImageMaxFilter3x3 - 3x3 maximum filter SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageMaxFilter3x3(mlib_image *dst, const mlib_image *src); DESCRIPTION
The mlib_ImageMaxFilter3x3() function replaces the center pixel in a neighborhood with the maximum value in that neighborhood for each 3x3 neighborhood in the image. The source and destination images must be single-channel images. It uses the following equation: dst[x][y][0] = MAX{ src[p][q][0], x-1 <= p <= x+1; y-1 <= q <= y+1 } 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_ImageMaxFilter3x3_Fp(3MLIB), mlib_ImageMaxFilter5x5(3MLIB), mlib_ImageMaxFilter5x5_Fp(3MLIB), mlib_ImageMaxFilter7x7(3MLIB), mlib_ImageMaxFilter7x7_Fp(3MLIB), mlib_ImageMedianFilter3x3(3MLIB), mlib_ImageMedianFilter3x3_Fp(3MLIB), mlib_ImageMedianFil- ter3x3_US(3MLIB), mlib_ImageMedianFilter5x5(3MLIB), mlib_ImageMedianFilter5x5_Fp(3MLIB), mlib_ImageMedianFilter5x5_US(3MLIB), mlib_ImageMe- dianFilter7x7(3MLIB), mlib_ImageMedianFilter7x7_Fp(3MLIB), mlib_ImageMedianFilter7x7_US(3MLIB), mlib_ImageMedianFilterMxN(3MLIB), mlib_ImageMedianFilterMxN_Fp(3MLIB), mlib_ImageMedianFilterMxN_US(3MLIB), mlib_ImageMinFilter3x3(3MLIB), mlib_ImageMinFilter3x3_Fp(3MLIB), mlib_ImageMinFilter5x5(3MLIB), mlib_ImageMinFilter5x5_Fp(3MLIB), mlib_ImageMinFilter7x7(3MLIB), mlib_ImageMinFilter7x7_Fp(3MLIB), mlib_ImageRankFilter3x3(3MLIB), mlib_ImageRankFilter3x3_Fp(3MLIB), mlib_ImageRankFilter3x3_US(3MLIB), mlib_ImageRankFilter5x5(3MLIB), mlib_ImageRankFilter5x5_Fp(3MLIB), mlib_ImageRankFilter5x5_US(3MLIB), mlib_ImageRankFilter7x7(3MLIB), mlib_ImageRankFilter7x7_Fp(3MLIB), mlib_ImageRankFilter7x7_US(3MLIB), mlib_ImageRankFilterMxN(3MLIB), mlib_ImageRankFilterMxN_Fp(3MLIB), mlib_ImageRankFilterMxN_US(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_ImageMaxFilter3x3(3MLIB)