Home
last modified time | relevance | path

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

123

/frameworks/rs/tests/java_api/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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_alloc_copyPadded.java94 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D() local
126 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D() local
159 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D() local
193 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_1D() local
228 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_2D() local
264 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_3D() local
298 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_1D() local
333 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_2D() local
369 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_3D() local
403 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Float3_1D() local
[all …]
DUT_alloc_copy.java70 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte() local
112 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short() local
154 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int() local
196 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Float() local
238 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Long() local
282 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Byte() local
320 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Short() local
358 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Int() local
396 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Float() local
434 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Long() local
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_alloc_copyPadded.java96 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D() local
128 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D() local
161 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D() local
195 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_1D() local
230 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_2D() local
266 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Short3_3D() local
300 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_1D() local
335 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_2D() local
371 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Int3_3D() local
405 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Float3_1D() local
[all …]
DUT_alloc_copy.java72 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte() local
114 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short() local
156 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int() local
198 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Float() local
240 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Long() local
284 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Byte() local
322 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Short() local
360 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Int() local
398 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Float() local
436 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy2DRangeTo_Long() local
[all …]
DUT_apitest.java49 Allocation alloc = Allocation.createTyped(pRS, type); in run() local
/frameworks/rs/driver/
DrsdAllocation.cpp87 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, in GetOffsetPtr()
99 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture()
118 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture()
160 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture()
198 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget()
223 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject()
299 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
355 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
372 bool rsdAllocationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t require… in rsdAllocationInitStrided()
495 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit()
[all …]
DrsdMeshObj.cpp140 const Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[ct]; in renderPrimitiveRange() local
150 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
67 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffset() local
78 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffsetNs() local
193 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
201 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()
451 sample_LOD_NearestPixel(const Allocation_t *alloc, in sample_LOD_NearestPixel()
464 sample_LOD_LinearPixel(const Allocation_t *alloc, in sample_LOD_LinearPixel()
510 sample_LOD_NearestPixel(const Allocation_t *alloc, in sample_LOD_NearestPixel()
532 const Allocation_t *alloc = (const Allocation_t *)a.p; in rsSample() local
584 const Allocation_t *alloc = (const Allocation_t *)a.p; in rsSample() local
[all …]
/frameworks/rs/support/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.cpp1046 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface()
1052 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend()
1058 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps()
1137 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
1155 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap()
1178 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local
1188 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, in nAllocationElementData1D()
1225 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local
1264 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData3D() local
1300 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead() local
[all …]
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
DMainActivity.java66 RenderScript rs, ScriptC_reduce_auto_comb s, Allocation alloc) { in findMinUserTypeAutoComb()
74 private float findMinUserType(RenderScript rs, ScriptC_reduce s, Allocation alloc) { in findMinUserType()
91 Allocation alloc = minUserType.getAllocation(); in findMinUserType1DAutoComb() local
105 Allocation alloc = minUserType.getAllocation(); in findMinUserType1D() local
/frameworks/rs/
DrsAllocation.cpp42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation()
106 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
607 void Allocation::shareBufferQueue(const Context *rsc, const Allocation *alloc) { in shareBufferQueue()
672 Allocation *alloc = static_cast<Allocation *>(va); in rsi_AllocationGenerateMipmaps() local
742 …Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps… in rsi_AllocationCreateTyped() local
754 …Allocation * alloc = Allocation::createAllocationStrided(rsc, static_cast<Type *>(vtype), usages, … in rsi_AllocationCreateStrided() local
856 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetupBufferQueue() local
861 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetSurface() local
873 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetSurface() local
[all …]
DrsScriptGroup.cpp234 Allocation * alloc = Allocation::createAllocation(rsc, in create() local
384 RsAllocation alloc) { in rsi_ScriptGroupSetInput()
391 RsAllocation alloc) { in rsi_ScriptGroupSetOutput()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
DUT_apitest.java47 Allocation alloc = Allocation.createTyped(pRS, type); in run() local
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp124 _C2Block1DImpl(const std::shared_ptr<C2LinearAllocation> &alloc, in _C2Block1DImpl()
340 std::shared_ptr<C2LinearAllocation> alloc; in fetchLinearBlock() local
382 const std::shared_ptr<C2LinearAllocation> &alloc, in CreateLinearBlock()
413 std::shared_ptr<C2LinearAllocation> alloc; in CreateLinearBlock() local
440 std::shared_ptr<C2LinearAllocation> alloc; in CreateLinearBlock() local
564 std::shared_ptr<BufferPoolAllocation> *alloc, in allocate()
700 std::shared_ptr<C2LinearAllocation> alloc; in fetchLinearBlock() local
733 std::shared_ptr<C2GraphicAllocation> alloc; in fetchGraphicBlock() local
815 _C2Block2DImpl(const std::shared_ptr<C2GraphicAllocation> &alloc, in _C2Block2DImpl()
1102 std::shared_ptr<C2GraphicAllocation> alloc; in fetchGraphicBlock() local
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp615 std::function<sp<ABuffer>(size_t)> alloc) { in Allocate()
673 const std::shared_ptr<C2Allocator> &alloc) in GraphicMetadataBuffer()
715 std::shared_ptr<C2GraphicAllocation> alloc; in asC2Buffer() local
742 std::function<sp<ABuffer>(size_t)> alloc) { in Allocate()
783 std::function<sp<ABuffer>(size_t)> alloc) { in AllocateEmpty()
/frameworks/rs/tests/cpp_api/cppf16/
Dcompute.cpp20 sp<Allocation> alloc = Allocation::createTyped(rs, t); in testAllocationCreation() local
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java426 native void rsnAllocationCopyToBitmap(long con, long alloc, Bitmap bmp); in rsnAllocationCopyToBitmap()
427 synchronized void nAllocationCopyToBitmap(long alloc, Bitmap bmp) { in nAllocationCopyToBitmap()
433 native void rsnAllocationSyncAll(long con, long alloc, int src); in rsnAllocationSyncAll()
434 synchronized void nAllocationSyncAll(long alloc, int src) { in nAllocationSyncAll()
439 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); in rsnAllocationSetSurface()
440 synchronized void nAllocationSetSurface(long alloc, Surface sur) { in nAllocationSetSurface()
445 native void rsnAllocationIoSend(long con, long alloc); in rsnAllocationIoSend()
446 synchronized void nAllocationIoSend(long alloc) { in nAllocationIoSend()
450 native void rsnAllocationIoReceive(long con, long alloc); in rsnAllocationIoReceive()
451 synchronized void nAllocationIoReceive(long alloc) { in nAllocationIoReceive()
[all …]
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1240 nAllocationSetupBufferQueue(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint numAlloc) in nAllocationSetupBufferQueue()
1277 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface()
1295 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend()
1304 nAllocationIoReceive(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoReceive()
1313 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps()
1363 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap()
1376 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap()
1390 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local
1401 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, in nAllocationElementData()
1429 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local
[all …]

123