1mlib_VectorSub_U8_Mod(3MLIBm)ediaLib Library Functionmslib_VectorSub_U8_Mod(3MLIB)
2
3
4

NAME

6       mlib_VectorSub_U8_Mod,  mlib_VectorSub_U8_Sat,  mlib_VectorSub_U8C_Mod,
7       mlib_VectorSub_U8C_Sat,  mlib_VectorSub_S8_Mod,  mlib_VectorSub_S8_Sat,
8       mlib_VectorSub_S8C_Mod, mlib_VectorSub_S8C_Sat, mlib_VectorSub_S16_Mod,
9       mlib_VectorSub_S16_Sat,      mlib_VectorSub_S16C_Mod,      mlib_Vector‐
10       Sub_S16C_Sat, mlib_VectorSub_S32_Mod, mlib_VectorSub_S32_Sat, mlib_Vec‐
11       torSub_S32C_Mod, mlib_VectorSub_S32C_Sat - vector subtraction, in place
12

SYNOPSIS

14       cc [ flag... ] file... -lmlib [ library... ]
15       #include <mlib.h>
16
17       mlib_status mlib_VectorSub_U8_Mod(mlib_u8 *xz,
18            const mlib_u8 *y, mlib_s32 n);
19
20
21       mlib_status mlib_VectorSub_U8_Sat(mlib_u8 *xz,
22            const mlib_u8 *y, mlib_s32 n);
23
24
25       mlib_status mlib_VectorSub_U8C_Mod(mlib_u8 *xz,
26            const mlib_u8 *y, mlib_s32 n);
27
28
29       mlib_status mlib_VectorSub_U8C_Sat(mlib_u8 *xz,
30            const mlib_u8 *y, mlib_s32 n);
31
32
33       mlib_status mlib_VectorSub_S8_Mod(mlib_s8 *xz,
34            const mlib_s8 *y, mlib_s32 n);
35
36
37       mlib_status mlib_VectorSub_S8_Sat(mlib_s8 *xz,
38            const mlib_s8 *y, mlib_s32 n);
39
40
41       mlib_status mlib_VectorSub_S8C_Mod(mlib_s8 *xz,
42            const mlib_s8 *y, mlib_s32 n);
43
44
45       mlib_status mlib_VectorSub_S8C_Sat(mlib_s8 *xz,
46            const mlib_s8 *y, mlib_s32 n);
47
48
49       mlib_status mlib_VectorSub_S16_Mod(mlib_s16 *xz,
50            const mlib_s16 *y, mlib_s32 n);
51
52
53       mlib_status mlib_VectorSub_S16_Sat(mlib_s16 *xz,
54            const mlib_s16 *y, mlib_s32 n);
55
56
57       mlib_status mlib_VectorSub_S16C_Mod(mlib_s16 *xz,
58            const mlib_s16 *y, mlib_s32 n);
59
60
61       mlib_status mlib_VectorSub_S16C_Sat(mlib_s16 *xz,
62            const mlib_s16 *y, mlib_s32 n);
63
64
65       mlib_status mlib_VectorSub_S32_Mod(mlib_s32 *xz,
66            const mlib_s32 *y, mlib_s32 n);
67
68
69       mlib_status mlib_VectorSub_S32_Sat(mlib_s32 *xz,
70            const mlib_s32 *y, mlib_s32 n);
71
72
73       mlib_status mlib_VectorSub_S32C_Mod(mlib_s32 *xz,
74            const mlib_s32 *y, mlib_s32 n);
75
76
77       mlib_status mlib_VectorSub_S32C_Sat(mlib_s32 *xz,
78            const mlib_s32 *y, mlib_s32 n);
79
80

DESCRIPTION

82       Each of these functions performs an in-place subtraction  of  a  vector
83       from another vector.
84
85
86       It uses the following equation:
87
88         xz[i] = xz[i] - y[i]
89
90
91
92       where  i  =  0, 1, ..., (n - 1) for real data; i = 0, 1, ..., (2*n - 1)
93       for complex data.
94

PARAMETERS

96       Each of the functions takes the following arguments:
97
98       xz    Pointer to the first element of the first source and  destination
99             vector.
100
101
102       y     Pointer to the first element of the second source vector.
103
104
105       n     Number of elements in the vectors.
106
107

RETURN VALUES

109       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
110       returns MLIB_FAILURE.
111

ATTRIBUTES

113       See attributes(5) for descriptions of the following attributes:
114
115
116
117
118       ┌─────────────────────────────┬─────────────────────────────┐
119       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
120       ├─────────────────────────────┼─────────────────────────────┤
121       │Interface Stability          │Committed                    │
122       ├─────────────────────────────┼─────────────────────────────┤
123       │MT-Level                     │MT-Safe                      │
124       └─────────────────────────────┴─────────────────────────────┘
125

SEE ALSO

127       mlib_VectorSub_U8_U8_Mod(3MLIB), attributes(5)
128
129
130
131SunOS 5.11                        2 Mar 2007      mlib_VectorSub_U8_Mod(3MLIB)
Impressum