/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
Grain.java | 21 import android.renderscript.Allocation; 33 private Allocation mNoise; 34 private Allocation mNoise2; 76 mNoise = Allocation.createTyped(mRS, tb.create()); 77 mNoise2 = Allocation.createTyped(mRS, tb.create());
|
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
RsYuv.java | 25 import android.renderscript.Allocation; 42 private Allocation mAllocationOut; 43 private Allocation mAllocationIn; 60 mAllocationOut = Allocation.createTyped(rs, tb.create()); 61 mAllocationIn = Allocation.createSized(rs, Element.U8(mRS), (mHeight * mWidth) +
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
RenderPass.java | 101 Allocation drawableData = Allocation.createSized(rs, 102 Element.ALLOCATION(rs), 104 Allocation[] drawableAllocs = new Allocation[mObjectsToDraw.size()];
|
SceneManager.java | 43 import android.renderscript.Allocation.MipmapControl; 54 HashMap<String, Allocation> mAllocationMap; 75 private Allocation mDefault2D; 76 private Allocation mDefaultCube; 85 private static Allocation getDefault(boolean isCube) { 99 Allocation.MipmapControl mip = Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE; 100 int usage = Allocation.USAGE_GRAPHICS_TEXTURE; 101 Allocation defaultImage = Allocation.createTyped(rs, bitmapType, mip, usage) [all...] |
/frameworks/rs/cpp/ |
Script.cpp | 25 #include "Allocation.h" 35 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, 50 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { 66 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
FillTest.java | 66 mTests[index].testName = Allocation.createFromString(mRS, 68 Allocation.USAGE_SCRIPT); 71 Allocation.USAGE_SCRIPT); 131 private Allocation loadTextureARGB(int id) { 133 return Allocation.createFromBitmap(mRS, b, 134 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 135 Allocation.USAGE_GRAPHICS_TEXTURE); 138 private Allocation loadTextureRGB(int id) { 139 return Allocation.createFromBitmapResource(mRS, mRes, id, 140 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE [all...] |
/frameworks/rs/driver/ |
rsdAllocation.cpp | 80 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, 92 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, 108 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { 149 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { 186 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { 209 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { 232 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, 244 size_t offsets[Allocation::MAX_LOD]; 281 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { 337 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) [all...] |
/external/webkit/Source/JavaScriptCore/jit/ |
ExecutableAllocator.cpp | 52 ExecutablePool::Allocation ExecutablePool::systemAlloc(size_t size) 54 PageAllocation allocation = PageAllocation::allocate(size, OSAllocator::JSJITCodePages, EXECUTABLE_POOL_WRITABLE, true); local 55 if (!allocation) 57 return allocation; 60 void ExecutablePool::systemRelease(ExecutablePool::Allocation& allocation) 62 allocation.deallocate();
|
/frameworks/base/graphics/java/android/renderscript/ |
ScriptIntrinsicConvolve3x3.java | 24 * Intrinsic for applying a 3x3 convolve to an allocation. 29 private Allocation mInput; 67 * @param ain The input allocation. 69 public void setInput(Allocation ain) { 97 * allocation. 99 * @param aout Output allocation. Must match creation element 102 public void forEach(Allocation aout) {
|
Mesh.java | 31 * allocation that is provided separately, as multiple allocation 89 Allocation[] mVertexBuffers; 90 Allocation[] mIndexBuffers; 111 * @return vertex data allocation at the given index 114 public Allocation getVertexAllocation(int slot) { 132 * @param slot locaton within the list of index set allocation 133 * @return allocation containing primtive index data or null if 137 public Allocation getIndexSetAllocation(int slot) { 163 mVertexBuffers = new Allocation[vtxCount] [all...] |
ScriptIntrinsicLUT.java | 31 private Allocation mTables; 37 mTables = Allocation.createSized(rs, Element.U8(rs), 1024); 126 * @param ain Input allocation 127 * @param aout Output allocation 129 public void forEach(Allocation ain, Allocation aout) {
|
/external/webkit/Source/WebCore/platform/gtk/ |
ScrollbarThemeGtk2.cpp | 149 // Themes determine how to draw the button (which button to draw) based on the allocation 150 // of the widget. Where the target rect is in relation to the total widget allocation 163 // Now we want the allocation to be relative to the origin of the painted rect. 165 GtkAllocation allocation; local 166 gtk_widget_get_allocation(widget, &allocation); 167 allocation.x = allocation.y = 0; 168 allocation.width = rect.width(); 169 allocation.height = rect.height(); 172 allocation.height = totalAllocation [all...] |
/frameworks/rs/ |
rsMesh.cpp | 45 mHal.state.indexBuffers = new Allocation *[mHal.state.indexBuffersCount]; 53 mHal.state.vertexBuffers = new Allocation *[mHal.state.vertexBuffersCount]; 58 mVertexBuffers = new ObjectBaseRef<Allocation>[mHal.state.vertexBuffersCount]; 59 mIndexBuffers = new ObjectBaseRef<Allocation>[mHal.state.primitivesCount]; 120 ObjectBaseRef<Allocation> *vertexBuffers = NULL; 122 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount]; 125 Allocation *vertexAlloc = Allocation::createFromStream(rsc, stream); 131 ObjectBaseRef<Allocation> *indexBuffers = NULL; 134 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount] [all...] |
rsAdapter.cpp | 28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { 62 Allocation * alloc = static_cast<Allocation *>(valloc); 99 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { 136 Allocation * alloc = static_cast<Allocation *>(valloc);
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
rsdAllocation.cpp | 40 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, 52 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, 58 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { 61 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { 64 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { 67 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, 79 size_t offsets[Allocation::MAX_LOD]; 116 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { 174 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { 185 void rsdAllocationResize(const Context *rsc, const Allocation *alloc [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
M4VSS3GPP_MediaAndCodecSubscription.c | 175 M4OSA_TRACE1_0("M4READER_3GP interface allocation error"); 191 M4OSA_TRACE1_0("M4READER_AMR interface allocation error"); 207 M4OSA_TRACE1_0("M4READER_MP3 interface allocation error"); 223 M4OSA_TRACE1_0("M4READER_PCM interface allocation error"); 243 M4OSA_TRACE1_0("M4DECODER_MPEG4 interface allocation error"); 255 M4OSA_TRACE1_0("M4DECODER_H264 interface allocation error"); 267 M4OSA_TRACE1_0("M4VD NULL Decoder interface allocation error"); 286 M4OSA_TRACE1_0("M4 AMRNB interface allocation error"); 300 M4OSA_TRACE1_0("M4 AAC interface allocation error"); 314 M4OSA_TRACE1_0("M4 MP3 interface allocation error") [all...] |
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
RsRenderStatesRS.java | 101 private Allocation mTexTorus; 102 private Allocation mTexOpaque; 103 private Allocation mTexTransparent; 104 private Allocation mTexChecker; 105 private Allocation mTexCube; 116 private Allocation mTextAlloc; 298 private Allocation loadTextureRGB(int id) { 299 return Allocation.createFromBitmapResource(mRS, mRes, id, 300 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 301 Allocation.USAGE_GRAPHICS_TEXTURE) [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
FullscreenBlur.java | 29 import android.renderscript.Allocation.MipmapControl;
62 int usage = Allocation.USAGE_GRAPHICS_TEXTURE | Allocation.USAGE_GRAPHICS_RENDER_TARGET;
63 sRenderTargetBlur0Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
64 sRenderTargetBlur1Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
65 sRenderTargetBlur2Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
70 usage = Allocation.USAGE_GRAPHICS_RENDER_TARGET;
71 sRenderTargetBlur0Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
72 sRenderTargetBlur1Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
73 sRenderTargetBlur2Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage)); [all...] |
/external/srtp/crypto/kernel/ |
alloc.c | 4 * memory allocation and deallocation 48 /* the debug module for memory allocation */ 77 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); 102 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); 115 #else /* we need to define our own memory allocation routines */ 117 #error no memory allocation defined yet
|
/external/valgrind/main/memcheck/tests/ |
origin1-yes.stderr.exp | 5 Uninitialised value was created by a stack allocation 12 Uninitialised value was created by a stack allocation 19 Uninitialised value was created by a stack allocation 26 Uninitialised value was created by a heap allocation 34 Uninitialised value was created by a heap allocation 42 Uninitialised value was created by a heap allocation
|
/external/webkit/Source/JavaScriptCore/heap/ |
MarkedBlock.cpp | 38 PageAllocationAligned allocation = PageAllocationAligned::allocate(blockSize, blockSize, OSAllocator::JSGCHeapPages); local 39 if (!static_cast<bool>(allocation)) 41 return new (allocation.base()) MarkedBlock(allocation, globalData, cellSize); 51 MarkedBlock::MarkedBlock(const PageAllocationAligned& allocation, JSGlobalData* globalData, size_t cellSize) 53 , m_allocation(allocation)
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicLUT.java | 29 private Allocation mTables; 35 mTables = Allocation.createSized(rs, Element.U8(rs), 1024); 124 * @param ain Input allocation 125 * @param aout Output allocation 127 public void forEach(Allocation ain, Allocation aout) {
|
/frameworks/support/renderscript/v8/rs_support/ |
rsAdapter.cpp | 28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { 62 Allocation * alloc = static_cast<Allocation *>(valloc); 99 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { 136 Allocation * alloc = static_cast<Allocation *>(valloc);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ScriptTest.java | 21 import android.renderscript.Allocation; 53 Allocation a = Allocation.createTyped(mRS, tb.create());
|
/frameworks/base/docs/html/reference/renderscript/ |
structrs__allocation.html | 32 <p>Opaque handle to a Renderscript allocation. 35 <div class="textblock"><p>Opaque handle to a Renderscript allocation. </p> 36 <p>See: android.renderscript.Allocation </p>
|