Home
last modified time | relevance | path

Searched refs:rsSample (Results 1 – 23 of 23) sorted by relevance

/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh57 // TODO: rsSample does not work with element type float4.
58 const float4 fout = rsSample(in_alloc, sampler, new_coord);
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
Dsample.rs40 out->xyz = convert_uchar3(rsSample(sourceAlloc, allocSampler, uv * 2.0f).xyz * 255.0f);
/frameworks/rs/script_api/
Drs_allocation_data.spec27 <li>For getting values through a sampler, use @rsSample.</li>
/frameworks/rs/driver/runtime/
Drs_sample.c530 rsSample(rs_allocation a, rs_sampler s, float uv, float lod) { in rsSample() function
576 rsSample(rs_allocation a, rs_sampler s, float location) { in rsSample() function
577 return rsSample(a, s, location, 0); in rsSample()
582 rsSample(rs_allocation a, rs_sampler s, float2 uv, float lod) { in rsSample() function
629 rsSample(rs_allocation a, rs_sampler s, float2 uv) { in rsSample() function
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye_approx.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
Dfisheye.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye_approx.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
Dfisheye.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dfisheye_approx.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
Dfisheye.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rs413 f4 += rsSample(allocDst, samplerNonNull, f);
414 f4 += rsSample(allocDst, samplerNonNull, f, f);
415 f4 += rsSample(allocDst, samplerNonNull, f2);
416 f4 += rsSample(allocDst, samplerNonNull, f2, f);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rs415 f4 += rsSample(allocDst, samplerNonNull, f);
416 f4 += rsSample(allocDst, samplerNonNull, f, f);
417 f4 += rsSample(allocDst, samplerNonNull, f2);
418 f4 += rsSample(allocDst, samplerNonNull, f2, f);
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs395 f4 += rsSample(allocDst, samplerNonNull, f);
396 f4 += rsSample(allocDst, samplerNonNull, f, f);
397 f4 += rsSample(allocDst, samplerNonNull, f2);
398 f4 += rsSample(allocDst, samplerNonNull, f2, f);
/frameworks/rs/script_api/include/
Drs_allocation_data.rsh29 * - For getting values through a sampler, use rsSample.
2644 * rsSample: Sample a value from a texture allocation
2661 rsSample(rs_allocation a, rs_sampler s, float location);
2666 rsSample(rs_allocation a, rs_sampler s, float location, float lod);
2671 rsSample(rs_allocation a, rs_sampler s, float2 location);
2676 rsSample(rs_allocation a, rs_sampler s, float2 location, float lod);
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rs3309 *(float4*)buf2143 = rsSample(*(rs_allocation*)buf2144, *(rs_sampler*)buf2145, *(float*)buf2146);
3310 …*(float4*)buf2147 = rsSample(*(rs_allocation*)buf2148, *(rs_sampler*)buf2149, *(float*)buf2150, *(…
3311 … *(float4*)buf2152 = rsSample(*(rs_allocation*)buf2153, *(rs_sampler*)buf2154, *(float2*)buf2155);
3312 …*(float4*)buf2156 = rsSample(*(rs_allocation*)buf2157, *(rs_sampler*)buf2158, *(float2*)buf2159, *…
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rs3469 *(float4*)buf2251 = rsSample(*(rs_allocation*)buf2252, *(rs_sampler*)buf2253, *(float*)buf2254);
3470 …*(float4*)buf2255 = rsSample(*(rs_allocation*)buf2256, *(rs_sampler*)buf2257, *(float*)buf2258, *(…
3471 … *(float4*)buf2260 = rsSample(*(rs_allocation*)buf2261, *(rs_sampler*)buf2262, *(float2*)buf2263);
3472 …*(float4*)buf2264 = rsSample(*(rs_allocation*)buf2265, *(rs_sampler*)buf2266, *(float2*)buf2267, *…
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rs4059 *(float4*)buf2323 = rsSample(*(rs_allocation*)buf2324, *(rs_sampler*)buf2325, *(float*)buf2326);
4060 …*(float4*)buf2327 = rsSample(*(rs_allocation*)buf2328, *(rs_sampler*)buf2329, *(float*)buf2330, *(…
4061 … *(float4*)buf2332 = rsSample(*(rs_allocation*)buf2333, *(rs_sampler*)buf2334, *(float2*)buf2335);
4062 …*(float4*)buf2336 = rsSample(*(rs_allocation*)buf2337, *(rs_sampler*)buf2338, *(float2*)buf2339, *…
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rs4339 *(float4*)buf2547 = rsSample(*(rs_allocation*)buf2548, *(rs_sampler*)buf2549, *(float*)buf2550);
4340 …*(float4*)buf2551 = rsSample(*(rs_allocation*)buf2552, *(rs_sampler*)buf2553, *(float*)buf2554, *(…
4341 … *(float4*)buf2556 = rsSample(*(rs_allocation*)buf2557, *(rs_sampler*)buf2558, *(float2*)buf2559);
4342 …*(float4*)buf2560 = rsSample(*(rs_allocation*)buf2561, *(rs_sampler*)buf2562, *(float2*)buf2563, *…
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rs4365 *(float4*)buf2566 = rsSample(*(rs_allocation*)buf2567, *(rs_sampler*)buf2568, *(float*)buf2569);
4366 …*(float4*)buf2570 = rsSample(*(rs_allocation*)buf2571, *(rs_sampler*)buf2572, *(float*)buf2573, *(…
4367 … *(float4*)buf2575 = rsSample(*(rs_allocation*)buf2576, *(rs_sampler*)buf2577, *(float2*)buf2578);
4368 …*(float4*)buf2579 = rsSample(*(rs_allocation*)buf2580, *(rs_sampler*)buf2581, *(float2*)buf2582, *…
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rs5308 *(float4*)buf3201 = rsSample(*(rs_allocation*)buf3202, *(rs_sampler*)buf3203, *(float*)buf3204);
5309 …*(float4*)buf3205 = rsSample(*(rs_allocation*)buf3206, *(rs_sampler*)buf3207, *(float*)buf3208, *(…
5310 … *(float4*)buf3210 = rsSample(*(rs_allocation*)buf3211, *(rs_sampler*)buf3212, *(float2*)buf3213);
5311 …*(float4*)buf3214 = rsSample(*(rs_allocation*)buf3215, *(rs_sampler*)buf3216, *(float2*)buf3217, *…
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rs6152 *(float4*)buf3972 = rsSample(*(rs_allocation*)buf3973, *(rs_sampler*)buf3974, *(float*)buf3975);
6153 …*(float4*)buf3976 = rsSample(*(rs_allocation*)buf3977, *(rs_sampler*)buf3978, *(float*)buf3979, *(…
6154 … *(float4*)buf3981 = rsSample(*(rs_allocation*)buf3982, *(rs_sampler*)buf3983, *(float2*)buf3984);
6155 …*(float4*)buf3985 = rsSample(*(rs_allocation*)buf3986, *(rs_sampler*)buf3987, *(float2*)buf3988, *…
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rs6208 *(float4*)buf3921 = rsSample(*(rs_allocation*)buf3922, *(rs_sampler*)buf3923, *(float*)buf3924);
6209 …*(float4*)buf3925 = rsSample(*(rs_allocation*)buf3926, *(rs_sampler*)buf3927, *(float*)buf3928, *(…
6210 … *(float4*)buf3930 = rsSample(*(rs_allocation*)buf3931, *(rs_sampler*)buf3932, *(float2*)buf3933);
6211 …*(float4*)buf3934 = rsSample(*(rs_allocation*)buf3935, *(rs_sampler*)buf3936, *(float2*)buf3937, *…
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rs8561 *(float4*)buf5604 = rsSample(*(rs_allocation*)buf5605, *(rs_sampler*)buf5606, *(float*)buf5607);
8562 …*(float4*)buf5608 = rsSample(*(rs_allocation*)buf5609, *(rs_sampler*)buf5610, *(float*)buf5611, *(…
8563 … *(float4*)buf5613 = rsSample(*(rs_allocation*)buf5614, *(rs_sampler*)buf5615, *(float2*)buf5616);
8564 …*(float4*)buf5617 = rsSample(*(rs_allocation*)buf5618, *(rs_sampler*)buf5619, *(float2*)buf5620, *…