Home
last modified time | relevance | path

Searched defs:alloc (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_alloc_copyPadded.java93 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D() local
125 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D() local
158 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D() local
192 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_1D() local
227 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_2D() local
263 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_3D() local
297 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_1D() local
332 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_2D() local
368 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_3D() local
402 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Float3_1D() local
[all …]
DUT_alloc_copy.java68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte() local
110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short() local
152 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int() local
194 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Float() local
236 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Long() local
280 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Byte() local
318 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Short() local
356 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Int() local
394 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Float() local
432 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Long() local
[all …]
DUT_apitest.java46 Allocation alloc = Allocation.createTyped(pRS, type); in run() local
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copyPadded.java93 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D() local
125 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D() local
158 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D() local
192 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_1D() local
227 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_2D() local
263 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_3D() local
297 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_1D() local
332 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_2D() local
368 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_3D() local
402 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Float3_1D() local
[all …]
DUT_alloc_copy.java68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte() local
110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short() local
152 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int() local
194 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Float() local
236 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Long() local
280 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Byte() local
318 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Short() local
356 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Int() local
394 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Float() local
432 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Long() local
[all …]
DUT_apitest.java46 Allocation alloc = Allocation.createTyped(pRS, type); in run() local
/frameworks/rs/driver/
DrsdAllocation.cpp91 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, in GetOffsetPtr()
103 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture()
122 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture()
164 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture()
202 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget()
227 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject()
305 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
361 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
378 bool rsdAllocationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t require… in rsdAllocationInitStrided()
502 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit()
[all …]
DrsdMeshObj.cpp136 const Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[ct]; in renderPrimitiveRange() local
146 Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[allocIndex]; in renderPrimitiveRange() local
DrsdSampler.cpp45 const Sampler *alloc, in rsdSamplerUpdateCachedObject()
/frameworks/rs/driver/runtime/
Drs_allocation.c7 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimX() local
13 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimY() local
19 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimZ() local
25 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimLOD() local
31 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimFaces() local
38 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetElement() local
109 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffset() local
124 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffsetNs() local
255 Allocation_t *alloc = (Allocation_t *)a.p; local
263 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
[all …]
Drs_sample.c268 getBilinearSample1D(const Allocation_t *alloc, float2 weights, in getBilinearSample1D()
318 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, in getBilinearSample2D()
348 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, in getNearestSample()
385 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, in getNearestSample()
421 sample_LOD_LinearPixel(const Allocation_t *alloc, in sample_LOD_LinearPixel()
453 sample_LOD_NearestPixel(const Allocation_t *alloc, in sample_LOD_NearestPixel()
466 sample_LOD_LinearPixel(const Allocation_t *alloc, in sample_LOD_LinearPixel()
514 sample_LOD_NearestPixel(const Allocation_t *alloc, in sample_LOD_NearestPixel()
536 const Allocation_t *alloc = (const Allocation_t *)a.p; in rsSample() local
588 const Allocation_t *alloc = (const Allocation_t *)a.p; in rsSample() local
[all …]
/frameworks/support/v8/renderscript/jni/
Dandroid_rscompat_usage_io_driver.cpp15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { in IoGetBuffer()
35 Allocation *alloc = (Allocation *)allocR; in rscAllocationSetSurface() local
71 extern "C" void rscAllocationDestroy(const Context *rsc, Allocation *alloc) { in rscAllocationDestroy()
96 extern "C" void rscAllocationIoSend(const Context *rsc, Allocation *alloc) { in rscAllocationIoSend()
Dandroid_rscompat_usage_io.cpp9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc in AllocationSetSurface()
Dandroid_renderscript_RenderScript.cpp1031 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface()
1037 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend()
1043 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps()
1122 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
1140 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap()
1163 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local
1173 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, in nAllocationElementData1D()
1210 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local
1249 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData3D() local
1285 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead() local
[all …]
/frameworks/rs/
DrsAllocation.cpp43 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation()
107 Allocation * Allocation::createAdapter(Context *rsc, const Allocation *alloc, const Type *type) { in createAdapter()
483 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); in createFromStream() local
640 void Allocation::shareBufferQueue(const Context *rsc, const Allocation *alloc) { in shareBufferQueue()
712 Allocation *alloc = static_cast<Allocation *>(va); in rsi_AllocationGenerateMipmaps() local
782 …Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps… in rsi_AllocationCreateTyped() local
794 …Allocation * alloc = Allocation::createAllocationStrided(rsc, static_cast<Type *>(vtype), usages, … in rsi_AllocationCreateStrided() local
896 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetupBufferQueue() local
901 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetSurface() local
913 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetSurface() local
[all …]
DrsScriptGroup.cpp254 Allocation * alloc = Allocation::createAllocation(rsc, in create() local
407 RsAllocation alloc) { in rsi_ScriptGroupSetInput()
414 RsAllocation alloc) { in rsi_ScriptGroupSetOutput()
DrsProgram.cpp152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation()
/frameworks/rs/tests/cppf16/
Dcompute.cpp17 sp<Allocation> alloc = Allocation::createTyped(rs, t); in testAllocationCreation() local
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScript.java409 native void rsnAllocationCopyToBitmap(long con, long alloc, Bitmap bmp); in rsnAllocationCopyToBitmap()
410 synchronized void nAllocationCopyToBitmap(long alloc, Bitmap bmp) { in nAllocationCopyToBitmap()
416 native void rsnAllocationSyncAll(long con, long alloc, int src); in rsnAllocationSyncAll()
417 synchronized void nAllocationSyncAll(long alloc, int src) { in nAllocationSyncAll()
422 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); in rsnAllocationSetSurface()
423 synchronized void nAllocationSetSurface(long alloc, Surface sur) { in nAllocationSetSurface()
428 native void rsnAllocationIoSend(long con, long alloc); in rsnAllocationIoSend()
429 synchronized void nAllocationIoSend(long alloc) { in nAllocationIoSend()
433 native void rsnAllocationIoReceive(long con, long alloc); in rsnAllocationIoReceive()
434 synchronized void nAllocationIoReceive(long alloc) { in nAllocationIoReceive()
[all …]
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1228 nAllocationSetupBufferQueue(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint numAlloc) in nAllocationSetupBufferQueue()
1265 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface()
1282 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend()
1291 nAllocationIoReceive(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoReceive()
1300 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps()
1357 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
1373 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap()
1391 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local
1402 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, in nAllocationElementData()
1430 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local
[all …]
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java474 native void rsnAllocationCopyToBitmap(long con, long alloc, Bitmap bmp); in rsnAllocationCopyToBitmap()
475 synchronized void nAllocationCopyToBitmap(long alloc, Bitmap bmp) { in nAllocationCopyToBitmap()
480 native void rsnAllocationSyncAll(long con, long alloc, int src); in rsnAllocationSyncAll()
481 synchronized void nAllocationSyncAll(long alloc, int src) { in nAllocationSyncAll()
486 …native ByteBuffer rsnAllocationGetByteBuffer(long con, long alloc, long[] stride, int xBytesSize, … in rsnAllocationGetByteBuffer()
487 …synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, long[] stride, int xBytesSize, int di… in nAllocationGetByteBuffer()
492 native void rsnAllocationSetupBufferQueue(long con, long alloc, int numAlloc); in rsnAllocationSetupBufferQueue()
493 synchronized void nAllocationSetupBufferQueue(long alloc, int numAlloc) { in nAllocationSetupBufferQueue()
502 native Surface rsnAllocationGetSurface(long con, long alloc); in rsnAllocationGetSurface()
503 synchronized Surface nAllocationGetSurface(long alloc) { in nAllocationGetSurface()
[all …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_fp16.java28 private Allocation alloc; field in UT_fp16
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp93 status_t GraphicBufferAllocator::alloc(uint32_t width, uint32_t height, in alloc() function in android::GraphicBufferAllocator
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicYuvToRGB.cpp47 ObjectBaseRef<Allocation> alloc; member in android::renderscript::RsdCpuScriptIntrinsicYuvToRGB
/frameworks/base/libs/hwui/utils/
DLinearAllocator.h60 void* alloc(size_t size) { in alloc() function

123