1mlib_ImageGetStride(3MLIB)mediaLib Library Functionsmlib_ImageGetStride(3MLIB)
2
3
4
6 mlib_ImageGetStride - get stride
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_s32 mlib_ImageGetStride(const mlib_image *img);
13
14
16 A query function that returns the stride public field of a mediaLib
17 image structure. The data type of the image can be MLIB_BIT, MLIB_BYTE,
18 MLIB_SHORT, MLIB_USHORT, MLIB_INT, MLIB_FLOAT, or MLIB_DOUBLE.
19
21 The function takes the following arguments:
22
23 img Pointer to source image.
24
25
27 The function returns the value of the stride (in bytes) of an image.
28
30 See attributes(5) for descriptions of the following attributes:
31
32
33
34
35 ┌─────────────────────────────┬─────────────────────────────┐
36 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
37 ├─────────────────────────────┼─────────────────────────────┤
38 │Interface Stability │Committed │
39 ├─────────────────────────────┼─────────────────────────────┤
40 │MT-Level │MT-Safe │
41 └─────────────────────────────┴─────────────────────────────┘
42
44 mlib_ImageGetBitOffset(3MLIB), mlib_ImageGetChannels(3MLIB),
45 mlib_ImageGetData(3MLIB), mlib_ImageGetFlags(3MLIB), mlib_ImageGetH‐
46 eight(3MLIB), mlib_ImageGetPaddings(3MLIB), mlib_ImageGetType(3MLIB),
47 mlib_ImageGetWidth(3MLIB), attributes(5)
48
49
50
51SunOS 5.11 2 Mar 2007 mlib_ImageGetStride(3MLIB)