1mlib_MatrixSub_U8_Mod(3MLIBm)ediaLib Library Functionmslib_MatrixSub_U8_Mod(3MLIB)
2
3
4

NAME

6       mlib_MatrixSub_U8_Mod,  mlib_MatrixSub_U8_Sat,  mlib_MatrixSub_U8C_Mod,
7       mlib_MatrixSub_U8C_Sat,  mlib_MatrixSub_S8_Mod,  mlib_MatrixSub_S8_Sat,
8       mlib_MatrixSub_S8C_Mod, mlib_MatrixSub_S8C_Sat, mlib_MatrixSub_S16_Mod,
9       mlib_MatrixSub_S16_Sat,      mlib_MatrixSub_S16C_Mod,      mlib_Matrix‐
10       Sub_S16C_Sat,      mlib_MatrixSub_S32_Mod,      mlib_MatrixSub_S32_Sat,
11       mlib_MatrixSub_S32C_Mod, mlib_MatrixSub_S32C_Sat - matrix  subtraction,
12       in place
13

SYNOPSIS

15       cc [ flag... ] file... -lmlib [ library... ]
16       #include <mlib.h>
17
18       mlib_status mlib_MatrixSub_U8_Mod(mlib_u8 *xz,
19           const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
20
21
22       mlib_status mlib_MatrixSub_U8_Sat(mlib_u8 *xz,
23            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
24
25
26       mlib_status mlib_MatrixSub_U8C_Mod(mlib_u8 *xz,
27            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
28
29
30       mlib_status mlib_MatrixSub_U8C_Sat(mlib_u8 *xz,
31            const mlib_u8 *y, mlib_s32 m, mlib_s32 n);
32
33
34       mlib_status mlib_MatrixSub_S8_Mod(mlib_s8 *xz,
35            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
36
37
38       mlib_status mlib_MatrixSub_S8_Sat(mlib_s8 *xz,
39            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
40
41
42       mlib_status mlib_MatrixSub_S8C_Mod(mlib_s8 *xz,
43            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
44
45
46       mlib_status mlib_MatrixSub_S8C_Sat(mlib_s8 *xz,
47            const mlib_s8 *y, mlib_s32 m, mlib_s32 n);
48
49
50       mlib_status mlib_MatrixSub_S16_Mod(mlib_s16 *xz,
51            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
52
53
54       mlib_status mlib_MatrixSub_S16_Sat(mlib_s16 *xz,
55            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
56
57
58       mlib_status mlib_MatrixSub_S16C_Mod(mlib_s16 *xz,
59            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
60
61
62       mlib_status mlib_MatrixSub_S16C_Sat(mlib_s16 *xz,
63            const mlib_s16 *y, mlib_s32 m, mlib_s32 n);
64
65
66       mlib_status mlib_MatrixSub_S32_Mod(mlib_s32 *xz,
67            const mlib_s32 *y, mlib_s32 m, mlib_s32 n);
68
69
70       mlib_status mlib_MatrixSub_S32_Sat(mlib_s32 *xz,
71            const mlib_s32 *y, mlib_s32 m, mlib_s32 n);
72
73
74       mlib_status mlib_MatrixSub_S32C_Mod(mlib_s32 *xz,
75            const mlib_s32 *y, mlib_s32 m, mlib_s32 n);
76
77
78       mlib_status mlib_MatrixSub_S32C_Sat(mlib_s32 *xz,
79            const mlib_s32 *y, mlib_s32 m, mlib_s32 n);
80
81

DESCRIPTION

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

PARAMETERS

97       Each of the functions takes the following arguments:
98
99       xz    Pointer to the first source and destination matrix.
100
101
102       y     Pointer to the second source matrix.
103
104
105       m     Number of rows in the matrices.
106
107
108       n     Number of columns in the matrices.
109
110

RETURN VALUES

112       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
113       returns MLIB_FAILURE.
114

ATTRIBUTES

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

SEE ALSO

130       mlib_MatrixSub_U8_U8_Mod(3MLIB), attributes(5)
131
132
133
134SunOS 5.11                        2 Mar 2007      mlib_MatrixSub_U8_Mod(3MLIB)
Impressum