HomeSort by relevance Sort by last modified time
    Searched refs:Allocation (Results 76 - 100 of 810) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
jnikernelvariables.cpp 43 auto a = Allocation::createTyped(rs, t);
44 auto b = Allocation::createTyped(rs, t);
49 sp<Allocation> int_allocation = Allocation::createSized(rs, Element::I32(rs), 4);
59 sp<Allocation> int_allocation2 = Allocation::createTyped(rs, typeI32Builder2D.create());
73 sp<Allocation> int_allocation3 = Allocation::createTyped(rs, typeI32Builder3D.create());
82 sp<Allocation> yuv_allocation = Allocation::createTyped(rs, yuvTypeBuilder.create())
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestRemquo.java 21 import android.renderscript.Allocation;
55 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xcd5efc69edd4ff2al, false);
56 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4ff0c9312eb19f93l, false);
58 Allocation outQuotient = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
70 Allocation outQuotient = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
71 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE)
    [all...]
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSYuvTest.java 36 Allocation ay;
37 Allocation au;
38 Allocation av;
66 ay = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U8(mRS), w, h));
68 au = Allocation.createTyped(mRS, tuv);
69 av = Allocation.createTyped(mRS, tuv);
76 public Allocation makeOutput() {
77 return Allocation.createTyped(mRS, Type.createXY(mRS, Element.RGBA_8888(mRS), width, height));
85 Allocation aout = makeOutput();
86 Allocation aref = makeOutput()
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RsUnpackColor8888Test.java 19 import android.renderscript.Allocation;
37 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
43 Allocation mAllocationIn = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE);
44 Allocation mAllocationOut = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE);
SampleTest.java 20 import android.renderscript.Allocation;
21 import android.renderscript.Allocation.MipmapControl;
32 Allocation mAlloc_RGBA_1D;
33 Allocation mAlloc_RGBA_2D;
35 Allocation createAlloc(Type t) {
36 Allocation a = Allocation.createTyped(mRS, t, Allocation.MipmapControl.MIPMAP_FULL,
37 Allocation.USAGE_SCRIPT);
AllocationCopy2DRangeTest.java 19 import android.renderscript.Allocation;
25 private Allocation mInAllocation;
26 private Allocation mOutAllocation;
45 mInAllocation = Allocation.createTyped(mRS, typeBuilder.create());
46 mOutAllocation = Allocation.createTyped(mRS, mInAllocation.getType());
GetAllocationTest.java 19 import android.renderscript.Allocation;
35 Allocation mTemp = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
37 Allocation mOut = Allocation.createTyped(mRS, mTemp.getType());
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
ImageBuffersForRenderScriptF32.java 20 import android.renderscript.Allocation;
40 public Allocation sharpImageAllocation;
41 public Allocation fuzzyImageAllocation;
42 public Allocation integralImageAllocation;
64 sharpImageAllocation = Allocation.createSized(
68 fuzzyImageAllocation = Allocation.createSized(
72 integralImageAllocation = Allocation.createSized(renderScript,
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
Allocation.java 28 * Data about a particular allocation performed by a benchmark. This tracks a human readable
29 * description of the allocation (e.g. 'int[23]', 'java.lang.Integer', or 'java.util.ArrayList'),
30 * the total size of the allocation in bytes and the location, which is a stringified stack trace of
31 * the allocation.
33 final class Allocation {
42 static long getTotalSize(Collection<Allocation> allocations) {
44 for (Allocation allocation : allocations) {
45 totalSize += allocation.size;
54 Allocation(String description, long size, List<StackTraceElement> location)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiBufferAndImageAllocationUtil.hpp 23 * \brief Utility classes for various kinds of allocation memory for buffers and images
36 class Allocation;
56 de::MovePtr<Allocation>& memory) const = 0;
68 de::MovePtr<Allocation>& memory) const; // override
80 de::MovePtr<Allocation>& memory) const; // override
92 de::MovePtr<Allocation>& memory) const = 0;
104 de::MovePtr<Allocation>& memory) const; // override
116 de::MovePtr<Allocation>& memory) const; // override
  /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
ImageBuffersForRenderScriptF32.java 4 import android.support.v8.renderscript.Allocation;
27 public Allocation sharpImageAllocation;
28 public Allocation fuzzyImageAllocation;
29 public Allocation integralImageAllocation;
45 sharpImageAllocation = Allocation.createSized(
49 fuzzyImageAllocation = Allocation.createSized(
53 integralImageAllocation = Allocation.createSized(renderScript,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
Buffer.java 21 import android.renderscript.Allocation;
30 private Allocation mAllocation;
41 // TODO: recreate the allocation when the RS context changes
42 mAllocation = Allocation.createFromBitmap(rs, mBitmap,
43 Allocation.MipmapControl.MIPMAP_NONE,
44 Allocation.USAGE_SHARED | Allocation.USAGE_SCRIPT);
68 public Allocation getAllocation() {
  /frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
SampleRSActivity.java 26 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.createFromBitmap(mRS, mBitmapCity
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterRS.java 45 float scaleFactor, int quality, Allocation in) {}
46 protected void bindScriptValues(Allocation in) {}
59 protected Allocation getInPixelsAllocation() {
64 protected Allocation getOutPixelsAllocation() {
70 public void apply(Allocation in, Allocation out) {
108 protected void run(Allocation in, Allocation out) {}
154 protected static Allocation convertBitmap(RenderScript RS, Bitmap bitmap) {
155 return Allocation.createFromBitmap(RS, bitmap
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_copy_test.java 20 import android.renderscript.Allocation;
33 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
34 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
57 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
58 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
81 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024)
    [all...]
UT_alloc.java 20 import android.renderscript.Allocation;
30 private Allocation mAFaces;
31 private Allocation mALOD;
32 private Allocation mAFacesLOD;
48 Allocation A = Allocation.createTyped(RS, T);
55 mAFaces = Allocation.createTyped(RS, mTFaces);
59 mALOD = Allocation.createTyped(RS, mTLOD);
63 mAFacesLOD = Allocation.createTyped(RS, mTFacesLOD);
UT_array_alloc.java 20 import android.renderscript.Allocation;
28 super("Array Allocation", ctx);
36 Allocation[] Arr = new Allocation[dimX];
40 Allocation A = Allocation.createTyped(pRS, T);
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_copy_test.java 22 import android.support.v8.renderscript.Allocation;
35 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
36 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
59 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
60 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
83 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024)
    [all...]
UT_alloc.java 22 import android.support.v8.renderscript.Allocation;
32 private Allocation mAFaces;
33 private Allocation mALOD;
34 private Allocation mAFacesLOD;
50 Allocation A = Allocation.createTyped(RS, T);
57 mAFaces = Allocation.createTyped(RS, mTFaces);
61 mALOD = Allocation.createTyped(RS, mTLOD);
65 mAFacesLOD = Allocation.createTyped(RS, mTFacesLOD);
UT_alloc_supportlib.java 22 import android.support.v8.renderscript.Allocation;
32 private Allocation mAFaces;
33 private Allocation mALOD;
34 private Allocation mAFacesLOD;
50 Allocation A = Allocation.createTyped(RS, T);
57 mAFaces = Allocation.createTyped(RS, mTFaces);
61 mALOD = Allocation.createTyped(RS, mTLOD);
65 mAFacesLOD = Allocation.createTyped(RS, mTFacesLOD);
  /external/deqp/external/vulkancts/framework/vulkan/
vkMemUtil.hpp 33 * \brief Memory allocation interface
35 * Allocation represents block of device memory and is allocated by
39 * Allocation doesn't necessarily correspond to a whole VkDeviceMemory, but
40 * instead it may represent sub-allocation. Thus whenever VkDeviceMemory
41 * (getMemory()) managed by Allocation is passed to Vulkan API calls,
46 * pointer, i.e. the pointer is already adjusted in case of sub-allocation.
48 * Memory mappings are managed solely by Allocation, i.e. unmapping or
49 * re-mapping VkDeviceMemory owned by Allocation is not allowed.
51 class Allocation
54 virtual ~Allocation (void)
    [all...]
  /external/swiftshader/src/Common/
Memory.cpp 60 struct Allocation
68 unsigned char *block = new unsigned char[bytes + sizeof(Allocation) + alignment];
73 aligned = (unsigned char*)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)alignment);
74 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); local
76 // allocation->bytes = bytes;
77 allocation->block = block;
100 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)) local
    [all...]
  /frameworks/rs/cpu_ref/
rsd_cpu.h 27 class Allocation;
58 const Allocation ** ains,
60 Allocation * aout,
66 const Allocation ** ains, uint32_t inLen,
67 Allocation *aout,
77 virtual void setGlobalBind(uint32_t slot, Allocation *data) = 0;
80 virtual Allocation * getAllocationForPointer(const void *ptr) const = 0;
106 virtual void setInput(const ScriptKernelID *kid, Allocation *) = 0;
107 virtual void setOutput(const ScriptKernelID *kid, Allocation *) = 0;
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
UT_alloc_supportlib.java 20 import android.renderscript.Allocation;
30 private Allocation mAFaces;
31 private Allocation mALOD;
32 private Allocation mAFacesLOD;
48 Allocation A = Allocation.createTyped(RS, T);
55 mAFaces = Allocation.createTyped(RS, mTFaces);
59 mALOD = Allocation.createTyped(RS, mTLOD);
63 mAFacesLOD = Allocation.createTyped(RS, mTFacesLOD);
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicResize.java 20 * Intrinsic for performing a resize of a 2D allocation.
23 private Allocation mInput;
50 * @param ain The input allocation.
52 public void setInput(Allocation ain) {
80 * Resize copy the input allocation to the output specified. The
81 * Allocation is rescaled if necessary using bi-cubic
84 * @param aout Output allocation. Element type must match
87 public void forEach_bicubic(Allocation aout) {
95 * Resize copy the input allocation to the output specified. The
96 * Allocation is rescaled if necessary using bi-cubi
    [all...]

Completed in 399 milliseconds

1 2 34 5 6 7 8 91011>>