Searched refs:rs (Results 101 - 125 of 415) sorted by relevance

1234567891011>>

/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DVibrance.java17 package com.android.rs.image2;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DBWFilter.java17 package com.android.rs.imagejb;
H A DContrast.java17 package com.android.rs.imagejb;
H A DExposure.java17 package com.android.rs.imagejb;
H A DShadows.java17 package com.android.rs.imagejb;
H A DVibrance.java17 package com.android.rs.imagejb;
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicHistogram.java27 private ScriptIntrinsicHistogram(long id, RenderScript rs) { argument
28 super(id, rs);
39 * @param rs The RenderScript context
44 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) { argument
45 if ((!e.isCompatible(Element.U8_4(rs))) &&
46 (!e.isCompatible(Element.U8_3(rs))) &&
47 (!e.isCompatible(Element.U8_2(rs))) &&
48 (!e.isCompatible(Element.U8(rs)))) {
51 long id = rs.nScriptIntrinsicCreate(9, e.getID(rs));
[all...]
H A DRSTextureView.java61 //android.util.Log.e("rs", "getSurfaceTextureListerner " + getSurfaceTextureListener());
152 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
153 setRenderScriptGL(rs);
157 return rs;
175 * @param rs The new RS object.
177 public void setRenderScriptGL(RenderScriptGL rs) { argument
178 mRS = rs;
H A DAllocationAdapter.java24 AllocationAdapter(long id, RenderScript rs, Allocation alloc) { argument
25 super(id, rs, alloc.mType, alloc.mUsage);
29 long getID(RenderScript rs) { argument
210 static public AllocationAdapter create1D(RenderScript rs, Allocation a) { argument
211 rs.validate();
212 AllocationAdapter aa = new AllocationAdapter(0, rs, a);
221 static public AllocationAdapter create2D(RenderScript rs, Allocation a) { argument
222 rs.validate();
223 AllocationAdapter aa = new AllocationAdapter(0, rs, a);
H A DAllocation.java304 Allocation(long id, RenderScript rs, Type t, int usage) { argument
305 super(id, rs);
1385 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument
1387 rs.validate();
1388 if (type.getID(rs) == 0) {
1391 long id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0);
1396 return new Allocation(id, rs, type, usage);
1403 * @param rs Context to which the allocation will belong.
1410 static public Allocation createTyped(RenderScript rs, Typ argument
1423 createTyped(RenderScript rs, Type type) argument
1438 createSized(RenderScript rs, Element e, int count, int usage) argument
1463 createSized(RenderScript rs, Element e, int count) argument
1467 elementFromBitmap(RenderScript rs, Bitmap b) argument
1484 typeFromBitmap(RenderScript rs, Bitmap b, MipmapControl mip) argument
1507 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1594 createFromBitmap(RenderScript rs, Bitmap b) argument
1618 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1665 createCubemapFromBitmap(RenderScript rs, Bitmap b) argument
1689 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1755 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
1782 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
1814 createFromBitmapResource(RenderScript rs, Resources res, int id) argument
1836 createFromString(RenderScript rs, String str, int usage) argument
[all...]
H A DProgramVertex.java52 ProgramVertex(long id, RenderScript rs) { argument
53 super(id, rs);
91 * @param rs Context to which the program will belong.
93 public Builder(RenderScript rs) { argument
94 super(rs);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DLightBase.java75 RenderScriptGL rs = SceneManager.getRS();
77 mFieldData.name = getNameAlloc(rs);
93 RenderScriptGL rs = SceneManager.getRS();
94 if (rs == null) {
98 mField = new ScriptField_Light_s(rs, 1);
H A DFragmentShader.java41 public Builder(RenderScriptGL rs) { argument
43 mBuilder = new ProgramFragment.Builder(rs);
104 RenderScriptGL rs = SceneManager.getRS();
106 if (rs == null || res == null) {
130 rsParams = new ScriptField_ShaderParam_s(rs, paramCount);
144 RenderScriptGL rs = SceneManager.getRS();
146 if (rs == null || res == null) {
158 linkConstants(rs);
170 mField = new ScriptField_FragmentShader_s(rs, 1);
H A DSceneGraphBase.java50 Allocation getNameAlloc(RenderScriptGL rs) { argument
52 mNameAlloc = SceneManager.getStringAsAllocation(rs, getName());
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsic3DLUTThunker.java32 private ScriptIntrinsic3DLUTThunker(int id, RenderScript rs, Element e) { argument
33 super(id, rs, e);
36 public static ScriptIntrinsic3DLUTThunker create(RenderScript rs, Element e) { argument
37 RenderScriptThunker rst = (RenderScriptThunker) rs;
40 ScriptIntrinsic3DLUTThunker lut = new ScriptIntrinsic3DLUTThunker(0, rs, e);
H A DScriptIntrinsicBlurThunker.java31 protected ScriptIntrinsicBlurThunker(int id, RenderScript rs) { argument
32 super(id, rs);
35 public static ScriptIntrinsicBlurThunker create(RenderScript rs, Element e) { argument
36 RenderScriptThunker rst = (RenderScriptThunker) rs;
39 ScriptIntrinsicBlurThunker blur = new ScriptIntrinsicBlurThunker(0, rs);
H A DScriptIntrinsicConvolve3x3Thunker.java29 ScriptIntrinsicConvolve3x3Thunker(int id, RenderScript rs) { argument
30 super(id, rs);
33 public static ScriptIntrinsicConvolve3x3Thunker create(RenderScript rs, Element e) { argument
34 RenderScriptThunker rst = (RenderScriptThunker) rs;
37 ScriptIntrinsicConvolve3x3Thunker si = new ScriptIntrinsicConvolve3x3Thunker(0, rs);
H A DScriptIntrinsicConvolve5x5Thunker.java29 ScriptIntrinsicConvolve5x5Thunker(int id, RenderScript rs) { argument
30 super(id, rs);
33 public static ScriptIntrinsicConvolve5x5Thunker create(RenderScript rs, Element e) { argument
34 RenderScriptThunker rst = (RenderScriptThunker) rs;
37 ScriptIntrinsicConvolve5x5Thunker si = new ScriptIntrinsicConvolve5x5Thunker(0, rs);
H A DScriptIntrinsicLUTThunker.java28 private ScriptIntrinsicLUTThunker(int id, RenderScript rs) { argument
29 super(id, rs);
32 public static ScriptIntrinsicLUTThunker create(RenderScript rs, Element e) { argument
33 RenderScriptThunker rst = (RenderScriptThunker) rs;
36 ScriptIntrinsicLUTThunker si = new ScriptIntrinsicLUTThunker(0, rs);
H A DScriptIntrinsicYuvToRGBThunker.java28 private ScriptIntrinsicYuvToRGBThunker(int id, RenderScript rs) { argument
29 super(id, rs);
32 public static ScriptIntrinsicYuvToRGBThunker create(RenderScript rs, Element e) { argument
33 RenderScriptThunker rst = (RenderScriptThunker) rs;
36 ScriptIntrinsicYuvToRGBThunker si = new ScriptIntrinsicYuvToRGBThunker(0, rs);
H A DScriptIntrinsicBlend.java25 ScriptIntrinsicBlend(int id, RenderScript rs) { argument
26 super(id, rs);
32 * @param rs The RenderScript context
37 public static ScriptIntrinsicBlend create(RenderScript rs, Element e) { argument
38 if (rs.isNative) {
39 RenderScriptThunker rst = (RenderScriptThunker) rs;
40 return ScriptIntrinsicBlendThunker.create(rs, e);
43 int id = rs.nScriptIntrinsicCreate(7, e.getID(rs));
44 return new ScriptIntrinsicBlend(id, rs);
[all...]
/frameworks/rs/cpp/
H A DrsCppStructs.h272 BaseObj(void *id, sp<RS> rs);
319 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
507 * @param[in] rs Context to which the Allocation will belong
513 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
519 * @param[in] rs Context to which the Allocation will belong
526 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
531 * @param[in] rs Context to which the Allocation will belong
536 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
540 * @param[in] rs Context to which the Allocation will belong
546 static sp<Allocation> createSized(sp<RS> rs, s
[all...]
H A DBaseObj.cpp35 BaseObj::BaseObj(void *id, sp<RS> rs) { argument
36 mRS = rs.get();
/frameworks/rs/api/
H A Dgenerate.sh22 mv Test*.rs ../../../cts/tests/tests/renderscript/src/android/renderscript/cts/
/frameworks/rs/java/
H A DAndroid.mk4 # tests if we are just doing an mm or mmm in frameworks/rs.

Completed in 629 milliseconds

1234567891011>>