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

<<11121314151617181920>>

  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Copy.java 21 import android.renderscript.Allocation;
Greyscale.java 21 import android.renderscript.Allocation;
  /frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/
MathErrActivity.java 22 import android.renderscript.Allocation;
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_script_group2_float.java 18 import android.renderscript.Allocation;
45 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE);
75 ((Allocation) group.execute(input)[0]).copyTo(a);
UT_script_group2_gatherscatter.java 18 import android.renderscript.Allocation;
67 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
98 ((Allocation) group.execute(input)[0]).copyTo(a);
UT_script_group2_nochain.java 18 import android.renderscript.Allocation;
46 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
74 ((Allocation) group.execute(input)[0]).copyTo(a);
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_script_group2_float.java 20 import android.support.v8.renderscript.Allocation;
47 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE);
77 ((Allocation) group.execute(input)[0]).copyTo(a);
UT_script_group2_gatherscatter.java 20 import android.support.v8.renderscript.Allocation;
69 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
100 ((Allocation) group.execute(input)[0]).copyTo(a);
UT_script_group2_nochain.java 20 import android.support.v8.renderscript.Allocation;
48 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
76 ((Allocation) group.execute(input)[0]).copyTo(a);
  /frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
MainActivity.java 66 RenderScript rs, ScriptC_reduce_auto_comb s, Allocation alloc) {
74 private float findMinUserType(RenderScript rs, ScriptC_reduce s, Allocation alloc) {
91 Allocation alloc = minUserType.getAllocation();
105 Allocation alloc = minUserType.getAllocation();
  /development/samples/RenderScript/Levels/src/com/android/rs/levels/
LevelsRSActivity.java 26 import android.renderscript.Allocation;
63 private Allocation mInPixelsAllocation;
64 private Allocation mOutPixelsAllocation;
171 mInPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapIn,
172 Allocation.MipmapControl.MIPMAP_NONE,
173 Allocation.USAGE_SCRIPT);
174 mOutPixelsAllocation = Allocation.createTyped(mRS, mInPixelsAllocation.getType(),
175 Allocation.USAGE_SCRIPT |
176 Allocation.USAGE_IO_OUTPUT);
  /development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
MainActivity.java 44 private Allocation mInAllocation;
45 private Allocation[] mOutAllocations;
155 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn);
157 mOutAllocations = new Allocation[NUM_BITMAPS];
159 mOutAllocations[i] = Allocation.createFromBitmap(mRS, mBitmapsOut[i]);
176 private void performFilter(Allocation inAllocation,
177 Allocation outAllocation, Bitmap bitmapOut, float value) {
351 Allocation inAllocation = Allocation.createFromBitmap(mRS, tempBitmap);
363 Allocation outAllocation = Allocation.createFromBitmap(mRS, destBitpmap)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
CachingPipeline.java 27 import android.renderscript.Allocation;
56 private volatile Allocation mOriginalAllocation = null;
57 private volatile Allocation mFiltersOnlyOriginalAllocation = null;
59 protected volatile Allocation mInPixelsAllocation;
60 protected volatile Allocation mOutPixelsAllocation;
197 Allocation filtersOnlyOriginalAllocation = mFiltersOnlyOriginalAllocation;
198 mFiltersOnlyOriginalAllocation = Allocation.createFromBitmap(RS, originalBitmap,
199 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT);
204 Allocation originalAllocation = mOriginalAllocation
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationByteBufferTest.java 22 import android.renderscript.Allocation;
36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) {
45 return Allocation.createTyped(mRS, t);
56 Allocation alloc = createTypedAllocation(dt, size, dimX, dimY);
91 Allocation alloc = Allocation.createTyped(mRS, t);
111 Allocation alloc = Allocation.createTyped(mRS, t);
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiBufferComputeInstance.hpp 42 de::MovePtr<vk::Allocation>* outAllocation);
48 de::MovePtr<vk::Allocation>* outAllocation,
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMakeUtil.cpp 282 MovePtr<Allocation> bindImage (const DeviceInterface& vk, const VkDevice device, Allocator& allocator, const VkImage image, const MemoryRequirement requirement)
284 MovePtr<Allocation> alloc = allocator.allocate(getImageMemoryRequirements(vk, device, image), requirement);
289 MovePtr<Allocation> bindBuffer (const DeviceInterface& vk, const VkDevice device, Allocator& allocator, const VkBuffer buffer, const MemoryRequirement requirement)
291 MovePtr<Allocation> alloc(allocator.allocate(getBufferMemoryRequirements(vk, device, buffer), requirement));
296 MovePtr<Allocation> bindImageDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice physDevice, const VkDevice device, const VkImage image, const MemoryRequirement requirement)
298 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, image, requirement));
303 MovePtr<Allocation> bindBufferDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice physDevice, const VkDevice device, const VkBuffer buffer, const MemoryRequirement requirement)
305 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, buffer, requirement));
vktPipelineMakeUtil.hpp 48 vk::Allocation& getAllocation (void) const { return *m_allocation; }
52 const de::UniquePtr<vk::Allocation> m_allocation;
69 vk::Allocation& getAllocation (void) const { return *m_allocation; }
73 const de::UniquePtr<vk::Allocation> m_allocation;
89 de::MovePtr<vk::Allocation> bindImage (const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkImage image, const vk::MemoryRequirement requirement);
90 de::MovePtr<vk::Allocation> bindBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
91 de::MovePtr<vk::Allocation> bindImageDedicated (const vk::InstanceInterface& vki, const vk::DeviceInterface& vkd, const vk::VkPhysicalDevice physDevice, const vk::VkDevice device, const vk::VkImage image, const vk::MemoryRequirement requirement);
92 de::MovePtr<vk::Allocation> bindBufferDedicated (const vk::InstanceInterface& vki, const vk::DeviceInterface& vkd, const vk::VkPhysicalDevice physDevice, const vk::VkDevice device, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
  /external/valgrind/drd/tests/
read_and_free_race.stderr.exp 8 Address 0x........ is at offset 0 from 0x......... Allocation context:
  /frameworks/compile/slang/tests/P_reflection3264_multifile/
ScriptC_reflection3264_multifile_1.java.expect 42 __ALLOCATION = Element.ALLOCATION(rs);
72 private Allocation[] mExportVar_b;
73 public synchronized void set_b(Allocation[] v) {
85 public Allocation[] get_b() {
98 public void invoke_f(int c, Allocation d, int e) {
  /frameworks/rs/
rsProgram.cpp 42 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount];
46 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount];
48 mHal.state.textures = new Allocation*[mHal.state.texturesCount];
53 mHal.state.constants = new Allocation*[mHal.state.constantsCount];
152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) {
157 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation");
163 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation");
181 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) {
214 p->bindAllocation(rsc, static_cast<Allocation *>(constants), slot);
219 p->bindTexture(rsc, slot, static_cast<Allocation *>(a))
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Resize.java 25 private Allocation mScratchAllocation;
41 mScratchAllocation = Allocation.createTyped(mRS, t);
  /frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_foreach.java 25 private Allocation A;
39 A = Allocation.createTyped(RS, typeBuilder.create());
UT_foreach_bounds.java 25 private Allocation A;
39 A = Allocation.createTyped(RS, typeBuilder.create());
UT_kernel_struct.java 26 private Allocation A;
27 private Allocation B;
UT_noroot.java 25 private Allocation A;
39 A = Allocation.createTyped(RS, typeBuilder.create());

Completed in 1321 milliseconds

<<11121314151617181920>>