/frameworks/base/graphics/java/android/renderscript/ |
ScriptIntrinsicBlend.java | 21 * Intrinsic kernels for blending two {@link android.renderscript.Allocation} objects. 43 private void blend(int id, Allocation ain, Allocation aout) { 59 public void forEachClear(Allocation ain, Allocation aout) { 79 public void forEachSrc(Allocation ain, Allocation aout) { 100 public void forEachDst(Allocation ain, Allocation aout) { 119 public void forEachSrcOver(Allocation ain, Allocation aout) [all...] |
Path.java | 38 Allocation mVertexBuffer; 39 Allocation mLoopBuffer; 44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { 52 public Allocation getVertexAllocation() { 56 public Allocation getLoopAllocation() { 69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { 75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { 79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) [all...] |
ScriptIntrinsicYuvToRGB.java | 23 * The input allocation should be supplied in a supported YUV format 24 * as a YUV element Allocation. The output is RGBA; the alpha channel 28 private Allocation mInput; 53 * Set the input yuv allocation, must be {@link Element#U8}. 55 * @param ain The input allocation. 57 public void setInput(Allocation ain) { 65 * @param aout Output allocation. Must match creation element 68 public void forEach(Allocation aout) {
|
ScriptIntrinsic3DLUT.java | 25 * allocation. The 8 nearest values are sampled and linearly interpolated. The 30 private Allocation mLUT; 59 * Sets the {@link android.renderscript.Allocation} to be used as the lookup table. 65 public void setLUT(Allocation lut) { 85 * @param ain Input allocation 86 * @param aout Output allocation 88 public void forEach(Allocation ain, Allocation aout) {
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicBlend.java | 22 * {@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 ain, Allocation aout) [all...] |
/frameworks/rs/ |
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;
|
rsGrallocConsumer.h | 33 class Allocation; 47 GrallocConsumer(Allocation *, const sp<IGraphicBufferConsumer>& bq); 55 Allocation *mAlloc;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ClearObjectTest.java | 19 import android.renderscript.Allocation; 43 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 65 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 66 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 81 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 82 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum) 99 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); local [all...] |
SampleTest.java | 22 import android.renderscript.Allocation; 23 import android.renderscript.Allocation.MipmapControl; 34 Allocation mAlloc_RGBA_1D; 35 Allocation mAlloc_RGBA_2D; 44 mAlloc_RGBA_1D = Allocation.createTyped(mRS, b.setX(8).create(), 45 Allocation.MipmapControl.MIPMAP_FULL, 46 Allocation.USAGE_SCRIPT); 47 mAlloc_RGBA_2D = Allocation.createTyped(mRS, b.setX(8).setY(8).create(), 48 Allocation.MipmapControl.MIPMAP_FULL, 49 Allocation.USAGE_SCRIPT) [all...] |
PownTest.java | 19 import android.renderscript.Allocation; 37 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 82 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 93 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 104 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE); 115 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE) [all...] |
RootnTest.java | 19 import android.renderscript.Allocation; 37 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 80 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 91 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 103 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE); 114 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE) [all...] |
AllocationResize.java | 20 import android.renderscript.Allocation; 27 private Allocation mIn; 28 private Allocation mOut; 32 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 38 mIn = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE/2); 39 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2);
|
InitTest.java | 19 import android.renderscript.Allocation; 25 private Allocation mIn; 26 private Allocation mOut; 30 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 39 mIn = Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); 40 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
PipelineInterface.java | 21 import android.support.v8.renderscript.Allocation; 27 public Allocation getInPixelsAllocation(); 28 public Allocation getOutPixelsAllocation();
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
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/cpu_ref/ |
rsCpuIntrinsic.h | 34 const Allocation * ain, 35 Allocation * aout, 43 virtual void preLaunch(uint32_t slot, const Allocation * ain, 44 Allocation * aout, const void * usr, 46 virtual void postLaunch(uint32_t slot, const Allocation * ain, 47 Allocation * aout, const void * usr, 53 virtual void setGlobalBind(uint32_t slot, Allocation *data);
|
rsCpuScript.h | 55 virtual void preLaunch(uint32_t slot, const Allocation * ain, 56 Allocation * aout, const void * usr, 58 virtual void postLaunch(uint32_t slot, const Allocation * ain, 59 Allocation * aout, const void * usr, 62 const Allocation * ain, 63 Allocation * aout, 74 virtual void setGlobalBind(uint32_t slot, Allocation *data); 83 void forEachMtlsSetup(const Allocation * ain, Allocation * aout, 92 virtual Allocation * getAllocationForPointer(const void *ptr) const [all...] |
rsCpuScriptGroup.h | 28 virtual void setInput(const ScriptKernelID *kid, Allocation *); 29 virtual void setOutput(const ScriptKernelID *kid, Allocation *); 43 Allocation *const* ins; 45 Allocation *const* outs;
|
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/ |
HelloCompute.java | 24 import android.renderscript.Allocation; 32 private Allocation mInAllocation; 33 private Allocation mOutAllocation; 58 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn, 59 Allocation.MipmapControl.MIPMAP_NONE, 60 Allocation.USAGE_SCRIPT); 61 mOutAllocation = Allocation.createFromBitmap(mRS, mBitmapOut, 62 Allocation.MipmapControl.MIPMAP_NONE, 63 Allocation.USAGE_SCRIPT);
|
/frameworks/rs/tests/cppbasic/ |
compute.cpp | 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); 29 printf("Allocation %p\n", a1.get()); 31 sp<Allocation> ain = Allocation::createTyped(rs, t); 32 sp<Allocation> aout = Allocation::createTyped(rs, t); 33 printf("Allocation %p %p\n", ain.get(), aout.get()); 38 // We read back the status from the script-side via a "failed" allocation. 43 sp<Allocation> failed_alloc = Allocation::createTyped(rs, failed_t) [all...] |
/frameworks/rs/driver/ |
rsdAllocation.h | 80 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 *alloc [all...] |
/frameworks/rs/cpp/ |
Allocation.cpp | 23 void * Allocation::getIDSafe() const { 27 void Allocation::updateCacheInfo(sp<const Type> t) { 40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : 75 void Allocation::validateIsInt32() { 80 ALOGE("32 bit integer source does not match allocation type %i", dt); 83 void Allocation::validateIsInt16() { 88 ALOGE("16 bit integer source does not match allocation type %i", dt); 91 void Allocation::validateIsInt8() { 96 ALOGE("8 bit integer source does not match allocation type %i", dt) [all...] |
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
ProgramFragmentTest.java | 21 import android.renderscript.Allocation; 32 Allocation mConstMatrix; 33 Allocation mConstComplex; 34 Allocation mConstExtra; 36 Allocation mTex2D; 37 Allocation mTexCube; 45 mTex2D = Allocation.createTyped(mRS, typeB.create(), 46 Allocation.USAGE_SCRIPT | 47 Allocation.USAGE_GRAPHICS_TEXTURE); 49 mTexCube = Allocation.createTyped(mRS, typeB.create() [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ErrorCalculator.java | 26 import android.renderscript.Allocation; 39 private Allocation mIdealPixelsAllocation; 40 private Allocation mGivenPixelsAllocation; 41 private Allocation mOutputPixelsAllocation; 43 private final Allocation mInputRowsAllocation; 44 private final Allocation mOutputRegionsAllocation; 65 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, 66 Allocation.USAGE_SCRIPT); 68 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), 69 mOutputRowRegions.length, Allocation.USAGE_SCRIPT) [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
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());
|