1 #pragma version(1) 2 #pragma rs java_package_name(foo) 3 4 void i2f() { 5 int2 i; 6 float2 f; 7 f = (float2)i; 8 f = f * i; 9 } 10 11 void f2i() { 12 int3 i; 13 float3 f; 14 i = (int3)f; 15 i = i * f; 16 } 17 18 void c2uc() { 19 char4 c; 20 uchar4 u; 21 u = (uchar4) c; 22 } 23 24 uchar4 bar(uchar4 u) { 25 return u; 26 } 27 28 void c2uc_bar() { 29 char4 c; 30 uchar4 u; 31 u = bar((uchar4) c); 32 } 33 34