Lines Matching refs:v1

118 extern float __attribute__((overloadable)) fmax(float v1, float v2) {  in fmax()  argument
119 return v1 > v2 ? v1 : v2; in fmax()
122 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() argument
124 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
125 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
129 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() argument
131 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
132 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
133 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
137 extern float4 __attribute__((overloadable)) fmax(float4 v1, float4 v2) { in fmax() argument
139 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
140 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
141 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
142 r.w = v1.w > v2.w ? v1.w : v2.w; in fmax()
146 extern float2 __attribute__((overloadable)) fmax(float2 v1, float v2) { in fmax() argument
148 r.x = v1.x > v2 ? v1.x : v2; in fmax()
149 r.y = v1.y > v2 ? v1.y : v2; in fmax()
153 extern float3 __attribute__((overloadable)) fmax(float3 v1, float v2) { in fmax() argument
155 r.x = v1.x > v2 ? v1.x : v2; in fmax()
156 r.y = v1.y > v2 ? v1.y : v2; in fmax()
157 r.z = v1.z > v2 ? v1.z : v2; in fmax()
161 extern float4 __attribute__((overloadable)) fmax(float4 v1, float v2) { in fmax() argument
163 r.x = v1.x > v2 ? v1.x : v2; in fmax()
164 r.y = v1.y > v2 ? v1.y : v2; in fmax()
165 r.z = v1.z > v2 ? v1.z : v2; in fmax()
166 r.w = v1.w > v2 ? v1.w : v2; in fmax()
170 extern float __attribute__((overloadable)) fmin(float v1, float v2) { in fmin() argument
171 return v1 < v2 ? v1 : v2; in fmin()
178 extern float2 __attribute__((overloadable)) fmin(float2 v1, float2 v2) { in fmin() argument
180 r.x = v1.x < v2.x ? v1.x : v2.x; in fmin()
181 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin()
185 extern float3 __attribute__((overloadable)) fmin(float3 v1, float3 v2) { in fmin() argument
187 r.x = v1.x < v2.x ? v1.x : v2.x; in fmin()
188 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin()
189 r.z = v1.z < v2.z ? v1.z : v2.z; in fmin()
193 extern float4 __attribute__((overloadable)) fmin(float4 v1, float4 v2) { in fmin() argument
195 r.x = v1.x < v2.x ? v1.x : v2.x; in fmin()
196 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin()
197 r.z = v1.z < v2.z ? v1.z : v2.z; in fmin()
198 r.w = v1.w < v2.w ? v1.w : v2.w; in fmin()
202 extern float2 __attribute__((overloadable)) fmin(float2 v1, float v2) { in fmin() argument
204 r.x = v1.x < v2 ? v1.x : v2; in fmin()
205 r.y = v1.y < v2 ? v1.y : v2; in fmin()
209 extern float3 __attribute__((overloadable)) fmin(float3 v1, float v2) { in fmin() argument
211 r.x = v1.x < v2 ? v1.x : v2; in fmin()
212 r.y = v1.y < v2 ? v1.y : v2; in fmin()
213 r.z = v1.z < v2 ? v1.z : v2; in fmin()
217 extern float4 __attribute__((overloadable)) fmin(float4 v1, float v2) { in fmin() argument
219 r.x = v1.x < v2 ? v1.x : v2; in fmin()
220 r.y = v1.y < v2 ? v1.y : v2; in fmin()
221 r.z = v1.z < v2 ? v1.z : v2; in fmin()
222 r.w = v1.w < v2 ? v1.w : v2; in fmin()
231 extern char __attribute__((overloadable)) max(char v1, char v2) { in max() argument
232 return v1 > v2 ? v1 : v2; in max()
235 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { in max() argument
237 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
238 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
242 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { in max() argument
244 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
245 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
246 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
250 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { in max() argument
252 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
253 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
254 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
255 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
259 extern short __attribute__((overloadable)) max(short v1, short v2) { in max() argument
260 return v1 > v2 ? v1 : v2; in max()
263 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { in max() argument
265 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
266 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
270 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { in max() argument
272 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
273 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
274 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
278 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { in max() argument
280 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
281 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
282 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
283 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
287 extern int __attribute__((overloadable)) max(int v1, int v2) { in max() argument
288 return v1 > v2 ? v1 : v2; in max()
291 extern int2 __attribute__((overloadable)) max(int2 v1, int2 v2) { in max() argument
293 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
294 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
298 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { in max() argument
300 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
301 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
302 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
306 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { in max() argument
308 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
309 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
310 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
311 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
315 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { in max() argument
316 return v1 > v2 ? v1 : v2; in max()
319 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { in max() argument
321 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
322 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
326 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { in max() argument
328 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
329 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
330 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
334 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { in max() argument
336 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
337 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
338 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
339 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
343 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { in max() argument
344 return v1 > v2 ? v1 : v2; in max()
347 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { in max() argument
349 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
350 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
354 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { in max() argument
356 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
357 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
358 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
362 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { in max() argument
364 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
365 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
366 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
367 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
371 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { in max() argument
372 return v1 > v2 ? v1 : v2; in max()
375 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { in max() argument
377 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
378 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
382 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { in max() argument
384 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
385 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
386 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
390 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { in max() argument
392 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
393 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
394 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
395 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
399 extern float __attribute__((overloadable)) max(float v1, float v2) { in max() argument
400 return fmax(v1, v2); in max()
403 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { in max() argument
404 return fmax(v1, v2); in max()
407 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { in max() argument
408 return fmax(v1, v2); in max()
411 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { in max() argument
412 return fmax(v1, v2); in max()
415 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { in max() argument
416 return fmax(v1, v2); in max()
419 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { in max() argument
420 return fmax(v1, v2); in max()
423 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { in max() argument
424 return fmax(v1, v2); in max()
432 extern int8_t __attribute__((overloadable)) min(int8_t v1, int8_t v2) { in min() argument
433 return v1 < v2 ? v1 : v2; in min()
436 extern char2 __attribute__((overloadable)) min(char2 v1, char2 v2) { in min() argument
438 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
439 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
443 extern char3 __attribute__((overloadable)) min(char3 v1, char3 v2) { in min() argument
445 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
446 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
447 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
451 extern char4 __attribute__((overloadable)) min(char4 v1, char4 v2) { in min() argument
453 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
454 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
455 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
456 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
460 extern int16_t __attribute__((overloadable)) min(int16_t v1, int16_t v2) { in min() argument
461 return v1 < v2 ? v1 : v2; in min()
464 extern short2 __attribute__((overloadable)) min(short2 v1, short2 v2) { in min() argument
466 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
467 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
471 extern short3 __attribute__((overloadable)) min(short3 v1, short3 v2) { in min() argument
473 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
474 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
475 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
479 extern short4 __attribute__((overloadable)) min(short4 v1, short4 v2) { in min() argument
481 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
482 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
483 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
484 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
488 extern int32_t __attribute__((overloadable)) min(int32_t v1, int32_t v2) { in min() argument
489 return v1 < v2 ? v1 : v2; in min()
492 extern int2 __attribute__((overloadable)) min(int2 v1, int2 v2) { in min() argument
494 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
495 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
499 extern int3 __attribute__((overloadable)) min(int3 v1, int3 v2) { in min() argument
501 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
502 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
503 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
507 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) { in min() argument
509 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
510 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
511 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
512 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
516 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { in min() argument
517 return v1 < v2 ? v1 : v2; in min()
520 extern uchar2 __attribute__((overloadable)) min(uchar2 v1, uchar2 v2) { in min() argument
522 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
523 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
527 extern uchar3 __attribute__((overloadable)) min(uchar3 v1, uchar3 v2) { in min() argument
529 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
530 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
531 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
535 extern uchar4 __attribute__((overloadable)) min(uchar4 v1, uchar4 v2) { in min() argument
537 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
538 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
539 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
540 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
544 extern ushort __attribute__((overloadable)) min(ushort v1, ushort v2) { in min() argument
545 return v1 < v2 ? v1 : v2; in min()
548 extern ushort2 __attribute__((overloadable)) min(ushort2 v1, ushort2 v2) { in min() argument
550 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
551 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
555 extern ushort3 __attribute__((overloadable)) min(ushort3 v1, ushort3 v2) { in min() argument
557 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
558 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
559 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
563 extern ushort4 __attribute__((overloadable)) min(ushort4 v1, ushort4 v2) { in min() argument
565 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
566 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
567 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
568 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
572 extern uint __attribute__((overloadable)) min(uint v1, uint v2) { in min() argument
573 return v1 < v2 ? v1 : v2; in min()
576 extern uint2 __attribute__((overloadable)) min(uint2 v1, uint2 v2) { in min() argument
578 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
579 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
583 extern uint3 __attribute__((overloadable)) min(uint3 v1, uint3 v2) { in min() argument
585 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
586 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
587 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
591 extern uint4 __attribute__((overloadable)) min(uint4 v1, uint4 v2) { in min() argument
593 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
594 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
595 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
596 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
600 extern float __attribute__((overloadable)) min(float v1, float v2) { in min() argument
601 return fmin(v1, v2); in min()
604 extern float2 __attribute__((overloadable)) min(float2 v1, float2 v2) { in min() argument
605 return fmin(v1, v2); in min()
608 extern float2 __attribute__((overloadable)) min(float2 v1, float v2) { in min() argument
609 return fmin(v1, v2); in min()
612 extern float3 __attribute__((overloadable)) min(float3 v1, float3 v2) { in min() argument
613 return fmin(v1, v2); in min()
616 extern float3 __attribute__((overloadable)) min(float3 v1, float v2) { in min() argument
617 return fmin(v1, v2); in min()
620 extern float4 __attribute__((overloadable)) min(float4 v1, float4 v2) { in min() argument
621 return fmin(v1, v2); in min()
624 extern float4 __attribute__((overloadable)) min(float4 v1, float v2) { in min() argument
625 return fmin(v1, v2); in min()