/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 21 * 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 D | ScriptIntrinsicYuvToRGB.java | 24 * 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 D | ScriptIntrinsic3DLUT.java | 28 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 D | ScriptIntrinsicBlur.java | 27 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 D | ScriptIntrinsicConvolve5x5.java | 25 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);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 22 * {@link android.support.v8.renderscript.Allocation} objects. 54 private void blend(int id, Allocation ain, Allocation aout) { 70 public void forEachClear(Allocation ain, Allocation aout) { 90 public void forEachSrc(Allocation ain, Allocation aout) { 111 public void forEachDst(Allocation ain, Allocation aout) { 130 public void forEachSrcOver(Allocation ai [all...] |
/frameworks/rs/ |
H A D | rsFBOCache.h | 26 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 D | rsMesh.h | 45 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 D | rsProgram.h | 43 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 D | rsAllocation.cpp | 30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, function in class:Allocation 44 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) function in class:Allocation 56 void Allocation::operator delete(void* ptr) { 58 Allocation *a = (Allocation*) ptr; 63 Allocation * Allocation [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | UsageIO.java | 22 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/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_foreach_multi.java | 26 private Allocation Ain0; 27 private Allocation Ain1; 28 private Allocation Ain2; 29 private Allocation Ain3; 31 private Allocation Out0; 32 private Allocation Out1; 33 private Allocation Out2; 34 private Allocation Out3; 52 Ain0 = Allocation.createTyped(RS, type32Builder.create()); 56 Ain1 = Allocation [all...] |
H A D | UT_alloc.java | 40 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/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | ViewfinderProcessor.java | 22 import android.renderscript.Allocation; 36 private Allocation mInputAllocation; 37 private Allocation mOutputAllocation; 49 mInputAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(), 50 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT); 56 mOutputAllocation = Allocation.createTyped(rs, rgbTypeBuilder.create(), 57 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); 81 class ProcessingTask implements Runnable, Allocation [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | RsBrickedBitMask.java | 18 import android.renderscript.Allocation;
39 Allocation mBrick_allocation;
61 mBrick_allocation = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT);
74 Allocation tmp = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT);
82 Allocation createChunkAllocation(RenderScript rs) {
87 return Allocation.createTyped(rs, b.create(), Allocation [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.h | 83 android::renderscript::Allocation *alloc); 85 android::renderscript::Allocation *alloc, 88 android::renderscript::Allocation *alloc); 90 android::renderscript::Allocation *alloc); 93 const android::renderscript::Allocation *alloc, 96 const android::renderscript::Allocation *alloc, 99 const android::renderscript::Allocation *alloc); 101 android::renderscript::Allocation *alloc, ANativeWindow *nw); 103 android::renderscript::Allocation *alloc); 105 android::renderscript::Allocation *allo [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ErrorCalculator.java | 23 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/cpu_ref/ |
H A D | rsCpuScriptGroup.h | 28 void setInput(const ScriptKernelID *kid, Allocation *) override; 29 void setOutput(const ScriptKernelID *kid, Allocation *) override; 43 Allocation *const* ins; 45 Allocation *const* outs;
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | TestBase.java | 22 import android.renderscript.Allocation; 32 protected Allocation mInPixelsAllocation; 33 protected Allocation mInPixelsAllocation2; 34 public Allocation mOutPixelsAllocation;
|
/frameworks/av/include/media/stagefright/ |
H A D | RenderScriptWrapper.h | 30 RSC::Allocation* inBuffer, 31 RSC::Allocation* outBuffer) = 0;
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_alloc.java | 40 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 D | UT_instance.java | 49 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_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_alloc.java | 40 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 D | UT_alloc.java | 40 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 D | UT_alloc.java | 40 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());
|