1mlib_VectorMul_U8_U8_Mod(3MmLeIdBi)aLib Library Functmiloinbs_VectorMul_U8_U8_Mod(3MLIB)
2
3
4

NAME

6       mlib_VectorMul_U8_U8_Mod,     mlib_VectorMul_U8_U8_Sat,    mlib_Vector‐
7       Mul_U8C_U8C_Mod, mlib_VectorMul_U8C_U8C_Sat,  mlib_VectorMul_S8_S8_Mod,
8       mlib_VectorMul_S8_S8_Sat,    mlib_VectorMul_S8C_S8C_Mod,   mlib_Vector‐
9       Mul_S8C_S8C_Sat, mlib_VectorMul_S16_U8_Mod,  mlib_VectorMul_S16_U8_Sat,
10       mlib_VectorMul_S16_S8_Mod,    mlib_VectorMul_S16_S8_Sat,   mlib_Vector‐
11       Mul_S16_S16_Mod,        mlib_VectorMul_S16_S16_Sat,        mlib_Vector‐
12       Mul_S16C_U8C_Mod,       mlib_VectorMul_S16C_U8C_Sat,       mlib_Vector‐
13       Mul_S16C_S8C_Mod,       mlib_VectorMul_S16C_S8C_Sat,       mlib_Vector‐
14       Mul_S16C_S16C_Mod,      mlib_VectorMul_S16C_S16C_Sat,      mlib_Vector‐
15       Mul_S32_S16_Mod,        mlib_VectorMul_S32_S16_Sat,        mlib_Vector‐
16       Mul_S32_S32_Mod,        mlib_VectorMul_S32_S32_Sat,        mlib_Vector‐
17       Mul_S32C_S16C_Mod,      mlib_VectorMul_S32C_S16C_Sat,      mlib_Vector‐
18       Mul_S32C_S32C_Mod, mlib_VectorMul_S32C_S32C_Sat - vector multiplication
19

SYNOPSIS

21       cc [ flag... ] file... -lmlib [ library... ]
22       #include <mlib.h>
23
24       mlib_status mlib_VectorMul_U8_U8_Mod(mlib_u8 *z,
25            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
26
27
28       mlib_status mlib_VectorMul_U8_U8_Sat(mlib_u8 *z,
29            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
30
31
32       mlib_status mlib_VectorMul_U8C_U8C_Mod(mlib_u8 *z,
33            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
34
35
36       mlib_status mlib_VectorMul_U8C_U8C_Sat(mlib_u8 *z,
37            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
38
39
40       mlib_status mlib_VectorMul_S8_S8_Mod(mlib_s8 *z,
41            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
42
43
44       mlib_status mlib_VectorMul_S8_S8_Sat(mlib_s8 *z,
45            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
46
47
48       mlib_status mlib_VectorMul_S8C_S8C_Mod(mlib_s8 *z,
49            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
50
51
52       mlib_status mlib_VectorMul_S8C_S8C_Sat(mlib_s8 *z,
53            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
54
55
56       mlib_status mlib_VectorMul_S16_U8_Mod(mlib_s16 *z,
57            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
58
59
60       mlib_status mlib_VectorMul_S16_U8_Sat(mlib_s16 *z,
61            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
62
63
64       mlib_status mlib_VectorMul_S16_S8_Mod(mlib_s16 *z,
65            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
66
67
68       mlib_status mlib_VectorMul_S16_S8_Sat(mlib_s16 *z,
69            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
70
71
72       mlib_status mlib_VectorMul_S16_S16_Mod(mlib_s16 *z,
73            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
74
75
76       mlib_status mlib_VectorMul_S16_S16_Sat(mlib_s16 *z,
77            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
78
79
80       mlib_status mlib_VectorMul_S16C_U8C_Mod(mlib_s16 *z,
81            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
82
83
84       mlib_status mlib_VectorMul_S16C_U8C_Sat(mlib_s16 *z,
85            const mlib_u8 *x, const mlib_u8 *y, mlib_s32 n);
86
87
88       mlib_status mlib_VectorMul_S16C_S8C_Mod(mlib_s16 *z,
89            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
90
91
92       mlib_status mlib_VectorMul_S16C_S8C_Sat(mlib_s16 *z,
93            const mlib_s8 *x, const mlib_s8 *y, mlib_s32 n);
94
95
96       mlib_status mlib_VectorMul_S16C_S16C_Mod(mlib_s16 *z,
97            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
98
99
100       mlib_status mlib_VectorMul_S16C_S16C_Sat(mlib_s16 *z,
101            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
102
103
104       mlib_status mlib_VectorMul_S32_S16_Mod(mlib_s32 *z,
105            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
106
107
108       mlib_status mlib_VectorMul_S32_S16_Sat(mlib_s32 *z,
109            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
110
111
112       mlib_status mlib_VectorMul_S32_S32_Mod(mlib_s32 *z,
113            const mlib_s32 *x, const mlib_s32 *y, mlib_s32 n);
114
115
116       mlib_status mlib_VectorMul_S32_S32_Sat(mlib_s32 *z,
117            const mlib_s32 *x, const mlib_s32 *y, mlib_s32 n);
118
119
120       mlib_status mlib_VectorMul_S32C_S16C_Mod(mlib_s32 *z,
121            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
122
123
124       mlib_status mlib_VectorMul_S32C_S16C_Sat(mlib_s32 *z,
125            const mlib_s16 *x, const mlib_s16 *y, mlib_s32 n);
126
127
128       mlib_status mlib_VectorMul_S32C_S32C_Mod(mlib_s32 *z,
129            const mlib_s32 *x, const mlib_s32 *y, mlib_s32 n);
130
131
132       mlib_status mlib_VectorMul_S32C_S32C_Sat(mlib_s32 *z,
133            const mlib_s32 *x, const mlib_s32 *y, mlib_s32 n);
134
135

DESCRIPTION

137       Each of these functions multiplies one vector by another vector.
138
139
140       For real data, the following equation is used:
141
142         z[i] = x[i] * y[i]
143
144
145
146       where i = 0, 1, ..., (n - 1).
147
148
149       For complex data, the following equation is used:
150
151         z[2*i]     = x[2*i]*y[2*i] - x[2*i + 1]*y[2*i + 1]
152         z[2*i + 1] = x[2*i]*y[2*i + 1] + x[2*i + 1]*y[2*i]
153
154
155
156       where i = 0, 1, ..., (n - 1).
157

PARAMETERS

159       Each of the functions takes the following arguments:
160
161       z    Pointer to the first element of the destination vector.
162
163
164       x    Pointer to the first element of the first source vector.
165
166
167       y    Pointer to the first element of the second source vector.
168
169
170       n    Number of elements in the vectors.
171
172

RETURN VALUES

174       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
175       returns MLIB_FAILURE.
176

ATTRIBUTES

178       See attributes(5) for descriptions of the following attributes:
179
180
181
182
183       ┌─────────────────────────────┬─────────────────────────────┐
184       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
185       ├─────────────────────────────┼─────────────────────────────┤
186       │Interface Stability          │Committed                    │
187       ├─────────────────────────────┼─────────────────────────────┤
188       │MT-Level                     │MT-Safe                      │
189       └─────────────────────────────┴─────────────────────────────┘
190

SEE ALSO

192       mlib_VectorMul_U8_Mod(3MLIB), attributes(5)
193
194
195
196SunOS 5.11                        2 Mar 2007   mlib_VectorMul_U8_U8_Mod(3MLIB)
Impressum