/frameworks/rs/ |
rsScript.cpp | 44 void Script::setSlot(uint32_t slot, Allocation *a) { 47 ALOGE("Script::setSlot unable to set allocation, invalid slot index"); 59 ALOGE("Script::setVar unable to set allocation, invalid slot index"); 68 ALOGE("Script::getVar unable to set allocation, invalid slot index"); 77 ALOGE("Script::setVar unable to set allocation, invalid slot index"); 87 ALOGE("Script::setVarObj unable to set allocation, invalid slot index"); 157 Allocation *a = static_cast<Allocation *>(va); 193 static_cast<const Allocation *>(vain), static_cast<Allocation *>(vaout) [all...] |
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
PhaseBeamRS.java | 7 import android.renderscript.Allocation; 42 private Allocation mDotAllocation; 43 private Allocation mBeamAllocation; 178 private Allocation loadTexture(int id) { 179 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id, local 180 Allocation.MipmapControl.MIPMAP_NONE, 181 Allocation.USAGE_GRAPHICS_TEXTURE); 182 return allocation; [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
ralloc.h | 30 * objects. Every allocation is in reference to some parent, and 32 * subsequent allocation. This allows for extremely convenient 97 * This is the core allocation routine which is used by all others. It 117 * \param ctx The context to use for new allocation. If \p ptr != NULL, 171 * \param ctx The context to use for new allocation. If \p ptr != NULL, 210 * \param ctx The context to use for new allocation. If \p ptr != NULL, 216 * \return True unless allocation failed. 275 * new pointer unless allocation fails. 279 * \return True unless allocation failed. 288 * new pointer unless allocation fails [all...] |
/external/mesa3d/src/glsl/ |
ralloc.h | 30 * objects. Every allocation is in reference to some parent, and 32 * subsequent allocation. This allows for extremely convenient 97 * This is the core allocation routine which is used by all others. It 117 * \param ctx The context to use for new allocation. If \p ptr != NULL, 171 * \param ctx The context to use for new allocation. If \p ptr != NULL, 210 * \param ctx The context to use for new allocation. If \p ptr != NULL, 216 * \return True unless allocation failed. 275 * new pointer unless allocation fails. 279 * \return True unless allocation failed. 288 * new pointer unless allocation fails [all...] |
/external/qemu/memcheck/ |
memcheck_malloc_map.c | 28 /* Allocation descriptor stored in the map. */ 33 /* Allocation descriptor for this entry. */ 41 /* Gets address of the beginning of an allocation block for the given entry in 44 * adesc - Entry in the allocation descriptors map. 46 * Address of the beginning of an allocation block for the given entry in the 55 /* Gets address of the end of an allocation block for the given entry in 58 * adesc - Entry in the allocation descriptors map. 60 * Address of the end of an allocation block for the given entry in the map. 72 /* Compare routine for the allocation descriptors map. 101 /* Inserts new (or replaces existing) entry into allocation descriptors map [all...] |
/frameworks/base/docs/html/reference/renderscript/ |
rs__allocation_8rsh.html | 59 <div class="textblock"><p>Allocation routines. </p> 117 <p>Copy part of an allocation from another allocation.</p> 120 <tr><td class="paramname">dstAlloc</td><td>Allocation to copy data into. </td></tr> 121 <tr><td class="paramname">dstOff</td><td>The offset of the first element to be copied in the destination allocation. </td></tr> 122 <tr><td class="paramname">dstMip</td><td>Mip level in the destination allocation. </td></tr> 124 <tr><td class="paramname">srcAlloc</td><td>The source data allocation. </td></tr> 125 <tr><td class="paramname">srcOff</td><td>The offset of the first element in data to be copied in the source allocation. </td></tr> 126 <tr><td class="paramname">srcMip</td><td>Mip level in the source allocation. </td></tr> 217 <p>Copy a rectangular region into the allocation from another allocation.</p [all...] |
/device/asus/flo/ |
media_codecs.xml | 22 <Quirk name="requires-loaded-to-idle-after-allocation"/> 27 <Quirk name="requires-loaded-to-idle-after-allocation"/> 32 <Quirk name="requires-loaded-to-idle-after-allocation"/> 51 <Quirk name="defers-output-buffer-allocation"/> 56 <Quirk name="defers-output-buffer-allocation"/> 61 <Quirk name="defers-output-buffer-allocation"/> 66 <Quirk name="defers-output-buffer-allocation"/>
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
AudioArray.h | 52 // It's OK to call allocate() multiple times, but data will *not* be copied from an initial allocation 83 T* allocation = static_cast<T*>(fastMalloc(initialSize + extraAllocationBytes)); local 84 if (!allocation) 86 T* alignedData = alignedAddress(allocation, alignment); 88 if (alignedData == allocation || extraAllocationBytes == alignment) { 89 m_allocation = allocation; 96 fastFree(allocation);
|
/external/chromium_org/third_party/angle/src/compiler/ |
PoolAlloc.cpp | 139 snprintf(assertMsg, sizeof(assertMsg), "PoolAlloc: Damage %s %Iu byte allocation at 0x%p\n", 142 snprintf(assertMsg, sizeof(assertMsg), "PoolAlloc: Damage %s %zu byte allocation at 0x%p\n", 180 // invoke destructor to free allocation list 215 // them: [guardblock][allocation][guardblock]. numBytes is how 225 // Do the allocation, most likely case first, for efficiency. 241 // Do a multi-page allocation. Don't mix these with the others. 257 currentPageOffset = pageSize; // make next allocation come from a new page
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
ustr.c | 28 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1)) 48 ustr_resize(s, ALLOCATION(length), status); 87 ustr_resize(dst, ALLOCATION(src->fLength), status); 108 ustr_resize(s, ALLOCATION(len), status); 135 ustr_resize(dst, ALLOCATION(dst->fLength + n), status); 155 ustr_resize(dst, ALLOCATION(dst->fLength + 1), status); 187 ustr_resize(dst, ALLOCATION(dst->fLength + len), status);
|
/external/icu4c/tools/genrb/ |
ustr.c | 29 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1)) 49 ustr_resize(s, ALLOCATION(length), status); 88 ustr_resize(dst, ALLOCATION(src->fLength), status); 109 ustr_resize(s, ALLOCATION(len), status); 136 ustr_resize(dst, ALLOCATION(dst->fLength + n), status); 156 ustr_resize(dst, ALLOCATION(dst->fLength + 1), status); 188 ustr_resize(dst, ALLOCATION(dst->fLength + len), status);
|
/frameworks/base/docs/html/sdk/api_diff/19/changes/ |
android.renderscript.Allocation.html | 10 android.renderscript.Allocation 74 Class android.renderscript.<A HREF="../../../../reference/android/renderscript/Allocation.html" target="_top"><font size="+2"><code>Allocation</code></font></A> 86 <A NAME="android.renderscript.Allocation.setOnBufferAvailableListener_added(android.renderscript.Allocation.OnBufferAvailableListener)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/renderscript/Allocation.html#setOnBufferAvailableListener(android.renderscript.Allocation.OnBufferAvailableListener)" target="_top"><code>setOnBufferAvailableListener</code></A>(<code>OnBufferAvailableListener</code>)</nobr>
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
GenericWaveRS.java | 57 protected Allocation mPointAlloc; 70 private Allocation mTexture; 111 // set our java object as the data for the renderscript allocation 140 // Create the Allocation for the vertices 153 mTexture = Allocation.createFromBitmapResource(mRS, mResources, mTexId, 154 Allocation.MipmapControl.MIPMAP_NONE, 155 Allocation.USAGE_GRAPHICS_TEXTURE);
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
advanced.jd | 23 <a href="#mem-allocation">Memory Allocation APIs</a> 73 <li>Memory allocation request features</li> 341 lets you specify the memory space of this memory allocation. There are four memory space 345 <li>{@link android.renderscript.Allocation#USAGE_SCRIPT}: Allocates in the script memory 348 <li>{@link android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE}: Allocates in the 351 <li>{@link android.renderscript.Allocation#USAGE_GRAPHICS_VERTEX}: Allocates in the vertex 354 <li>{@link android.renderscript.Allocation#USAGE_GRAPHICS_CONSTANTS}: Allocates in the 364 Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_VERTEX) [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
ScriptIntrinsicColorMatrix.java | 31 * writing it to the output {@link Allocation}. 52 * allocation. 71 * allocation. 214 * {@link Allocation} and copy to the output {@link Allocation}. 224 * @param ain Input allocation 225 * @param aout Output allocation 227 public void forEach(Allocation ain, Allocation aout) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
Camera2Source.java | 30 import android.renderscript.Allocation; 51 public class Camera2Source extends Filter implements Allocation.OnBufferAvailableListener { 64 private Allocation mAllocationIn; 66 private Allocation mAllocationOut; 170 mAllocationIn = Allocation.createTyped(mRS, yuvBuilder.create(), 171 Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT); 177 mAllocationOut = Allocation.createFromBitmap(mRS, mBitmap); 255 public void onBufferAvailable(Allocation a) {
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
TorusTest.java | 26 import android.renderscript.Allocation.MipmapControl; 65 private Allocation mTexTorus; 98 mTests[index].testName = Allocation.createFromString(mRS, 100 Allocation.USAGE_SCRIPT); 103 Allocation.USAGE_SCRIPT); 231 private Allocation loadTextureRGB(int id) { 232 return Allocation.createFromBitmapResource(mRS, mRes, id, 233 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 234 Allocation.USAGE_GRAPHICS_TEXTURE);
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
NoiseFieldRS.java | 6 import android.renderscript.Allocation; 45 private Allocation mDotAllocation; 163 private Allocation loadTexture(int id) { 164 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id, local 165 Allocation.MipmapControl.MIPMAP_NONE, 166 Allocation.USAGE_GRAPHICS_TEXTURE); 167 return allocation;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AcosPiTest.java | 20 import android.renderscript.Allocation; 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
AcosTest.java | 20 import android.renderscript.Allocation; 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
AcoshTest.java | 20 import android.renderscript.Allocation; 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
AsinPiTest.java | 20 import android.renderscript.Allocation; 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
AsinTest.java | 20 import android.renderscript.Allocation; 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
AsinhTest.java | 20 import android.renderscript.Allocation; 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
AtanPiTest.java | 20 import android.renderscript.Allocation; 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|