Windows PowerShell command on Get-command mlib_ImageTestFlags
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man mlib_ImageTestFlags

mediaLib Library Functions mlib_ImageTestFlags(3MLIB)

NAME

mlib_ImageTestFlags - test flags

SYNOPSIS

cc [ flag... ] file... -lmlib [ library... ]

#include

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 satis-

fied.

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 attri-

butes:

SunOS 5.11 Last change: 2 Mar 2007 1

mediaLib Library Functions mlib_ImageTestFlags(3MLIB)

____________________________________________________________

| ATTRIBUTE TYPE | ATTRIBUTE VALUE |

|_____________________________|_____________________________|

| Interface Stability | Committed |

|_____________________________|_____________________________|

| MT-Level | MT-Safe |

|_____________________________|_____________________________|

SEE ALSO

mlib_ImageGetFlags(3MLIB), attributes(5)

SunOS 5.11 Last change: 2 Mar 2007 2




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™