Lines Matching refs:v2

5998 static char __attribute__((const, overloadable))max(char v1, char v2) {
5999 return (v1 > v2 ? v1 : v2);
6009 static uchar __attribute__((const, overloadable))max(uchar v1, uchar v2) {
6010 return (v1 > v2 ? v1 : v2);
6020 static short __attribute__((const, overloadable))max(short v1, short v2) {
6021 return (v1 > v2 ? v1 : v2);
6031 static ushort __attribute__((const, overloadable))max(ushort v1, ushort v2) {
6032 return (v1 > v2 ? v1 : v2);
6042 static int __attribute__((const, overloadable))max(int v1, int v2) {
6043 return (v1 > v2 ? v1 : v2);
6053 static uint __attribute__((const, overloadable))max(uint v1, uint v2) {
6054 return (v1 > v2 ? v1 : v2);
6064 static char2 __attribute__((const, overloadable))max(char2 v1, char2 v2) {
6066 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6067 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6078 static uchar2 __attribute__((const, overloadable))max(uchar2 v1, uchar2 v2) {
6080 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6081 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6092 static short2 __attribute__((const, overloadable))max(short2 v1, short2 v2) {
6094 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6095 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6106 static ushort2 __attribute__((const, overloadable))max(ushort2 v1, ushort2 v2) {
6108 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6109 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6120 static int2 __attribute__((const, overloadable))max(int2 v1, int2 v2) {
6122 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6123 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6134 static uint2 __attribute__((const, overloadable))max(uint2 v1, uint2 v2) {
6136 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6137 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6148 static char3 __attribute__((const, overloadable))max(char3 v1, char3 v2) {
6150 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6151 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6152 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6163 static uchar3 __attribute__((const, overloadable))max(uchar3 v1, uchar3 v2) {
6165 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6166 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6167 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6178 static short3 __attribute__((const, overloadable))max(short3 v1, short3 v2) {
6180 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6181 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6182 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6193 static ushort3 __attribute__((const, overloadable))max(ushort3 v1, ushort3 v2) {
6195 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6196 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6197 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6208 static int3 __attribute__((const, overloadable))max(int3 v1, int3 v2) {
6210 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6211 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6212 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6223 static uint3 __attribute__((const, overloadable))max(uint3 v1, uint3 v2) {
6225 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6226 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6227 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6238 static char4 __attribute__((const, overloadable))max(char4 v1, char4 v2) {
6240 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6241 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6242 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6243 tmp.w = (v1.w > v2.w ? v1.w : v2.w);
6254 static uchar4 __attribute__((const, overloadable))max(uchar4 v1, uchar4 v2) {
6256 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6257 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6258 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6259 tmp.w = (v1.w > v2.w ? v1.w : v2.w);
6270 static short4 __attribute__((const, overloadable))max(short4 v1, short4 v2) {
6272 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6273 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6274 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6275 tmp.w = (v1.w > v2.w ? v1.w : v2.w);
6286 static ushort4 __attribute__((const, overloadable))max(ushort4 v1, ushort4 v2) {
6288 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6289 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6290 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6291 tmp.w = (v1.w > v2.w ? v1.w : v2.w);
6302 static int4 __attribute__((const, overloadable))max(int4 v1, int4 v2) {
6304 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6305 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6306 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6307 tmp.w = (v1.w > v2.w ? v1.w : v2.w);
6318 static uint4 __attribute__((const, overloadable))max(uint4 v1, uint4 v2) {
6320 tmp.x = (v1.x > v2.x ? v1.x : v2.x);
6321 tmp.y = (v1.y > v2.y ? v1.y : v2.y);
6322 tmp.z = (v1.z > v2.z ? v1.z : v2.z);
6323 tmp.w = (v1.w > v2.w ? v1.w : v2.w);
6334 extern char __attribute__((const, overloadable))max(char v1, char v2);
6343 extern char2 __attribute__((const, overloadable))max(char2 v1, char2 v2);
6352 extern char3 __attribute__((const, overloadable))max(char3 v1, char3 v2);
6361 extern char4 __attribute__((const, overloadable))max(char4 v1, char4 v2);
6370 extern uchar __attribute__((const, overloadable))max(uchar v1, uchar v2);
6379 extern uchar2 __attribute__((const, overloadable))max(uchar2 v1, uchar2 v2);
6388 extern uchar3 __attribute__((const, overloadable))max(uchar3 v1, uchar3 v2);
6397 extern uchar4 __attribute__((const, overloadable))max(uchar4 v1, uchar4 v2);
6406 extern short __attribute__((const, overloadable))max(short v1, short v2);
6415 extern short2 __attribute__((const, overloadable))max(short2 v1, short2 v2);
6424 extern short3 __attribute__((const, overloadable))max(short3 v1, short3 v2);
6433 extern short4 __attribute__((const, overloadable))max(short4 v1, short4 v2);
6442 extern ushort __attribute__((const, overloadable))max(ushort v1, ushort v2);
6451 extern ushort2 __attribute__((const, overloadable))max(ushort2 v1, ushort2 v2);
6460 extern ushort3 __attribute__((const, overloadable))max(ushort3 v1, ushort3 v2);
6469 extern ushort4 __attribute__((const, overloadable))max(ushort4 v1, ushort4 v2);
6478 extern int __attribute__((const, overloadable))max(int v1, int v2);
6487 extern int2 __attribute__((const, overloadable))max(int2 v1, int2 v2);
6496 extern int3 __attribute__((const, overloadable))max(int3 v1, int3 v2);
6505 extern int4 __attribute__((const, overloadable))max(int4 v1, int4 v2);
6514 extern uint __attribute__((const, overloadable))max(uint v1, uint v2);
6523 extern uint2 __attribute__((const, overloadable))max(uint2 v1, uint2 v2);
6532 extern uint3 __attribute__((const, overloadable))max(uint3 v1, uint3 v2);
6541 extern uint4 __attribute__((const, overloadable))max(uint4 v1, uint4 v2);
6550 extern long __attribute__((const, overloadable))max(long v1, long v2);
6559 extern long2 __attribute__((const, overloadable))max(long2 v1, long2 v2);
6568 extern long3 __attribute__((const, overloadable))max(long3 v1, long3 v2);
6577 extern long4 __attribute__((const, overloadable))max(long4 v1, long4 v2);
6586 extern ulong __attribute__((const, overloadable))max(ulong v1, ulong v2);
6595 extern ulong2 __attribute__((const, overloadable))max(ulong2 v1, ulong2 v2);
6604 extern ulong3 __attribute__((const, overloadable))max(ulong3 v1, ulong3 v2);
6613 extern ulong4 __attribute__((const, overloadable))max(ulong4 v1, ulong4 v2);
6658 static char __attribute__((const, overloadable))min(char v1, char v2) {
6659 return (v1 < v2 ? v1 : v2);
6669 static uchar __attribute__((const, overloadable))min(uchar v1, uchar v2) {
6670 return (v1 < v2 ? v1 : v2);
6680 static short __attribute__((const, overloadable))min(short v1, short v2) {
6681 return (v1 < v2 ? v1 : v2);
6691 static ushort __attribute__((const, overloadable))min(ushort v1, ushort v2) {
6692 return (v1 < v2 ? v1 : v2);
6702 static int __attribute__((const, overloadable))min(int v1, int v2) {
6703 return (v1 < v2 ? v1 : v2);
6713 static uint __attribute__((const, overloadable))min(uint v1, uint v2) {
6714 return (v1 < v2 ? v1 : v2);
6724 static char2 __attribute__((const, overloadable))min(char2 v1, char2 v2) {
6726 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6727 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6738 static uchar2 __attribute__((const, overloadable))min(uchar2 v1, uchar2 v2) {
6740 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6741 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6752 static short2 __attribute__((const, overloadable))min(short2 v1, short2 v2) {
6754 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6755 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6766 static ushort2 __attribute__((const, overloadable))min(ushort2 v1, ushort2 v2) {
6768 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6769 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6780 static int2 __attribute__((const, overloadable))min(int2 v1, int2 v2) {
6782 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6783 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6794 static uint2 __attribute__((const, overloadable))min(uint2 v1, uint2 v2) {
6796 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6797 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6808 static char3 __attribute__((const, overloadable))min(char3 v1, char3 v2) {
6810 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6811 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6812 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6823 static uchar3 __attribute__((const, overloadable))min(uchar3 v1, uchar3 v2) {
6825 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6826 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6827 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6838 static short3 __attribute__((const, overloadable))min(short3 v1, short3 v2) {
6840 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6841 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6842 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6853 static ushort3 __attribute__((const, overloadable))min(ushort3 v1, ushort3 v2) {
6855 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6856 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6857 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6868 static int3 __attribute__((const, overloadable))min(int3 v1, int3 v2) {
6870 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6871 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6872 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6883 static uint3 __attribute__((const, overloadable))min(uint3 v1, uint3 v2) {
6885 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6886 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6887 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6898 static char4 __attribute__((const, overloadable))min(char4 v1, char4 v2) {
6900 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6901 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6902 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6903 tmp.w = (v1.w < v2.w ? v1.w : v2.w);
6914 static uchar4 __attribute__((const, overloadable))min(uchar4 v1, uchar4 v2) {
6916 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6917 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6918 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6919 tmp.w = (v1.w < v2.w ? v1.w : v2.w);
6930 static short4 __attribute__((const, overloadable))min(short4 v1, short4 v2) {
6932 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6933 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6934 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6935 tmp.w = (v1.w < v2.w ? v1.w : v2.w);
6946 static ushort4 __attribute__((const, overloadable))min(ushort4 v1, ushort4 v2) {
6948 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6949 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6950 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6951 tmp.w = (v1.w < v2.w ? v1.w : v2.w);
6962 static int4 __attribute__((const, overloadable))min(int4 v1, int4 v2) {
6964 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6965 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6966 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6967 tmp.w = (v1.w < v2.w ? v1.w : v2.w);
6978 static uint4 __attribute__((const, overloadable))min(uint4 v1, uint4 v2) {
6980 tmp.x = (v1.x < v2.x ? v1.x : v2.x);
6981 tmp.y = (v1.y < v2.y ? v1.y : v2.y);
6982 tmp.z = (v1.z < v2.z ? v1.z : v2.z);
6983 tmp.w = (v1.w < v2.w ? v1.w : v2.w);
6994 extern char __attribute__((const, overloadable))min(char v1, char v2);
7003 extern char2 __attribute__((const, overloadable))min(char2 v1, char2 v2);
7012 extern char3 __attribute__((const, overloadable))min(char3 v1, char3 v2);
7021 extern char4 __attribute__((const, overloadable))min(char4 v1, char4 v2);
7030 extern uchar __attribute__((const, overloadable))min(uchar v1, uchar v2);
7039 extern uchar2 __attribute__((const, overloadable))min(uchar2 v1, uchar2 v2);
7048 extern uchar3 __attribute__((const, overloadable))min(uchar3 v1, uchar3 v2);
7057 extern uchar4 __attribute__((const, overloadable))min(uchar4 v1, uchar4 v2);
7066 extern short __attribute__((const, overloadable))min(short v1, short v2);
7075 extern short2 __attribute__((const, overloadable))min(short2 v1, short2 v2);
7084 extern short3 __attribute__((const, overloadable))min(short3 v1, short3 v2);
7093 extern short4 __attribute__((const, overloadable))min(short4 v1, short4 v2);
7102 extern ushort __attribute__((const, overloadable))min(ushort v1, ushort v2);
7111 extern ushort2 __attribute__((const, overloadable))min(ushort2 v1, ushort2 v2);
7120 extern ushort3 __attribute__((const, overloadable))min(ushort3 v1, ushort3 v2);
7129 extern ushort4 __attribute__((const, overloadable))min(ushort4 v1, ushort4 v2);
7138 extern int __attribute__((const, overloadable))min(int v1, int v2);
7147 extern int2 __attribute__((const, overloadable))min(int2 v1, int2 v2);
7156 extern int3 __attribute__((const, overloadable))min(int3 v1, int3 v2);
7165 extern int4 __attribute__((const, overloadable))min(int4 v1, int4 v2);
7174 extern uint __attribute__((const, overloadable))min(uint v1, uint v2);
7183 extern uint2 __attribute__((const, overloadable))min(uint2 v1, uint2 v2);
7192 extern uint3 __attribute__((const, overloadable))min(uint3 v1, uint3 v2);
7201 extern uint4 __attribute__((const, overloadable))min(uint4 v1, uint4 v2);
7210 extern long __attribute__((const, overloadable))min(long v1, long v2);
7219 extern long2 __attribute__((const, overloadable))min(long2 v1, long2 v2);
7228 extern long3 __attribute__((const, overloadable))min(long3 v1, long3 v2);
7237 extern long4 __attribute__((const, overloadable))min(long4 v1, long4 v2);
7246 extern ulong __attribute__((const, overloadable))min(ulong v1, ulong v2);
7255 extern ulong2 __attribute__((const, overloadable))min(ulong2 v1, ulong2 v2);
7264 extern ulong3 __attribute__((const, overloadable))min(ulong3 v1, ulong3 v2);
7273 extern ulong4 __attribute__((const, overloadable))min(ulong4 v1, ulong4 v2);