Home
last modified time | relevance | path

Searched refs:float3 (Results 1 – 3 of 3) sorted by relevance

/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
Dmono.rs20 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable
25 float3 mono = dot(f4.rgb, gMonoMult);
/development/samples/browseable/BasicRenderScript/src/rs/
Dsaturation.rs21 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable
31 float3 result = dot(f4.rgb, gMonoMult);
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
Dlevels.rs29 float3 pixel = convert_float4(in[0]).rgb;
34 pixel = pow(pixel, (float3)gamma);