/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_allocation.c | 8 Allocation_t *alloc = (Allocation_t *)a.p; local 9 return alloc->mHal.state.dimensionX; 14 Allocation_t *alloc = (Allocation_t *)a.p; local 15 return alloc->mHal.state.dimensionY; 20 Allocation_t *alloc = (Allocation_t *)a.p; local 21 return alloc->mHal.state.dimensionZ; 26 Allocation_t *alloc = (Allocation_t *)a.p; local 27 return alloc->mHal.state.hasMipmaps; 32 Allocation_t *alloc = (Allocation_t *)a.p; local 33 return alloc 38 Allocation_t *alloc = (Allocation_t *)a.p; local 46 Allocation_t *alloc = (Allocation_t *)a.p; local 55 Allocation_t *alloc = (Allocation_t *)a.p; local 65 Allocation_t *alloc = (Allocation_t *)a.p; local [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 80 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, argument 83 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; 87 ptr += xoff * alloc->mHal.state.elementSizeBytes; 92 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, argument 95 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; 101 if (alloc->mHal.state.hasFaces) { 108 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { argument 109 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; 115 if (alloc->mHal.state.hasFaces) { 121 for (uint32_t lod = 0; lod < alloc 149 UploadToTexture(const Context *rsc, const Allocation *alloc) argument 186 AllocateRenderTarget(const Context *rsc, const Allocation *alloc) argument 209 UploadToBufferObject(const Context *rsc, const Allocation *alloc) argument 232 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument 281 rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) argument 337 rsdAllocationDestroy(const Context *rsc, Allocation *alloc) argument 367 rsdAllocationResize(const Context *rsc, const Allocation *alloc, const Type *newType, bool zeroNew) argument 391 rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) argument 422 rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src) argument 457 rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) argument 462 rsdAllocationInitSurfaceTexture(const Context *rsc, const Allocation *alloc) argument 468 IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument 492 rsdAllocationSetSurfaceTexture(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument 545 rsdAllocationIoSend(const Context *rsc, Allocation *alloc) argument 568 rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) argument 574 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 592 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument 619 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) argument 626 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 636 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument 658 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) argument 665 rsdAllocationLock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument 671 rsdAllocationUnlock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument 729 rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc, uint32_t x, const void *data, uint32_t cIdx, uint32_t sizeBytes) argument 749 rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, uint32_t sizeBytes) argument 769 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 788 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 807 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 826 rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) argument [all...] |
H A D | rsdAllocation.h | 72 android::renderscript::Allocation *alloc, 75 android::renderscript::Allocation *alloc); 78 const android::renderscript::Allocation *alloc, 81 const android::renderscript::Allocation *alloc, 84 const android::renderscript::Allocation *alloc); 86 const android::renderscript::Allocation *alloc); 88 android::renderscript::Allocation *alloc, ANativeWindow *nw); 90 android::renderscript::Allocation *alloc); 92 android::renderscript::Allocation *alloc); 95 const android::renderscript::Allocation *alloc, [all...] |
H A D | rsdIntrinsicYuvToRGB.cpp | 28 ObjectBaseRef<Allocation> alloc; member in struct:YuvParams 35 cp->alloc.set(data); 89 if (!cp->alloc.get()) { 93 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
H A D | rsdMeshObj.cpp | 136 const Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[ct]; local 137 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; 139 rsdAllocationSyncAll(rsc, alloc, RS_ALLOCATION_USAGE_SCRIPT); 146 Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[allocIndex]; local 147 DrvAllocation *drvAlloc = (DrvAllocation *)alloc->mHal.drv; 154 mAttribs[ct].ptr = (const uint8_t*)alloc->mHal.drvState.mallocPtrLOD0;
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdAllocation.cpp | 40 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, argument 43 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; 47 ptr += xoff * alloc->mHal.state.elementSizeBytes; 52 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, argument 58 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { argument 61 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { argument 64 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { argument 67 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, argument 70 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; 105 alloc 116 rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) argument 174 rsdAllocationDestroy(const Context *rsc, Allocation *alloc) argument 185 rsdAllocationResize(const Context *rsc, const Allocation *alloc, const Type *newType, bool zeroNew) argument 209 rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) argument 213 rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src) argument 248 rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) argument 253 rsdAllocationInitSurfaceTexture(const Context *rsc, const Allocation *alloc) argument 257 rsdAllocationSetSurfaceTexture(const Context *rsc, Allocation *alloc, ANativeWindow *nw) argument 260 rsdAllocationIoSend(const Context *rsc, Allocation *alloc) argument 263 rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) argument 267 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 285 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument 312 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) argument 319 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 329 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument 351 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) argument 358 rsdAllocationLock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument 364 rsdAllocationUnlock1D(const android::renderscript::Context *rsc, const android::renderscript::Allocation *alloc) argument 422 rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc, uint32_t x, const void *data, uint32_t cIdx, uint32_t sizeBytes) argument 442 rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, uint32_t sizeBytes) argument 462 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 481 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 500 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 519 rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) argument [all...] |
H A D | rsdAllocation.h | 69 android::renderscript::Allocation *alloc, 72 android::renderscript::Allocation *alloc); 75 const android::renderscript::Allocation *alloc, 78 const android::renderscript::Allocation *alloc, 81 const android::renderscript::Allocation *alloc); 84 const android::renderscript::Allocation *alloc, 88 const android::renderscript::Allocation *alloc, 93 const android::renderscript::Allocation *alloc, 99 const android::renderscript::Allocation *alloc, 103 const android::renderscript::Allocation *alloc, [all...] |
H A D | rsdIntrinsicYuvToRGB.cpp | 28 ObjectBaseRef<Allocation> alloc; member in struct:YuvParams 35 cp->alloc.set(data); 89 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
|
/frameworks/native/libs/utils/ |
H A D | SharedBuffer.cpp | 27 SharedBuffer* SharedBuffer::alloc(size_t size) function in class:android::SharedBuffer 50 SharedBuffer* sb = alloc(mSize); 69 SharedBuffer* sb = alloc(newSize); 89 SharedBuffer* sb = alloc(new_size);
|
/frameworks/rs/ |
H A D | rs_hal.h | 140 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 141 void (*destroy)(const Context *rsc, Allocation *alloc); 143 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 145 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 146 void (*markDirty)(const Context *rsc, const Allocation *alloc); 148 int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *alloc); 149 void (*setSurfaceTexture)(const Context *rsc, Allocation *alloc, ANativeWindow *sur); 150 void (*ioSend)(const Context *rsc, Allocation *alloc); 151 void (*ioReceive)(const Context *rsc, Allocation *alloc); 153 void (*data1D)(const Context *rsc, const Allocation *alloc, [all...] |
H A D | rsProgram.cpp | 139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { argument 140 if (alloc != NULL) { 142 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but const count is %u", 147 if (alloc->getType() != mConstantTypes[slot].get()) { 148 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but types mismatch", 154 if (mConstants[slot].get() == alloc) { 160 mConstants[slot].set(alloc); 161 mHal.state.constants[slot] = alloc; 162 if (alloc) { 163 alloc [all...] |
H A D | rsAdapter.cpp | 62 Allocation * alloc = static_cast<Allocation *>(valloc); local 63 a->setAllocation(alloc); 136 Allocation * alloc = static_cast<Allocation *>(valloc); local 137 a->setAllocation(alloc);
|
H A D | rsPath.h | 59 void rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc);
|
H A D | rsAllocation.cpp | 46 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); 355 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); local 361 uint32_t packedSize = alloc->getPackedSize(); 365 ObjectBase::checkDelete(alloc); 370 alloc->setName(name.string(), name.size()); 375 alloc->data(rsc, 0, 0, count, stream->getPtr() + stream->getPos(), dataSize); 377 alloc->unpackVec3Allocation(rsc, stream->getPtr() + stream->getPos(), dataSize); 381 return alloc; 493 Allocation *alloc = static_cast<Allocation *>(va); local 494 rsc->mHal.funcs.allocation.generateMipmaps(rsc, alloc); 553 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mips, (void *)ptr); local 639 Allocation *alloc = static_cast<Allocation *>(valloc); local 644 Allocation *alloc = static_cast<Allocation *>(valloc); local 649 Allocation *alloc = static_cast<Allocation *>(valloc); local 654 Allocation *alloc = static_cast<Allocation *>(valloc); local 659 Allocation *alloc = static_cast<Allocation *>(valloc); local [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rs_hal.h | 140 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 141 void (*destroy)(const Context *rsc, Allocation *alloc); 143 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 145 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 146 void (*markDirty)(const Context *rsc, const Allocation *alloc); 148 int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *alloc); 149 void (*setSurfaceTexture)(const Context *rsc, Allocation *alloc, ANativeWindow *sur); 150 void (*ioSend)(const Context *rsc, Allocation *alloc); 151 void (*ioReceive)(const Context *rsc, Allocation *alloc); 153 void (*data1D)(const Context *rsc, const Allocation *alloc, [all...] |
H A D | rsAdapter.cpp | 62 Allocation * alloc = static_cast<Allocation *>(valloc); local 63 a->setAllocation(alloc); 136 Allocation * alloc = static_cast<Allocation *>(valloc); local 137 a->setAllocation(alloc);
|
/frameworks/support/renderscript/v8/jni/ |
H A D | android_renderscript_RenderScript.cpp | 332 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) argument 334 LOG_API("nAllocationGenerateMipmaps, con(%p), a(%p)", con, (RsAllocation)alloc); 335 rsAllocationGenerateMipmaps(con, (RsAllocation)alloc); 384 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument 394 rsAllocation2DData(con, (RsAllocation)alloc, 0, 0, 402 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument 412 rsAllocationCopyToBitmap(con, (RsAllocation)alloc, pixels, GetBitmapSize(_env, jbitmap)); 420 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) argument 423 LOG_API("nAllocation1DData_i, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 425 rsAllocation1DData(con, (RsAllocation)alloc, offse 430 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) argument 440 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) argument 450 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) argument 461 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes) argument 471 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jshortArray data, int sizeBytes) argument 482 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jbyteArray data, int sizeBytes) argument 493 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jintArray data, int sizeBytes) argument 504 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument 539 nAllocationRead_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jintArray data) argument 550 nAllocationRead_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jshortArray data) argument 561 nAllocationRead_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jbyteArray data) argument 572 nAllocationRead_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jfloatArray data) argument 590 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument 597 nAllocationResize2D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX, jint dimY) argument 606 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument [all...] |
/frameworks/compile/libbcc/runtime/BlocksRuntime/ |
H A D | Block_private.h | 131 BLOCK_EXPORT void _Block_use_GC( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject), 138 BLOCK_EXPORT void _Block_use_GC5( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject),
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScript.java | 280 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); argument 281 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { argument 283 rsnAllocationCopyToBitmap(mContext, alloc, bmp); 287 native void rsnAllocationSyncAll(int con, int alloc, int src); argument 288 synchronized void nAllocationSyncAll(int alloc, int src) { argument 290 rsnAllocationSyncAll(mContext, alloc, src); 292 native int rsnAllocationGetSurfaceTextureID(int con, int alloc); argument 293 synchronized int nAllocationGetSurfaceTextureID(int alloc) { argument 295 return rsnAllocationGetSurfaceTextureID(mContext, alloc); 297 native void rsnAllocationGetSurfaceTextureID2(int con, int alloc, SurfaceTextur argument 298 nAllocationGetSurfaceTextureID2(int alloc, SurfaceTexture st) argument 302 rsnAllocationSetSurface(int con, int alloc, Surface sur) argument 303 nAllocationSetSurface(int alloc, Surface sur) argument 307 rsnAllocationIoSend(int con, int alloc) argument 308 nAllocationIoSend(int alloc) argument 312 rsnAllocationIoReceive(int con, int alloc) argument 313 nAllocationIoReceive(int alloc) argument 319 rsnAllocationGenerateMipmaps(int con, int alloc) argument 320 nAllocationGenerateMipmaps(int alloc) argument 324 rsnAllocationCopyFromBitmap(int con, int alloc, Bitmap bmp) argument 325 nAllocationCopyFromBitmap(int alloc, Bitmap bmp) argument 489 rsnScriptBindAllocation(int con, int script, int alloc, int slot) argument 490 nScriptBindAllocation(int script, int alloc, int slot) argument 588 rsnScriptGroupSetInput(int con, int group, int kernel, int alloc) argument 589 nScriptGroupSetInput(int group, int kernel, int alloc) argument 594 rsnScriptGroupSetOutput(int con, int group, int kernel, int alloc) argument 595 nScriptGroupSetOutput(int group, int kernel, int alloc) argument [all...] |
H A D | AllocationAdapter.java | 28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) { argument 29 super(id, rs, alloc.mType, alloc.mUsage); 30 mAdaptedAllocation = alloc;
|
H A D | Mesh.java | 361 Allocation alloc = null; 364 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 366 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 368 vertexBuffers[ct] = alloc; 369 vtx[ct] = alloc.getID(mRS); 373 Allocation alloc = null; 376 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 378 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 380 int allocID = (alloc == null) ? 0 : alloc [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 490 nAllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur) argument 492 LOG_API("nAllocationSetSurface, con(%p), alloc(%p), surface(%p)", 493 con, alloc, (Surface *)sur); 500 rsAllocationSetSurface(con, alloc, static_cast<ANativeWindow *>(s.get())); 504 nAllocationIoSend(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc) argument 506 LOG_API("nAllocationIoSend, con(%p), alloc(%p)", con, alloc); 507 rsAllocationIoSend(con, alloc); 511 nAllocationIoReceive(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc) argument 513 LOG_API("nAllocationIoReceive, con(%p), alloc( 519 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) argument 558 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument 575 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument 596 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) argument 606 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) argument 616 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) argument 626 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) argument 637 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes) argument 647 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jshortArray data, int sizeBytes) argument 658 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jbyteArray data, int sizeBytes) argument 669 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jintArray data, int sizeBytes) argument 680 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument 715 nAllocationRead_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jintArray data) argument 726 nAllocationRead_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jshortArray data) argument 737 nAllocationRead_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jbyteArray data) argument 748 nAllocationRead_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jfloatArray data) argument 766 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument 773 nAllocationResize2D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX, jint dimY) argument 905 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument 1128 nScriptGroupSetInput(JNIEnv *_env, jobject _this, RsContext con, jint gid, jint kid, jint alloc) argument 1136 nScriptGroupSetOutput(JNIEnv *_env, jobject _this, RsContext con, jint gid, jint kid, jint alloc) argument [all...] |
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
H A D | FakeBackgroundService.java | 49 int[] alloc = new int[FakeApp.PAGE_SIZE/4]; 50 mAllocs.add(alloc); 53 alloc[j] = VAL;
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | AllocationAdapter.java | 28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) { argument 29 super(id, rs, alloc.mType, alloc.mUsage); 30 mAdaptedAllocation = alloc;
|
H A D | RenderScript.java | 211 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); argument 212 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { argument 214 rsnAllocationCopyToBitmap(mContext, alloc, bmp); 218 native void rsnAllocationSyncAll(int con, int alloc, int src); argument 219 synchronized void nAllocationSyncAll(int alloc, int src) { argument 221 rsnAllocationSyncAll(mContext, alloc, src); 225 native void rsnAllocationGenerateMipmaps(int con, int alloc); argument 226 synchronized void nAllocationGenerateMipmaps(int alloc) { argument 228 rsnAllocationGenerateMipmaps(mContext, alloc); 230 native void rsnAllocationCopyFromBitmap(int con, int alloc, Bitma argument 231 nAllocationCopyFromBitmap(int alloc, Bitmap bmp) argument 347 rsnScriptBindAllocation(int con, int script, int alloc, int slot) argument 348 nScriptBindAllocation(int script, int alloc, int slot) argument 446 rsnScriptGroupSetInput(int con, int group, int kernel, int alloc) argument 447 nScriptGroupSetInput(int group, int kernel, int alloc) argument 452 rsnScriptGroupSetOutput(int con, int group, int kernel, int alloc) argument 453 nScriptGroupSetOutput(int group, int kernel, int alloc) argument [all...] |