Searched refs:rs (Results 76 - 100 of 652) sorted by relevance

1234567891011>>

/frameworks/rs/tests/lldb/cpp/BranchingFunCalls/
H A DBranchingFunCalls.cpp24 sp<RS> rs = new RS(); local
26 rs->init("/data/rscache", RS_INIT_LOW_LATENCY | RS_INIT_WAIT_FOR_ATTACH);
28 auto e = Element::I32(rs);
29 Type::Builder tb(rs, e);
34 auto a = Allocation::createTyped(rs, t);
35 auto b = Allocation::createTyped(rs, t);
45 sp<ScriptC_scalars> s = new ScriptC_scalars(rs);
48 rs->finish();
/frameworks/rs/tests/lldb/cpp/WaitAttach/
H A DAndroid.mk8 simple.rs
10 include frameworks/rs/tests/lldb/cpp/common.mk
19 simple.rs
21 include frameworks/rs/tests/lldb/cpp/common.mk
/frameworks/rs/tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/
H A Djnibranchingfuncalls.cpp31 sp<RS> rs = new RS(); local
34 rs->init(path, RS_INIT_LOW_LATENCY | RS_INIT_WAIT_FOR_ATTACH);
37 auto e = Element::I32(rs);
38 Type::Builder tb(rs, e);
43 auto a = Allocation::createTyped(rs, t);
44 auto b = Allocation::createTyped(rs, t);
54 sp<ScriptC_scalars> s = new ScriptC_scalars(rs);
57 rs->finish();
/frameworks/rs/tests/lldb/jni/DebugWaitAttach/jnidebugwaitattach/
H A Djnidebugwaitattach.cpp31 sp<RS> rs = new RS(); local
34 rs->init(path, RS_INIT_LOW_LATENCY | RS_INIT_WAIT_FOR_ATTACH);
37 auto e = Element::RGBA_8888(rs);
38 Type::Builder tb(rs, e);
43 auto a = Allocation::createTyped(rs, t);
44 auto b = Allocation::createTyped(rs, t);
47 sp<ScriptC_simple> s = new ScriptC_simple(rs);
55 rs->finish();
/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java129 static synchronized BaseObj internalCreate(RenderScript rs, IndexEntry entry) { argument
139 long objectID = rs.nFileA3DGetEntryByIndex(entry.mID, entry.mIndex);
146 entry.mLoadedObj = new Mesh(objectID, rs);
157 IndexEntry(RenderScript rs, int index, long id, String name, EntryType type) { argument
158 mRS = rs;
170 FileA3D(long id, RenderScript rs, InputStream stream) { argument
171 super(id, rs);
226 * @param rs Context to which the object will belong.
232 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { argument
233 rs
253 createFromFile(RenderScript rs, String path) argument
273 createFromFile(RenderScript rs, File path) argument
287 createFromResource(RenderScript rs, Resources res, int id) argument
[all...]
H A DFont.java151 Font(long id, RenderScript rs) { argument
152 super(id, rs);
160 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { argument
161 rs.validate();
163 long fontId = rs.nFontCreateFromFile(path, pointSize, dpi);
168 Font rsFont = new Font(fontId, rs);
176 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { argument
177 return createFromFile(rs, res, path.getAbsolutePath(), pointSize);
183 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { argument
184 rs
199 createFromResource(RenderScript rs, Resources res, int id, float pointSize) argument
239 create(RenderScript rs, Resources res, String familyName, Style fontStyle, float pointSize) argument
[all...]
H A DScriptIntrinsic3DLUT.java31 private ScriptIntrinsic3DLUT(long id, RenderScript rs, Element e) { argument
32 super(id, rs);
41 * @param rs The RenderScript context
46 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { argument
47 long id = rs.nScriptIntrinsicCreate(8, e.getID(rs));
49 if (!e.isCompatible(Element.U8_4(rs))) {
53 return new ScriptIntrinsic3DLUT(id, rs, e);
/frameworks/rs/tests/cpp_api/cppbasic/
H A Dcompute.cpp11 sp<RS> rs = new RS(); local
12 printf("New RS %p\n", rs.get());
15 bool r = rs->init("/system/bin");
18 sp<const Element> e = Element::RGBA_8888(rs);
21 Type::Builder tb(rs, e);
28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
31 sp<Allocation> ain = Allocation::createTyped(rs, t);
32 sp<Allocation> aout = Allocation::createTyped(rs, t);
35 sp<ScriptC_mono> sc = new ScriptC_mono(rs);
43 sp<const Sampler> samp = Sampler::CLAMP_NEAREST(rs);
[all...]
/frameworks/rs/tests/cpp_api/cppbasic-shared/
H A Dcompute.cpp11 sp<RS> rs = new RS(); local
12 printf("New RS %p\n", rs.get());
15 bool r = rs->init("/system/bin");
18 sp<const Element> e = Element::RGBA_8888(rs);
21 Type::Builder tb(rs, e);
28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
31 sp<Allocation> ain = Allocation::createTyped(rs, t);
32 sp<Allocation> aout = Allocation::createTyped(rs, t);
35 sp<ScriptC_mono> sc = new ScriptC_mono(rs);
43 sp<const Sampler> samp = Sampler::CLAMP_NEAREST(rs);
[all...]
H A DAndroid.mk9 mono.rs \
15 include frameworks/rs/tests/cpp_api/common.mk
/frameworks/rs/tests/cpp_api/cppallocation/
H A Dcompute.cpp20 sp<RS> rs = new RS(); local
22 if (!rs->init("/system/bin")) {
27 sp<const Element> e = Element::U32(rs);
29 Type::Builder tb(rs, e);
33 sp<Allocation> ain = Allocation::createTyped(rs, t);
34 sp<Allocation> aout = Allocation::createTyped(rs, t);
36 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs);
H A DAndroid.mk10 multiply.rs \
18 include frameworks/rs/tests/cpp_api/common.mk
/frameworks/rs/tests/lldb/jni/InfiniteLoop/jniinfiniteloop/
H A Djniinfiniteloop.cpp32 sp<RS> rs = new RS(); local
35 rs->init(path, RS_INIT_LOW_LATENCY);
38 auto e = Element::RGBA_8888(rs);
39 Type::Builder tb(rs, e);
44 auto a = Allocation::createTyped(rs, t);
45 auto b = Allocation::createTyped(rs, t);
47 sp<ScriptC_infiniteloop> s = new ScriptC_infiniteloop(rs);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUT.java35 protected ScriptIntrinsicLUT(long id, RenderScript rs) { argument
36 super(id, rs);
44 * @param rs The RenderScript context
49 public static ScriptIntrinsicLUT create(RenderScript rs, Element e) { argument
51 boolean mUseIncSupp = rs.isUseNative() &&
54 id = rs.nScriptIntrinsicCreate(3, e.getID(rs), mUseIncSupp);
56 ScriptIntrinsicLUT si = new ScriptIntrinsicLUT(id, rs);
58 si.mTables = Allocation.createSized(rs, Element.U8(rs), 102
[all...]
/frameworks/rs/cpp/
H A DSampler.cpp23 Sampler::Sampler(sp<RS> rs, void* id): argument
24 BaseObj(id, rs)
33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, argument
35 BaseObj(id, rs)
64 sp<Sampler> Sampler::create(const sp<RS>& rs, RsSamplerValue min, RsSamplerValue mag, argument
67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT,
69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy);
72 #define CREATE_SAMPLER(N, MIN, MAG, WRAPS, WRAPT) sp<const Sampler> Sampler::N(const sp<RS> &rs) { \
73 if (rs->mSamplers.N == nullptr) { \
74 rs
[all...]
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
H A DBenchmark.java17 package com.example.android.rs.computebench;
26 public Benchmark(RenderScript rs, Resources res) { argument
27 mRS = rs;
/frameworks/av/cmds/stagefright/filters/
H A Dargbtorgba.rs18 #pragma rs java_package_name(com.android.rs.cppbasic)
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
H A DDriverRS.java.template34 public void init(RenderScriptGL rs, Resources res) {
35 mRS = rs;
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/
H A DDriverRS.java.template34 public void init(RenderScriptGL rs, Resources res) {
35 mRS = rs;
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
H A Dmulti_kernel.rs19 #pragma rs java_package_name(com.android.rs.rsov.test)
/frameworks/rs/tests/cpp_api/cpp-globalguard/
H A DAndroid.mk10 multiply.rs \
18 include frameworks/rs/tests/cpp_api/common.mk
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/
H A DAndroid.mk9 mono.rs \
15 include frameworks/rs/tests/cpp_api/common.mk
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
H A Dlaunchtest.rs18 #pragma rs java_package_name(com.example.android.rs.computeperf)
/frameworks/rs/tests/java_api/HelloComputeNDK/libhellocomputendk/
H A Dmono.rs18 #pragma rs java_package_name(com.example.android.rs.hellocomputendk)
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_copy_test.java17 package com.android.rs.test_compat;
33 void testFloat2(RenderScript rs, ScriptC_copy_test s) { argument
34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
57 void testFloat3(RenderScript rs, ScriptC_copy_test s) { argument
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Elemen
81 testFloat4(RenderScript rs, ScriptC_copy_test s) argument
[all...]

Completed in 3829 milliseconds

1234567891011>>