1mlib_ImageGetBitOffset(3MLImBe)diaLib Library Functiomnlsib_ImageGetBitOffset(3MLIB)
2
3
4
6 mlib_ImageGetBitOffset - get bitoffset
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_s32 mlib_ImageGetBitOffset(const mlib_image *img);
13
14
16 A query function that returns the bitoffset 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 a mediaLib image structure.
24
25
27 The function returns the offset, in terms of bits, of an image from the
28 beginning of the data buffer to the first pixel.
29
31 See attributes(5) for descriptions of the following attributes:
32
33
34
35
36 ┌─────────────────────────────┬─────────────────────────────┐
37 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
38 ├─────────────────────────────┼─────────────────────────────┤
39 │Interface Stability │Committed │
40 ├─────────────────────────────┼─────────────────────────────┤
41 │MT-Level │MT-Safe │
42 └─────────────────────────────┴─────────────────────────────┘
43
45 mlib_ImageGetChannels(3MLIB), mlib_ImageGetData(3MLIB), mlib_ImageGet‐
46 Flags(3MLIB), mlib_ImageGetHeight(3MLIB), mlib_ImageGetPaddings(3MLIB),
47 mlib_ImageGetStride(3MLIB), mlib_ImageGetType(3MLIB),
48 mlib_ImageGetWidth(3MLIB), attributes(5)
49
50
51
52SunOS 5.11 2 Mar 2007 mlib_ImageGetBitOffset(3MLIB)