Lines Matching refs:v1
114 extern float __attribute__((overloadable)) fmax(float v1, float v2) { in fmax() argument
115 return v1 > v2 ? v1 : v2; in fmax()
118 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() argument
120 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
121 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
125 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() argument
127 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
128 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
129 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
133 extern float4 __attribute__((overloadable)) fmax(float4 v1, float4 v2) { in fmax() argument
135 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
136 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
137 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
138 r.w = v1.w > v2.w ? v1.w : v2.w; in fmax()
142 extern float2 __attribute__((overloadable)) fmax(float2 v1, float v2) { in fmax() argument
144 r.x = v1.x > v2 ? v1.x : v2; in fmax()
145 r.y = v1.y > v2 ? v1.y : v2; in fmax()
149 extern float3 __attribute__((overloadable)) fmax(float3 v1, float v2) { in fmax() argument
151 r.x = v1.x > v2 ? v1.x : v2; in fmax()
152 r.y = v1.y > v2 ? v1.y : v2; in fmax()
153 r.z = v1.z > v2 ? v1.z : v2; in fmax()
157 extern float4 __attribute__((overloadable)) fmax(float4 v1, float v2) { in fmax() argument
159 r.x = v1.x > v2 ? v1.x : v2; in fmax()
160 r.y = v1.y > v2 ? v1.y : v2; in fmax()
161 r.z = v1.z > v2 ? v1.z : v2; in fmax()
162 r.w = v1.w > v2 ? v1.w : v2; in fmax()
166 extern float __attribute__((overloadable)) fmin(float v1, float v2) { in fmin() argument
167 return v1 < v2 ? v1 : v2; in fmin()
174 extern float2 __attribute__((overloadable)) fmin(float2 v1, float2 v2) { in fmin() argument
176 r.x = v1.x < v2.x ? v1.x : v2.x; in fmin()
177 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin()
181 extern float3 __attribute__((overloadable)) fmin(float3 v1, float3 v2) { in fmin() argument
183 r.x = v1.x < v2.x ? v1.x : v2.x; in fmin()
184 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin()
185 r.z = v1.z < v2.z ? v1.z : v2.z; in fmin()
189 extern float4 __attribute__((overloadable)) fmin(float4 v1, float4 v2) { in fmin() argument
191 r.x = v1.x < v2.x ? v1.x : v2.x; in fmin()
192 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin()
193 r.z = v1.z < v2.z ? v1.z : v2.z; in fmin()
194 r.w = v1.w < v2.w ? v1.w : v2.w; in fmin()
198 extern float2 __attribute__((overloadable)) fmin(float2 v1, float v2) { in fmin() argument
200 r.x = v1.x < v2 ? v1.x : v2; in fmin()
201 r.y = v1.y < v2 ? v1.y : v2; in fmin()
205 extern float3 __attribute__((overloadable)) fmin(float3 v1, float v2) { in fmin() argument
207 r.x = v1.x < v2 ? v1.x : v2; in fmin()
208 r.y = v1.y < v2 ? v1.y : v2; in fmin()
209 r.z = v1.z < v2 ? v1.z : v2; in fmin()
213 extern float4 __attribute__((overloadable)) fmin(float4 v1, float v2) { in fmin() argument
215 r.x = v1.x < v2 ? v1.x : v2; in fmin()
216 r.y = v1.y < v2 ? v1.y : v2; in fmin()
217 r.z = v1.z < v2 ? v1.z : v2; in fmin()
218 r.w = v1.w < v2 ? v1.w : v2; in fmin()
227 extern char __attribute__((overloadable)) max(char v1, char v2) { in max() argument
228 return v1 > v2 ? v1 : v2; in max()
231 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { in max() argument
233 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
234 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
238 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { in max() argument
240 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
241 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
242 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
246 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { in max() argument
248 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
249 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
250 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
251 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
255 extern short __attribute__((overloadable)) max(short v1, short v2) { in max() argument
256 return v1 > v2 ? v1 : v2; in max()
259 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { in max() argument
261 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
262 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
266 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { in max() argument
268 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
269 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
270 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
274 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { in max() argument
276 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
277 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
278 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
279 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
283 extern int __attribute__((overloadable)) max(int v1, int v2) { in max() argument
284 return v1 > v2 ? v1 : v2; in max()
287 extern int2 __attribute__((overloadable)) max(int2 v1, int2 v2) { in max() argument
289 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
290 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
294 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { in max() argument
296 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
297 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
298 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
302 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { in max() argument
304 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
305 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
306 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
307 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
311 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { in max() argument
312 return v1 > v2 ? v1 : v2; in max()
315 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { in max() argument
317 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
318 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
322 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { in max() argument
324 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
325 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
326 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
330 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { in max() argument
332 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
333 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
334 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
335 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
339 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { in max() argument
340 return v1 > v2 ? v1 : v2; in max()
343 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { in max() argument
345 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
346 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
350 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { in max() argument
352 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
353 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
354 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
358 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { in max() argument
360 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
361 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
362 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
363 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
367 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { in max() argument
368 return v1 > v2 ? v1 : v2; in max()
371 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { in max() argument
373 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
374 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
378 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { in max() argument
380 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
381 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
382 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
386 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { in max() argument
388 r.x = v1.x > v2.x ? v1.x : v2.x; in max()
389 r.y = v1.y > v2.y ? v1.y : v2.y; in max()
390 r.z = v1.z > v2.z ? v1.z : v2.z; in max()
391 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
395 extern float __attribute__((overloadable)) max(float v1, float v2) { in max() argument
396 return fmax(v1, v2); in max()
399 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { in max() argument
400 return fmax(v1, v2); in max()
403 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { in max() argument
404 return fmax(v1, v2); in max()
407 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { in max() argument
408 return fmax(v1, v2); in max()
411 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { in max() argument
412 return fmax(v1, v2); in max()
415 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { in max() argument
416 return fmax(v1, v2); in max()
419 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { in max() argument
420 return fmax(v1, v2); in max()
428 extern int8_t __attribute__((overloadable)) min(int8_t v1, int8_t v2) { in min() argument
429 return v1 < v2 ? v1 : v2; in min()
432 extern char2 __attribute__((overloadable)) min(char2 v1, char2 v2) { in min() argument
434 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
435 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
439 extern char3 __attribute__((overloadable)) min(char3 v1, char3 v2) { in min() argument
441 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
442 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
443 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
447 extern char4 __attribute__((overloadable)) min(char4 v1, char4 v2) { in min() argument
449 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
450 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
451 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
452 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
456 extern int16_t __attribute__((overloadable)) min(int16_t v1, int16_t v2) { in min() argument
457 return v1 < v2 ? v1 : v2; in min()
460 extern short2 __attribute__((overloadable)) min(short2 v1, short2 v2) { in min() argument
462 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
463 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
467 extern short3 __attribute__((overloadable)) min(short3 v1, short3 v2) { in min() argument
469 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
470 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
471 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
475 extern short4 __attribute__((overloadable)) min(short4 v1, short4 v2) { in min() argument
477 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
478 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
479 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
480 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
484 extern int32_t __attribute__((overloadable)) min(int32_t v1, int32_t v2) { in min() argument
485 return v1 < v2 ? v1 : v2; in min()
488 extern int2 __attribute__((overloadable)) min(int2 v1, int2 v2) { in min() argument
490 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
491 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
495 extern int3 __attribute__((overloadable)) min(int3 v1, int3 v2) { in min() argument
497 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
498 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
499 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
503 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) { in min() argument
505 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
506 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
507 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
508 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
512 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { in min() argument
513 return v1 < v2 ? v1 : v2; in min()
516 extern uchar2 __attribute__((overloadable)) min(uchar2 v1, uchar2 v2) { in min() argument
518 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
519 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
523 extern uchar3 __attribute__((overloadable)) min(uchar3 v1, uchar3 v2) { in min() argument
525 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
526 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
527 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
531 extern uchar4 __attribute__((overloadable)) min(uchar4 v1, uchar4 v2) { in min() argument
533 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
534 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
535 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
536 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
540 extern ushort __attribute__((overloadable)) min(ushort v1, ushort v2) { in min() argument
541 return v1 < v2 ? v1 : v2; in min()
544 extern ushort2 __attribute__((overloadable)) min(ushort2 v1, ushort2 v2) { in min() argument
546 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
547 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
551 extern ushort3 __attribute__((overloadable)) min(ushort3 v1, ushort3 v2) { in min() argument
553 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
554 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
555 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
559 extern ushort4 __attribute__((overloadable)) min(ushort4 v1, ushort4 v2) { in min() argument
561 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
562 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
563 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
564 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
568 extern uint __attribute__((overloadable)) min(uint v1, uint v2) { in min() argument
569 return v1 < v2 ? v1 : v2; in min()
572 extern uint2 __attribute__((overloadable)) min(uint2 v1, uint2 v2) { in min() argument
574 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
575 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
579 extern uint3 __attribute__((overloadable)) min(uint3 v1, uint3 v2) { in min() argument
581 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
582 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
583 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
587 extern uint4 __attribute__((overloadable)) min(uint4 v1, uint4 v2) { in min() argument
589 r.x = v1.x < v2.x ? v1.x : v2.x; in min()
590 r.y = v1.y < v2.y ? v1.y : v2.y; in min()
591 r.z = v1.z < v2.z ? v1.z : v2.z; in min()
592 r.w = v1.w < v2.w ? v1.w : v2.w; in min()
596 extern float __attribute__((overloadable)) min(float v1, float v2) { in min() argument
597 return fmin(v1, v2); in min()
600 extern float2 __attribute__((overloadable)) min(float2 v1, float2 v2) { in min() argument
601 return fmin(v1, v2); in min()
604 extern float2 __attribute__((overloadable)) min(float2 v1, float v2) { in min() argument
605 return fmin(v1, v2); in min()
608 extern float3 __attribute__((overloadable)) min(float3 v1, float3 v2) { in min() argument
609 return fmin(v1, v2); in min()
612 extern float3 __attribute__((overloadable)) min(float3 v1, float v2) { in min() argument
613 return fmin(v1, v2); in min()
616 extern float4 __attribute__((overloadable)) min(float4 v1, float4 v2) { in min() argument
617 return fmin(v1, v2); in min()
620 extern float4 __attribute__((overloadable)) min(float4 v1, float v2) { in min() argument
621 return fmin(v1, v2); in min()