Home
last modified time | relevance | path

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

123

/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
106 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffset() local
121 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffsetNs() local
191 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
199 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/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/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/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()
306 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
374 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit()
479 void rsdAllocationAdapterOffset(const Context *rsc, const Allocation *alloc) { in rsdAllocationAdapterOffset()
502 bool rsdAllocationAdapterInit(const Context *rsc, Allocation *alloc) { in rsdAllocationAdapterInit()
[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/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.cpp1039 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface()
1045 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend()
1051 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps()
1130 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
1148 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap()
1171 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local
1181 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, in nAllocationElementData1D()
1218 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local
1257 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData3D() local
1293 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead() local
[all …]
/frameworks/rs/
DrsAllocation.cpp44 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation()
97 Allocation * Allocation::createAdapter(Context *rsc, const Allocation *alloc, const Type *type) { in createAdapter()
473 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); in createFromStream() local
652 Allocation *alloc = static_cast<Allocation *>(va); in rsi_AllocationGenerateMipmaps() local
722 …Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps… in rsi_AllocationCreateTyped() local
824 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetSurface() local
830 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetSurface() local
835 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationIoSend() local
840 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationIoReceive() local
847 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetPointer() local
[all …]
DrsAdapter.cpp62 Allocation * alloc = static_cast<Allocation *>(valloc); in rsi_Adapter1DBindAllocation() local
136 Allocation * alloc = static_cast<Allocation *>(valloc); in rsi_Adapter2DBindAllocation() local
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/base/libs/hwui/utils/
DLinearAllocator.h61 T* alloc() { in alloc() function
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1165 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface()
1182 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend()
1191 nAllocationIoReceive(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoReceive()
1201 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps()
1258 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
1274 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap()
1292 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local
1303 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, in nAllocationElementData()
1327 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local
1372 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData3D() local
[all …]
/frameworks/base/libs/hwui/unit_tests/
DLinearAllocatorTests.cpp49 TEST(LinearAllocator, alloc) { in TEST() argument
/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/native/libs/ui/
DGraphicBufferAllocator.cpp93 status_t GraphicBufferAllocator::alloc(uint32_t width, uint32_t height, in alloc() function in android::GraphicBufferAllocator
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java463 native void rsnAllocationCopyToBitmap(long con, long alloc, Bitmap bmp); in rsnAllocationCopyToBitmap()
464 synchronized void nAllocationCopyToBitmap(long alloc, Bitmap bmp) { in nAllocationCopyToBitmap()
470 native void rsnAllocationSyncAll(long con, long alloc, int src); in rsnAllocationSyncAll()
471 synchronized void nAllocationSyncAll(long alloc, int src) { in nAllocationSyncAll()
475 native Surface rsnAllocationGetSurface(long con, long alloc); in rsnAllocationGetSurface()
476 synchronized Surface nAllocationGetSurface(long alloc) { in nAllocationGetSurface()
480 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); in rsnAllocationSetSurface()
481 synchronized void nAllocationSetSurface(long alloc, Surface sur) { in nAllocationSetSurface()
485 native void rsnAllocationIoSend(long con, long alloc); in rsnAllocationIoSend()
486 synchronized void nAllocationIoSend(long alloc) { in nAllocationIoSend()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicYuvToRGB.cpp47 ObjectBaseRef<Allocation> alloc; member in android::renderscript::RsdCpuScriptIntrinsicYuvToRGB

123