Searched refs:rs (Results 201 - 225 of 652) sorted by relevance

1234567891011>>

/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_rsdebug.java17 package com.android.rs.test;
H A DUT_rstypes.java17 package com.android.rs.test;
H A DUT_single_source_ref_count.java17 package com.android.rs.test;
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
H A Dsample.rs18 #pragma rs java_package_name(com.android.rs.sample)
/frameworks/rs/tests/lldb/cpp/BranchingFunCalls/
H A Dscalars.rs18 #pragma rs java_package_name(com.android.rs.cppbranchingfuncalls)
/frameworks/rs/tests/lldb/java/BranchingFunCalls/src/rs/
H A Dscalars.rs18 #pragma rs java_package_name(com.android.rs.branchingfuncalls)
/frameworks/rs/tests/lldb/java/SingleSource/src/rs/
H A Drs_single_source.rs18 #pragma rs java_package_name(com.android.rs.singlesource)
/frameworks/rs/tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/
H A Dscalars.rs18 #pragma rs java_package_name(com.android.rs.jnibranchingfuncalls)
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DAllocation.java350 Allocation(long id, RenderScript rs, Type t, int usage) { argument
351 super(id, rs);
2557 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument
2558 rs.validate();
2559 if (type.getID(rs) == 0) {
2563 if(!rs.usingIO() && (usage & (USAGE_IO_INPUT | USAGE_IO_INPUT)) != 0) {
2567 long id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0);
2571 return new Allocation(id, rs, type, usage);
2578 * @param rs Contex
2585 createTyped(RenderScript rs, Type type, int usage) argument
2598 createTyped(RenderScript rs, Type type) argument
2613 createSized(RenderScript rs, Element e, int count, int usage) argument
2636 createSized(RenderScript rs, Element e, int count) argument
2640 elementFromBitmap(RenderScript rs, Bitmap b) argument
2657 typeFromBitmap(RenderScript rs, Bitmap b, MipmapControl mip) argument
2680 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
2748 createFromBitmap(RenderScript rs, Bitmap b) argument
2768 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
2815 createCubemapFromBitmap(RenderScript rs, Bitmap b) argument
2839 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
2908 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
2935 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
2965 createFromBitmapResource(RenderScript rs, Resources res, int id) argument
2982 createFromString(RenderScript rs, String str, int usage) argument
[all...]
H A DScriptIntrinsicBlend.java28 ScriptIntrinsicBlend(long id, RenderScript rs) { argument
29 super(id, rs);
35 * @param rs The RenderScript context
40 public static ScriptIntrinsicBlend create(RenderScript rs, Element e) { argument
43 boolean mUseIncSupp = rs.isUseNative() &&
46 id = rs.nScriptIntrinsicCreate(7, e.getID(rs), mUseIncSupp);
48 ScriptIntrinsicBlend si = new ScriptIntrinsicBlend(id, rs);
H A DScriptGroup.java120 Closure(long id, RenderScript rs) { argument
121 super(id, rs);
124 Closure(RenderScript rs, Script.KernelID kernelID, Type returnType, argument
126 super(0, rs);
128 if (android.os.Build.VERSION.SDK_INT < MIN_API_VERSION && rs.isUseNative()) {
133 mReturnValue = Allocation.createTyped(rs, returnType);
148 retrieveValueAndDependenceInfo(rs, i, null, args[i],
154 fieldIDs[i] = fieldID.getID(rs);
155 retrieveValueAndDependenceInfo(rs, i, fieldID, obj,
160 long id = rs
166 Closure(RenderScript rs, Script.InvokeID invokeID, Object[] args, Map<Script.FieldID, Object> globals) argument
204 retrieveValueAndDependenceInfo(RenderScript rs, int index, Script.FieldID fid, Object obj, long[] values, int[] sizes, long[] depClosures, long[] depFieldIDs) argument
296 ValueAndSize(RenderScript rs, Object obj) argument
399 ScriptGroup(long id, RenderScript rs) argument
403 ScriptGroup(RenderScript rs, String name, List<Closure> closures, List<Input> inputs, Future[] outputs) argument
631 Builder(RenderScript rs) argument
1050 Builder2(RenderScript rs) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayerVector.cpp36 uint32_t rs = r->getCurrentState().layerStack; local
37 if (ls != rs)
38 return ls - rs;
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DRenderScriptTask.java1 package com.android.rs.refocus;
3 import com.android.rs.refocus.d1new.RefocusFilterd1new;
4 import com.android.rs.refocus.f32.RefocusFilterF32;
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java382 Allocation(long id, RenderScript rs, Type t, int usage) { argument
383 super(id, rs);
424 Allocation(long id, RenderScript rs, Type t, boolean owningType, int usage, MipmapControl mips) { argument
425 this(id, rs, t, usage);
2664 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument
2667 rs.validate();
2668 if (type.getID(rs) == 0) {
2672 long id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0);
2676 return new Allocation(id, rs, typ
2693 createTyped(RenderScript rs, Type type, int usage) argument
2706 createTyped(RenderScript rs, Type type) argument
2721 createSized(RenderScript rs, Element e, int count, int usage) argument
2749 createSized(RenderScript rs, Element e, int count) argument
2753 elementFromBitmap(RenderScript rs, Bitmap b) argument
2770 typeFromBitmap(RenderScript rs, Bitmap b, MipmapControl mip) argument
2793 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
2886 createAllocations(RenderScript rs, Type t, int usage, int numAlloc) argument
2925 createFromAllocation(RenderScript rs, Allocation alloc) argument
3061 createFromBitmap(RenderScript rs, Bitmap b) argument
3085 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
3132 createCubemapFromBitmap(RenderScript rs, Bitmap b) argument
3156 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
3222 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
3249 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
3281 createFromBitmapResource(RenderScript rs, Resources res, int id) argument
3303 createFromString(RenderScript rs, String str, int usage) argument
[all...]
H A DProgramFragmentFixedFunction.java31 ProgramFragmentFixedFunction(long id, RenderScript rs) { argument
32 super(id, rs);
39 public InternalBuilder(RenderScript rs) { argument
40 super(rs);
229 * @param rs Context to which the program will belong.
231 public Builder(RenderScript rs) { argument
232 mRS = rs;
/frameworks/rs/cpp/
H A DrsCppStructs.h551 BaseObj(void *id, sp<RS> rs);
599 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
840 * @param[in] rs Context to which the Allocation will belong
846 static sp<Allocation> createTyped(const sp<RS>& rs, const sp<const Type>& type,
852 * @param[in] rs Context to which the Allocation will belong
859 static sp<Allocation> createTyped(const sp<RS>& rs, const sp<const Type>& type,
864 * @param[in] rs Context to which the Allocation will belong
869 static sp<Allocation> createTyped(const sp<RS>& rs, const sp<const Type>& type,
873 * @param[in] rs Context to which the Allocation will belong
879 static sp<Allocation> createSized(const sp<RS>& rs, cons
[all...]
H A DRenderScript.cpp109 if (getProp("debug.rs.forcecompat") == 0) {
205 RS *rs = static_cast<RS *>(vrsc); local
209 RS::dispatch->ContextInitToClient(rs->mContext);
210 rs->mMessageRun = true;
212 while (rs->mMessageRun) {
216 RsMessageToClientType r = RS::dispatch->ContextPeekMessage(rs->mContext,
228 RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen),
234 rs->throwError(RS_ERROR_RUNTIME_ERROR, "Error returned from runtime");
235 if(rs->mMessageFunc != nullptr) {
236 rs
[all...]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DVolumeLoader.java17 package com.example.android.rs.vr.loaders;
22 import com.example.android.rs.vr.engine.Volume;
58 public Volume getVolume(RenderScript rs, String name) { argument
60 return Mandelbulb.buildRSVolume(rs,mListener);
63 return Droid.buildRSVolume(rs,mListener);
75 Volume v = LoaderDicom.buildRSVolume(rs, new File(baseDir, dir), mListener);
85 Volume v = LoaderRaw.buildRSVolume(rs, new File(baseDir, dir), p, mListener);
H A DLoaderRaw.java17 package com.example.android.rs.vr.loaders;
24 import com.example.android.rs.vr.engine.ScriptC_bricked;
25 import com.example.android.rs.vr.engine.Volume;
45 * @param rs The Renderscript context
51 public static Volume buildRSVolume(final RenderScript rs, File dir, Properties prop, argument
104 ScriptC_bricked scriptC_bricked = new ScriptC_bricked(rs);
122 Type.Builder b = new Type.Builder(rs, android.renderscript.Element.I16(rs));
124 alloc_slice = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT);
126 v.mVolumeAllocation = Allocation.createTyped(rs,
[all...]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DViewfinderProcessor.java61 public ViewfinderProcessor(RenderScript rs, Size dimensions) { argument
62 mRs = rs;
63 Type.Builder yuvTypeBuilder = new Type.Builder(rs, Element.YUV(rs));
68 mInputAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
71 Type.Builder rgbTypeBuilder = new Type.Builder(rs, Element.RGBA_8888(rs));
75 mOutputAllocation = Allocation.createTyped(rs, rgbTypeBuilder.create(),
77 Type.Builder buffTypeBuilder = new Type.Builder(rs, Element.U8(rs));
[all...]
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
H A DScriptC_reduce_general_examples_halter.java.expect19 * The source Renderscript file: reduce_general_examples_halter.rs
33 public ScriptC_reduce_general_examples_halter(RenderScript rs) {
34 super(rs,
38 mRSLocal = rs;
39 __I32 = Element.I32(rs);
40 __I32_2 = Element.I32_2(rs);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
H A DRefocusFilterd1new.java1 package com.android.rs.refocus.d1new;
3 import com.android.rs.refocus.BlurStack;
4 import com.android.rs.refocus.KernelDataForRenderScript;
5 import com.android.rs.refocus.LayerInfo;
6 import com.android.rs.refocus.MediaStoreSaver;
7 import com.android.rs.refocus.R;
8 import com.android.rs.refocus.RefocusFilter;
9 import com.android.rs.refocus.renderscript.ScriptC_layered_filter_fast_d1new;
40 public RefocusFilterd1new(RenderScript rs) { argument
41 super(rs);
[all...]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
H A DRefocusFilterF32.java1 package com.android.rs.refocus.f32;
4 import com.android.rs.refocus.BlurStack;
5 import com.android.rs.refocus.KernelDataForRenderScript;
6 import com.android.rs.refocus.LayerInfo;
7 import com.android.rs.refocus.MediaStoreSaver;
8 import com.android.rs.refocus.R;
9 import com.android.rs.refocus.RefocusFilter;
10 import com.android.rs.refocus.renderscript.ScriptC_layered_filter_fast_f32;
39 public RefocusFilterF32(RenderScript rs) { argument
40 super(rs);
[all...]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java17 package rs.example.android.com.healingbrush;
28 import com.example.android.rs.sample.ScriptC_find_region;
67 Allocation allocFloat2(float[] p, RenderScript rs) { argument
68 Type.Builder builderF32_2 = new Type.Builder(rs, Element.F32_2(rs));
70 Allocation ret = Allocation.createTyped(rs, builderF32_2.create());
/frameworks/base/
H A Dpathmap.mk41 frameworks/rs/support

Completed in 5123 milliseconds

1234567891011>>