/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
Camera2Source.java | 32 import android.renderscript.Allocation; 54 public class Camera2Source extends Filter implements Allocation.OnBufferAvailableListener { 68 private Allocation mAllocationIn; 70 private Allocation mAllocationOut; 176 mAllocationIn = Allocation.createTyped(mRS, yuvBuilder.create(), 177 Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT); 183 mAllocationOut = Allocation.createFromBitmap(mRS, mBitmap); 266 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);
|
TextTest.java | 48 mTests[index].testName = Allocation.createFromString(mRS, 50 Allocation.USAGE_SCRIPT); 53 Allocation.USAGE_SCRIPT);
|
/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;
|
/art/runtime/gc/ |
heap-inl.h | 44 // Since allocation can cause a GC which will need to SuspendAll, make sure all allocations are 49 // Need to check that we arent the large object allocator since the large object allocation code 61 // If the large object allocation failed, try to use the normal spaces (main space, 72 // If we have a thread local allocation we don't need to update bytes allocated. 96 // If there is a pending exception, fail the allocation right away since the next one 99 // If the allocator changed, we need to restart the allocation. 117 // barrier, if a non-moving space allocation, we need a write 169 // The size of a thread-local allocation stack in the number of references. 262 // The allocation can't fail. 286 // Only if the allocation succeeded, record the time [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
ScriptYuvMeans2dTo1d.java | 30 * {@link ElementInfo#U8_3 U8_3} {@link Allocation allocations} into a 1D Hx1 31 * {@link ElementInfo#U8_3 U8_3} {@link Allocation allocation}.
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
SendToClient.java | 21 import android.renderscript.Allocation; 26 private Allocation mInAllocation; 57 mInAllocation = Allocation.createSized(mRS, Element.I32_4(mRS), 1);
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
LeakTest.java | 20 import android.renderscript.Allocation; 63 Allocation A = Allocation.createTyped(mRS, t);
|
/external/bison/lib/ |
vasnprintf.h | 1 /* vsprintf with automatic memory allocation. 46 if no dynamic memory allocation was necessary) and set *LENGTHP to the 50 When dynamic memory allocation occurs, the preallocated buffer is left
|
/external/chromium_org/content/common/gpu/ |
gpu_memory_manager.cc | 108 // allocation on desktop platforms. 278 // Send that allocation to the clients. 288 // Populate and send the allocation to the client 289 MemoryAllocation allocation; local 290 allocation.bytes_limit_when_visible = client_hard_limit_bytes_; 294 allocation.priority_cutoff_when_visible = 302 allocation.priority_cutoff_when_visible = 306 client_state->client_->SetMemoryAllocation(allocation); 316 MemoryAllocation allocation; local 319 allocation.bytes_limit_when_visible = client_hard_limit_bytes_ [all...] |
gpu_memory_manager_client.h | 22 // send it allocation information and query its properties). 33 // Sets buffer usage depending on Memory Allocation 35 const gpu::MemoryAllocation& allocation) = 0;
|
/external/chromium_org/v8/src/ |
allocation.h | 13 // Called when allocation routines fail to allocate. 75 // if allocation fails. 80 // Allocation policy for allocating in the C free store using malloc
|
/external/eigen/test/eigen2/ |
eigen2_nomalloc.cpp | 15 // discard stack allocation as that too bypasses malloc 17 // any heap allocation will raise an assert 24 /* this test check no dynamic memory allocation are issued with fixed-size matrices
|
/external/llvm/include/llvm/CodeGen/ |
CalcSpillWeights.h | 44 /// spill weight and allocation hint. 64 /// \brief (re)compute li's spill weight and allocation hint. 68 /// \brief Compute spill weights and allocation hints for all virtual register
|
/external/valgrind/main/memcheck/tests/ |
origin2-not-quite.stderr.exp | 6 Uninitialised value was created by a heap allocation 16 Uninitialised value was created by a heap allocation 26 Uninitialised value was created by a stack allocation
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
ColorCube.java | 21 import android.renderscript.Allocation; 33 private Allocation mCube; 52 mCube = Allocation.createTyped(mRS, t);
|
GroupTest.java | 21 import android.renderscript.Allocation; 35 private Allocation mScratchPixelsAllocation1; 78 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect);
|
Resize.java | 21 import android.renderscript.Allocation; 35 private Allocation mScratchAllocation; 51 mScratchAllocation = Allocation.createTyped(mRS, t);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
ColorCube.java | 21 import android.renderscript.Allocation; 33 private Allocation mCube; 52 mCube = Allocation.createTyped(mRS, t);
|
Resize.java | 21 import android.renderscript.Allocation; 35 private Allocation mScratchAllocation; 51 mScratchAllocation = Allocation.createTyped(mRS, t);
|
/frameworks/rs/ |
rsGrallocConsumer.h | 33 class Allocation; 47 GrallocConsumer(Allocation *, const sp<IGraphicBufferConsumer>& bq, int flags); 55 Allocation *mAlloc;
|
/frameworks/rs/tests/typecheck/ |
typecheck.cpp | 25 sp<Allocation> createAlloc(sp<RS> rs, sp<const Element> e) { 29 return Allocation::createTyped(rs, t); 37 sp<Allocation> a = createAlloc(rs, Element::ENAME(rs)); \
|
/hardware/intel/img/libdrm/shared-core/ |
xgi_drm.h | 64 * Memory region to be used for allocation. 73 * On successful allocation, set to the actual number of bytes 84 * Offset of the allocation in the mapping.
|
/ndk/docs/renderscript/ |
classandroid_1_1RSC_1_1ScriptIntrinsic3DLUT.html | 56 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsic3DLUT.html#ac33f9e12362112f24560205389db2eff">forEach</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > ain, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > aout)</td></tr> 57 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsic3DLUT.html#a14e28c25094206e8f49b42682d682927">setLUT</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > lut)</td></tr> 63 <div class="textblock"><p>Intrinsic for converting RGB to RGBA by using a 3D lookup table. The incoming r,g,b values are use as normalized x,y,z coordinates into a 3D allocation. The 8 nearest values are sampled and linearly interpolated. The result is placed in the output. </p> 103 <a class="anchor" id="ac33f9e12362112f24560205389db2eff"></a><!-- doxytag: member="android::RSC::ScriptIntrinsic3DLUT::forEach" ref="ac33f9e12362112f24560205389db2eff" args="(sp< Allocation > ain, sp< Allocation > aout)" --> 110 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 116 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 130 <tr><td class="paramdir">[in]</td><td class="paramname">ain</td><td>input <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> </td></tr> 131 <tr><td class="paramdir">[in]</td><td class="paramname">aout</td><td>output <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> </td></tr [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilter.java | 22 import android.support.v8.renderscript.Allocation; 71 public void apply(Allocation in, Allocation out) {
|