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

NAME

6       mlib_VectorCopy_U8,  mlib_VectorCopy_U8C, mlib_VectorCopy_S8, mlib_Vec‐
7       torCopy_S8C,  mlib_VectorCopy_S16,  mlib_VectorCopy_S16C,  mlib_Vector‐
8       Copy_S32, mlib_VectorCopy_S32C - vector copy
9

SYNOPSIS

11       cc [ flag... ] file... -lmlib [ library... ]
12       #include <mlib.h>
13
14       mlib_status mlib_VectorCopy_U8(mlib_u8 *z, const mlib_u8 *x,
15            mlib_s32 n);
16
17
18       mlib_status mlib_VectorCopy_U8C(mlib_u8 *z, const mlib_u8 *x,
19            mlib_s32 n);
20
21
22       mlib_status mlib_VectorCopy_S8(mlib_s8 *z, const mlib_s8 *x,
23            mlib_s32 n);
24
25
26       mlib_status mlib_VectorCopy_S8C(mlib_s8 *z, const mlib_s8 *x,
27            mlib_s32 n);
28
29
30       mlib_status mlib_VectorCopy_S16(mlib_s16 *z, const mlib_s16 *x,
31            mlib_s32 n);
32
33
34       mlib_status mlib_VectorCopy_S16C(mlib_s16 *z, const mlib_s16 *x,
35            mlib_s32 n);
36
37
38       mlib_status mlib_VectorCopy_S32(mlib_s32 *z, const mlib_s32 *x,
39            mlib_s32 n);
40
41
42       mlib_status mlib_VectorCopy_S32C(mlib_s32 *z, const mlib_s32 *x,
43            mlib_s32 n);
44
45

DESCRIPTION

47       Each of these functions copies one vector to another vector of the same
48       data type.
49
50
51       The input and output vectors must be in the same data type.
52
53
54       For real data, the following equation is used:
55
56         z[i] = x[i]
57
58
59
60       where i = 0, 1, ..., (n - 1).
61
62
63       For complex data, the following equation is used:
64
65         z[2*i]     = x[2*i]
66         z[2*i + 1] = x[2*i + 1]
67
68
69
70       where i = 0, 1, ..., (n - 1).
71

PARAMETERS

73       Each of the functions takes the following arguments:
74
75       z    Pointer to the first element of the destination vector.
76
77
78       x    Pointer to the first element of the source vector.
79
80
81       n    Number of elements in the vectors.
82
83

RETURN VALUES

85       Each of the functions returns MLIB_SUCCESS if successful. Otherwise  it
86       returns MLIB_FAILURE.
87

ATTRIBUTES

89       See attributes(5) for descriptions of the following attributes:
90
91
92
93
94       ┌─────────────────────────────┬─────────────────────────────┐
95       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
96       ├─────────────────────────────┼─────────────────────────────┤
97       │Interface Stability          │Committed                    │
98       ├─────────────────────────────┼─────────────────────────────┤
99       │MT-Level                     │MT-Safe                      │
100       └─────────────────────────────┴─────────────────────────────┘
101

SEE ALSO

103       attributes(5)
104
105
106
107SunOS 5.11                        2 Mar 2007         mlib_VectorCopy_U8(3MLIB)
Impressum