|
My Project
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
12extern void _omMemcpyW(
long* p1,
long* p2,
long l);
13#define omMemcpy_nwEVEN(p1, p2, l) _omMemcpyW((long*) p1, (long*) p2, (long) l)
14#define omMemcpy_nwODD(p1, p2, l) _omMemcpyW((long*) p1, (long*) p2, (long) l)
15#define omMemcpyW(p1, p2, l) _omMemcpyW((long*) p1, (long*) p2, (long) l)
17extern void _omMemaddW(
long* p1,
long* p2,
long* p3,
long l);
18#define omMemaddW(p1, p2, p3, l) _omMemaddW(p1, p2, p3, l)
19#define omMemadd_nwODD(p1, p2, p3, l) _omMemaddW(p1, p2, p3, l)
20#define omMemadd_nwEVEN(p1, p2, p3, l) _omMemaddW(p1, p2, p3, l)
21#define omMemadd_nwONE(p1, p2, p3) _omMemaddW(p1, p2, p3, 1)
22#define omMemadd_nwTWO(p1, p2, p3) _omMemaddW(p1, p2, p3, 2)
24extern void _omMemsetW(
long* p1,
long w,
long l);
25#define omMemsetW(p1, w, l) _omMemsetW(p1, w, l)
29#define omMemcpyW(p1, p2, l) \
33 long* _s1 = (long*) (p1); \
34 const long* _s2 = (long*) (p2); \
47#define omMemcpy_nwODD(p1, p2, l) \
51 long* _s1 = (long*) (p1); \
52 const long* _s2 = (long*) (p2); \
65#define omMemcpy_nwEVEN(p1, p2, l) \
69 long* _s1 = (long*) (p1); \
70 const long* _s2 = (long*) (p2); \
82#define omMemaddW(P1, P2, P3, L) \
85 unsigned long* _p1 = P1; \
86 const unsigned long* _p2 = P2; \
87 const unsigned long* _p3 = P3; \
88 unsigned long l = L; \
92 *_p1++ = *_p2++ + *_p3++; \
99#define omMemadd_nwODD(P1, P2, P3, L) \
102 unsigned long* _p1 = P1; \
103 const unsigned long* _p2 = P2; \
104 const unsigned long* _p3 = P3; \
105 unsigned long l = L; \
107 *_p1++ = *_p2++ + *_p3++; \
112 *_p1++ = *_p2++ + *_p3++; \
113 *_p1++ = *_p2++ + *_p3++; \
120#define omMemadd_nwEVEN(P1, P2, P3, L) \
123 unsigned long* _p1 = P1; \
124 const unsigned long* _p2 = P2; \
125 const unsigned long* _p3 = P3; \
126 unsigned long l = L; \
130 *_p1++ = *_p2++ + *_p3++; \
131 *_p1++ = *_p2++ + *_p3++; \
138#define omMemadd_nwONE(P1, P2, P3) \
141 unsigned long* _p1 = P1; \
142 const unsigned long* _p2 = P2; \
143 const unsigned long* _p3 = P3; \
145 *_p1 = *_p2 + *_p3; \
149#define omMemadd_nwTWO(P1, P2, P3) \
152 unsigned long* _p1 = P1; \
153 const unsigned long* _p2 = P2; \
154 const unsigned long* _p3 = P3; \
156 *_p1++ = *_p2++ + *_p3++; \
157 *_p1 = *_p2 + *_p3; \
161#define omMemsetW(P1, W, L) \
164 long* _p1 = (long*) (P1); \
165 unsigned long _l = L; \
166 unsigned long _w = W; \