Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlib_imagetestflags(3mlib) [sunos man page]

mlib_ImageTestFlags(3MLIB)				    mediaLib Library Functions					mlib_ImageTestFlags(3MLIB)

NAME
mlib_ImageTestFlags - test flags SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> int mlib_ImageTestFlags(const mlib_image *img, mlib_s32 flags); DESCRIPTION
The mlib_ImageTestFlags() function tests the flags for a combination of the following predefined characteristics. Note that the result of zero means the conditions are satisfied. MLIB_IMAGE_ALIGNED64 /* data address is 64-byte aligned */ MLIB_IMAGE_ALIGNED8 /* data address is 8-byte aligned */ MLIB_IMAGE_ALIGNED4 /* data address is 4-byte aligned */ MLIB_IMAGE_ALIGNED2 /* data address is 2-byte aligned */ MLIB_IMAGE_WIDTH8X /* width is multiple of 8 */ MLIB_IMAGE_WIDTH4X /* width is multiple of 4 */ MLIB_IMAGE_WIDTH2X /* width is multiple of 2 */ MLIB_IMAGE_HEIGHT8X /* height is multiple of 8 */ MLIB_IMAGE_HEIGHT4X /* height is multiple of 4 */ MLIB_IMAGE_HEIGHT2X /* height is multiple of 2 */ MLIB_IMAGE_STRIDE8X /* stride is multiple of 8 */ MLIB_IMAGE_ONEVECTOR /* stride is equal to width in bytes */ MLIB_IMAGE_USERALLOCATED /* data space has been allocated by user */ MLIB_IMAGE_ATTRIBUTESET /* image attribute flags have been set */ PARAMETERS
The function takes the following arguments: img Pointer to a mediaLib image structure. flags Combination of a set of characteristics to be tested. It is formed by logically Oring one or more individual predefined characteristics. RETURN VALUES
The function returns an integer value containing results of test. Condition = 0 if satisfied; otherwise, Condition != 0. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_ImageGetFlags(3MLIB), attributes(5) SunOS 5.10 10 Nov 2004 mlib_ImageTestFlags(3MLIB)

Check Out this Related Man Page

mlib_VideoCopyRefAve_U8_U8(3MLIB)			    mediaLib Library Functions				 mlib_VideoCopyRefAve_U8_U8(3MLIB)

NAME
mlib_VideoCopyRefAve_U8_U8 - copies and averages a block from the reference block to the current block SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_VideoCopyRefAve_U8_U8(mlib_u8 *curr_block, const mlib_u8 *ref_block, mlib_s32 width, mlib_s32 height, mlib_s32 stride); DESCRIPTION
The mlib_VideoCopyRefAve_U8_U8() function copies and averages a block from the reference block to the current block. The stride applies to both the input reference block and the current block. PARAMETERS
The function takes the following arguments: curr_block Pointer to the current block. curr_block must be 8-byte aligned. ref_block Pointer to the reference block. width Width of the blocks height Height of the blocks. stride Stride, in bytes, between adjacent rows in both the current block and the reference block. stride must be a multiple of eight. 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_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB), mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopy- Ref_U8_U8_16x16(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB), mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over- lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB), mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInterpAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB), mlib_VideoInt- erpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB), mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB), mlib_VideoInt- erpXY_S16_U8_16x16(3MLIB), mlib_VideoInterpXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInterpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB), mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB), mlib_VideoP64Deci- mate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB), mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_VideoCopyRefAve_U8_U8(3MLIB)
Man Page