1mlib_VectorZero_U8(3MLIB) mediaLib Library Functions mlib_VectorZero_U8(3MLIB)
2
3
4

NAME

6       mlib_VectorZero_U8,  mlib_VectorZero_U8C, mlib_VectorZero_S8, mlib_Vec‐
7       torZero_S8C,   mlib_VectorZero_S16,   mlib_VectorZero_S16C,   mlib_Vec‐
8       torZero_S32, mlib_VectorZero_S32C - initialize vector to zero
9

SYNOPSIS

11       cc [ flag... ] file... -lmlib [ library... ]
12       #include <mlib.h>
13
14       mlib_status mlib_VectorZero_U8(mlib_u8 *z, mlib_s32 n);
15
16
17       mlib_status mlib_VectorZero_U8C(mlib_u8 *z, mlib_s32 n);
18
19
20       mlib_status mlib_VectorZero_S8(mlib_s8 *z, mlib_s32 n);
21
22
23       mlib_status mlib_VectorZero_S8C(mlib_s8 *z, mlib_s32 n);
24
25
26       mlib_status mlib_VectorZero_S16(mlib_s16 *z, mlib_s32 n);
27
28
29       mlib_status mlib_VectorZero_S16C(mlib_s16 *z, mlib_s32 n);
30
31
32       mlib_status mlib_VectorZero_S32(mlib_s32 *z, mlib_s32 n);
33
34
35       mlib_status mlib_VectorZero_S32C(mlib_s32 *z, mlib_s32 n);
36
37

DESCRIPTION

39       Each of these functions initializes a vector to zero.
40
41
42       The following equation is used:
43
44         z[i] = 0
45
46
47
48       where  i  =  0, 1, ..., (n - 1) for real data; i = 0, 1, ..., (2*n - 1)
49       for complex data.
50

PARAMETERS

52       Each of the functions takes the following arguments:
53
54       z    Pointer to the first element of the destination vector.
55
56
57       n    Number of elements in the vector.
58
59

RETURN VALUES

61       Each of the functions returns MLIB_SUCCESS if successful. Otherwise  it
62       returns MLIB_FAILURE.
63

ATTRIBUTES

65       See attributes(5) for descriptions of the following attributes:
66
67
68
69
70       ┌─────────────────────────────┬─────────────────────────────┐
71       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
72       ├─────────────────────────────┼─────────────────────────────┤
73       │Interface Stability          │Committed                    │
74       ├─────────────────────────────┼─────────────────────────────┤
75       │MT-Level                     │MT-Safe                      │
76       └─────────────────────────────┴─────────────────────────────┘
77

SEE ALSO

79       attributes(5)
80
81
82
83SunOS 5.11                        2 Mar 2007         mlib_VectorZero_U8(3MLIB)
Impressum