Searched refs:Allocation (Results 1 - 25 of 254) sorted by relevance

1234567891011

/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicBlend.java21 * Intrinsic kernels for blending two {@link android.renderscript.Allocation} objects.
43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) {
59 public void forEachClear(Allocation ain, Allocation aout) {
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
90 public void forEachSrc(Allocation ain, Allocation aout) {
101 public void forEachSrc(Allocation ai
[all...]
H A DPath.java35 Allocation mVertexBuffer;
36 Allocation mLoopBuffer;
41 Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) {
49 public Allocation getVertexAllocation() {
53 public Allocation getLoopAllocation() {
66 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) {
72 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
76 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vt
[all...]
H A DScriptIntrinsicYuvToRGB.java24 * as a YUV element Allocation. The output is RGBA; the alpha channel
28 private Allocation mInput;
57 public void setInput(Allocation ain) {
68 public void forEach(Allocation aout) {
69 forEach(0, (Allocation) null, aout, null);
H A DScriptIntrinsic3DLUT.java28 private Allocation mLUT;
57 * Sets the {@link android.renderscript.Allocation} to be used as the lookup table.
63 public void setLUT(Allocation lut) {
86 public void forEach(Allocation ain, Allocation aout) {
98 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
H A DScriptIntrinsicBlur.java27 private Allocation mInput;
60 public void setInput(Allocation ain) {
86 public void forEach(Allocation aout) {
87 forEach(0, (Allocation) null, aout, null);
98 public void forEach(Allocation aout, Script.LaunchOptions opt) {
99 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicConvolve5x5.java25 private Allocation mInput;
74 public void setInput(Allocation ain) {
109 public void forEach(Allocation aout) {
110 forEach(0, (Allocation) null, aout, null);
121 public void forEach(Allocation aout, Script.LaunchOptions opt) {
122 forEach(0, (Allocation) null, aout, null, opt);
H A DScriptIntrinsicResize.java23 private Allocation mInput;
50 public void setInput(Allocation ain) {
75 * Allocation is rescaled if necessary using bi-cubic
81 public void forEach_bicubic(Allocation aout) {
90 * Allocation is rescaled if necessary using bi-cubic
97 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) {
98 forEach(0, (Allocation) null, aout, null, opt);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBlend.java22 * {@link android.support.v8.renderscript.Allocation} objects.
48 private void blend(int id, Allocation ain, Allocation aout) {
64 public void forEachClear(Allocation ain, Allocation aout) {
84 public void forEachSrc(Allocation ain, Allocation aout) {
105 public void forEachDst(Allocation ain, Allocation aout) {
124 public void forEachSrcOver(Allocation ai
[all...]
/frameworks/rs/
H A DrsFBOCache.h26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
H A DrsMesh.h45 Allocation **vertexBuffers;
49 Allocation **indexBuffers;
67 void setVertexBuffer(Allocation *vb, uint32_t index) {
72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) {
88 ObjectBaseRef<Allocation> *mVertexBuffers;
89 ObjectBaseRef<Allocation> *mIndexBuffers;
H A DrsProgram.h43 Allocation **textures;
50 Allocation **constants;
66 void bindAllocation(Context *, Allocation *, uint32_t slot);
70 void bindTexture(Context *, uint32_t slot, Allocation *);
74 ObjectBaseRef<Allocation> *mTextures;
76 ObjectBaseRef<Allocation> *mConstants;
H A Drs_hal.h31 class Allocation;
68 RS_BASE_OBJ(Allocation) rs_allocation;
121 const Allocation * ain,
122 Allocation * aout,
146 Allocation *data);
155 const Allocation ** ains,
157 Allocation * aout,
165 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
166 void (*destroy)(const Context *rsc, Allocation *alloc);
167 uint32_t (*grallocBits)(const Context *rsc, Allocation *allo
[all...]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DUsageIO.java22 import android.renderscript.Allocation;
34 private Allocation mScratchPixelsAllocation1;
35 private Allocation mScratchPixelsAllocation2;
51 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
52 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.h34 const Allocation * ain,
35 Allocation * aout,
41 const Allocation ** ain,
43 Allocation * aout,
52 virtual void preLaunch(uint32_t slot, const Allocation * ain,
53 Allocation * aout, const void * usr,
55 virtual void postLaunch(uint32_t slot, const Allocation * ain,
56 Allocation * aout, const void * usr,
62 virtual void setGlobalBind(uint32_t slot, Allocation *data);
H A DrsCpuScript.h67 virtual void preLaunch(uint32_t slot, const Allocation * ain,
68 Allocation * aout, const void * usr,
70 virtual void postLaunch(uint32_t slot, const Allocation * ain,
71 Allocation * aout, const void * usr,
74 const Allocation * ain,
75 Allocation * aout,
81 const Allocation** ains,
83 Allocation* aout,
94 virtual void setGlobalBind(uint32_t slot, Allocation *data);
103 void forEachMtlsSetup(const Allocation * ai
[all...]
H A DrsCpuScriptGroup.h28 virtual void setInput(const ScriptKernelID *kid, Allocation *);
29 virtual void setOutput(const ScriptKernelID *kid, Allocation *);
43 Allocation *const* ins;
45 Allocation *const* outs;
/frameworks/rs/driver/
H A DrsdAllocation.h80 android::renderscript::Allocation *alloc);
82 android::renderscript::Allocation *alloc,
85 android::renderscript::Allocation *alloc);
88 const android::renderscript::Allocation *alloc,
91 const android::renderscript::Allocation *alloc,
94 const android::renderscript::Allocation *alloc);
96 android::renderscript::Allocation *alloc, ANativeWindow *nw);
98 android::renderscript::Allocation *alloc);
100 android::renderscript::Allocation *alloc);
103 const android::renderscript::Allocation *allo
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DErrorCalculator.java23 import android.renderscript.Allocation;
36 private Allocation mIdealPixelsAllocation;
37 private Allocation mGivenPixelsAllocation;
38 private Allocation mOutputPixelsAllocation;
40 private Allocation mInputRowsAllocation;
41 private Allocation mOutputRegionsAllocation;
62 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length,
63 Allocation.USAGE_SCRIPT);
65 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS),
66 mOutputRowRegions.length, Allocation
[all...]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_alloc.java40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_instance.java49 Allocation ai1 = Allocation.createTyped(mRS, t);
50 Allocation ai2 = Allocation.createTyped(mRS, t);
51 Allocation ai3 = Allocation.createTyped(mRS, t);
52 Allocation ai4 = Allocation.createTyped(mRS, t);
53 Allocation ai5 = Allocation
[all...]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_alloc.java40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DUT_alloc.java40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DUT_alloc.java40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
H A DSampleRSActivity.java26 import android.renderscript.Allocation;
44 private Allocation mOutPixelsAllocation;
47 TextureViewUpdater(Allocation outAlloc, Sampler sampler) {
80 private Allocation mTwoByTwoAlloc;
81 private Allocation mCityAlloc;
102 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo,
103 Allocation.MipmapControl.MIPMAP_NONE,
104 Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_TEXTURE);
106 mCityAlloc = Allocation
[all...]
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncRS.java54 private Allocation mGridImage;
55 private Allocation mOffscreen;
56 private Allocation mOffscreenDepth;
57 private Allocation mAllocPV;
58 private Allocation mReadBackTest;
61 private Allocation mTextAlloc;
118 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot,
119 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
120 Allocation.USAGE_GRAPHICS_TEXTURE);
126 mTextAlloc = Allocation
[all...]

Completed in 296 milliseconds

1234567891011