HomeSort by relevance Sort by last modified time
    Searched refs:Allocation (Results 1 - 25 of 293) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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 is supplied in NV21 format as a U8
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/rs/cpp/
ScriptIntrinsics.cpp 36 void ScriptIntrinsicBlend::blendClear(sp<Allocation> in, sp<Allocation> out) {
40 void ScriptIntrinsicBlend::blendSrc(sp<Allocation> in, sp<Allocation> out) {
44 void ScriptIntrinsicBlend::blendDst(sp<Allocation> in, sp<Allocation> out) {
48 void ScriptIntrinsicBlend::blendSrcOver(sp<Allocation> in, sp<Allocation> out) {
52 void ScriptIntrinsicBlend::blendDstOver(sp<Allocation> in, sp<Allocation> out)
    [all...]
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) :
72 void Allocation::validateIsInt32() {
77 ALOGE("32 bit integer source does not match allocation type %i", dt);
80 void Allocation::validateIsInt16() {
85 ALOGE("16 bit integer source does not match allocation type %i", dt);
88 void Allocation::validateIsInt8() {
93 ALOGE("8 bit integer source does not match allocation type %i", dt)
    [all...]
  /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...]
ScriptIntrinsicBlendThunker.java 39 public void forEachClear(Allocation ain, Allocation aout) {
52 public void forEachSrc(Allocation ain, Allocation aout) {
65 public void forEachDst(Allocation ain, Allocation aout) {
78 public void forEachSrcOver(Allocation ain, Allocation aout) {
91 public void forEachDstOver(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;
rsAllocation.cpp 30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
44 void Allocation::operator delete(void* ptr) {
46 Allocation *a = (Allocation*) ptr;
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
53 // Allocation objects must use allocator specified by the driver
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
    [all...]
rsMesh.h 43 // Position, normal, texcoord, etc could either be strided in one allocation
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;
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;
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
UsageIO.java 22 import android.renderscript.Allocation;
35 private Allocation mScratchPixelsAllocation1;
36 private Allocation mScratchPixelsAllocation2;
52 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
53 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
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...]
AllocationTest.java 22 import android.renderscript.Allocation;
24 import android.renderscript.Allocation.MipmapControl;
50 Allocation.createTyped(mRS, typeBuilder.create());
61 Allocation.createTyped(mRS, typeBuilder.setX(8).create(),
63 Allocation.USAGE_GRAPHICS_TEXTURE);
64 Allocation.createTyped(mRS, typeBuilder.setY(8).create(),
66 Allocation.USAGE_GRAPHICS_TEXTURE);
68 Allocation.createTyped(mRS, typeBuilder.create(),
70 Allocation.USAGE_GRAPHICS_TEXTURE |
71 Allocation.USAGE_SCRIPT)
    [all...]
  /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/driver/
rsdAllocation.h 57 const android::renderscript::Allocation *alloc;
96 android::renderscript::Allocation *alloc,
99 android::renderscript::Allocation *alloc);
102 const android::renderscript::Allocation *alloc,
105 const android::renderscript::Allocation *alloc,
108 const android::renderscript::Allocation *alloc);
110 const android::renderscript::Allocation *alloc);
112 android::renderscript::Allocation *alloc, ANativeWindow *nw);
114 android::renderscript::Allocation *alloc);
116 android::renderscript::Allocation *alloc)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterRS.java 44 float scaleFactor, int quality, Allocation in) {}
45 protected void bindScriptValues(Allocation in) {}
57 protected Allocation getInPixelsAllocation() {
62 protected Allocation getOutPixelsAllocation() {
68 public void apply(Allocation in, Allocation out) {
97 protected void run(Allocation in, Allocation out) {}
144 protected static Allocation convertBitmap(Bitmap bitmap) {
145 return Allocation.createFromBitmap(CachingPipeline.getRenderScriptContext(), bitmap
    [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/cpu_ref/
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;
  /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());
  /frameworks/rs/java/tests/RsTest/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());
UT_mesh.java 35 Allocation vAlloc0 = Allocation.createSized(RS, Element.F32(RS), 10);
36 Allocation vAlloc1 = Allocation.createSized(RS, Element.F32_2(RS), 10);
38 Allocation iAlloc0 = Allocation.createSized(RS, Element.I16(RS), 10);
39 Allocation iAlloc2 = Allocation.createSized(RS, Element.I16(RS), 10);
  /frameworks/rs/java/tests/RsTest_14/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());

Completed in 825 milliseconds

1 2 3 4 5 6 7 8 91011>>