/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_blur.rs | 30 float4 __attribute__((kernel)) convert1_uToF(uchar v) { 31 float4 r = rsUnpackColor8888(v); 35 float4 __attribute__((kernel)) convert4_uToF(uchar4 v) { 39 uchar __attribute__((kernel)) convert1_fToU(float4 v) { 44 uchar4 __attribute__((kernel)) convert4_fToU(float4 v) { 73 float4 __attribute__((kernel)) vert(uint32_t x, uint32_t y) { 74 float4 blurredPixel = 0; 78 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 84 float4 __attribute__((kernel)) horz(uint32_t x, uint32_t y) { 85 float4 blurredPixel = 0 [all...] |
/external/clang/test/CodeGen/ |
ext-vector.c | 3 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef 9 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 }; 12 const float4 bar = (float4){ 1.0, 2.0, 3.0, __builtin_inff() }; 16 float4 test1(float4 V) { 21 float4 vec4, vec4_2; 41 void test3(float4 *out) { 42 *out = ((float4) {1.0f, 2.0f, 3.0f, 4.0f }) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestCross.rs | 29 float4 __attribute__((kernel)) testCrossFloat4Float4Float4(float4 inLeftVector, unsigned int x) { 30 float4 inRightVector = rsGetElementAt_float4(gAllocInRightVector, x);
|
TestNextafter.rs | 39 float4 __attribute__((kernel)) testNextafterFloat4Float4Float4(float4 inV, unsigned int x) { 40 float4 inTarget = rsGetElementAt_float4(gAllocInTarget, x);
|
TestModf.rs | 45 float4 __attribute__((kernel)) testModfFloat4Float4Float4(float4 inV, unsigned int x) { 46 float4 outIntegralPart = 0; 47 float4 out = modf(inV, &outIntegralPart);
|
TestRemquo.rs | 49 float4 __attribute__((kernel)) testRemquoFloat4Float4Int4Float4(float4 inNumerator, unsigned int x) { 50 float4 inDenominator = rsGetElementAt_float4(gAllocInDenominator, x); 52 float4 out = remquo(inNumerator, inDenominator, &outQuotient);
|
TestLgamma.rs | 35 float4 __attribute__((kernel)) testLgammaFloat4Float4(float4 inV) { 61 float4 __attribute__((kernel)) testLgammaFloat4Int4Float4(float4 inV, unsigned int x) { 63 float4 out = lgamma(inV, &outSignOfGamma);
|
TestFrexp.rs | 45 float4 __attribute__((kernel)) testFrexpFloat4Int4Float4(float4 inV, unsigned int x) { 47 float4 out = frexp(inV, &outExponent);
|
/external/swiftshader/src/Renderer/ |
Vertex.hpp | 74 float4 C[2]; // Diffuse and specular color 82 float4 v[MAX_VERTEX_OUTPUTS]; // Generic components using semantic declaration
|
VertexProcessor.hpp | 153 float4 transformT[12][4]; 154 float4 cameraTransformT[12][4]; 155 float4 normalTransformT[12][4]; 156 float4 textureTransform[8][4]; 158 float4 lightPosition[8]; 159 float4 lightAmbient[8]; 160 float4 lightSpecular[8]; 161 float4 lightDiffuse[8]; 162 float4 attenuationConstant[8]; 163 float4 attenuationLinear[8] [all...] |
/frameworks/rs/script_api/include/ |
rs_matrix.rsh | 69 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, 70 float4* bottom, float4* near, float4* far) { 119 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* righ, float4* top, 120 float4* bottom, float4* near, float4* far) [all...] |
/prebuilts/sdk/renderscript/include/ |
rs_matrix.rsh | 69 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, 70 float4* bottom, float4* near, float4* far) { 119 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* righ, float4* top, 120 float4* bottom, float4* near, float4* far) [all...] |
/external/clang/test/PCH/ |
types.h | 27 typedef float float4 __attribute__((vector_size(16))); typedef
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
greyscale.rs | 23 float4 f4 = rsUnpackColor8888(v_in); 30 float4 f4 = convert_float4(v_in);
|
threshold.rs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
greyscale.rs | 23 float4 f4 = rsUnpackColor8888(v_in); 30 float4 f4 = convert_float4(v_in);
|
threshold.rs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
greyscale.rs | 23 float4 f4 = rsUnpackColor8888(v_in); 30 float4 f4 = convert_float4(v_in);
|
threshold.rs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
/frameworks/rs/tests/lldb/cpp/InfiniteLoop/ |
infiniteloop.rs | 37 float4 gColor = {0.299f, 0.587f, 0.114f, 1.f}; 45 float4 out = rsUnpackColor8888(in);
|
/frameworks/rs/tests/lldb/cpp/WaitAttach/ |
simple.rs | 20 float4 gColor = {0.299f, 0.587f, 0.114f, 1.f}; 28 float4 temp = rsUnpackColor8888(in);
|
/frameworks/rs/tests/lldb/java/DebugWaitAttach/src/rs/ |
simple.rs | 20 float4 gColor = {0.299f, 0.587f, 0.114f, 1.f}; 28 float4 temp = rsUnpackColor8888(in);
|
/frameworks/rs/tests/lldb/jni/DebugWaitAttach/jnidebugwaitattach/ |
simple.rs | 20 float4 gColor = {0.299f, 0.587f, 0.114f, 1.f}; 28 float4 temp = rsUnpackColor8888(in);
|
/frameworks/rs/driver/runtime/ |
rs_sample.c | 69 static inline float4 __attribute__((overloadable)) 106 static inline float4 __attribute__((overloadable)) 110 float4 r = {p[x], p[x+1], p[x+2], p[x+3]}; 126 static float4 __attribute__((overloadable)) 133 float4 ret = {0.f, 0.f, 0.f, r}; 136 static float4 __attribute__((overloadable)) 143 float4 ret = {r, r, r, 1.f}; 146 static float4 __attribute__((overloadable)) 153 float4 ret = {r.x, r.x, r.x, r.y}; 156 static float4 __attribute__((overloadable) [all...] |
/external/clang/test/Sema/ |
ext_vector_casts.c | 9 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef 18 float4 vec4, vec4_2; 29 vec4 = (float4)5.0f; 30 vec4 = (float4)5; 31 vec4 = (float4)vec4_3; 42 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' (vector of 4 'float' values) and 'float2' (vector of 2 'float' values)}} 47 vec4 %= 4; // expected-error {{invalid operands to binary expression ('float4' (vector of 4 'float' values) and 'int')}} 49 ivec4 += vec4; // expected-error {{cannot convert between vector values of different size ('int4' (vector of 4 'int' values) and 'float4' (vector of 4 'float' values))}}
|