/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_alloc_copyPadded.java | 93 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 …]
|
D | UT_alloc_copy.java | 68 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 …]
|
D | UT_apitest.java | 46 Allocation alloc = Allocation.createTyped(pRS, type); in run() local
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_alloc_copyPadded.java | 93 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 …]
|
D | UT_alloc_copy.java | 68 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 …]
|
D | UT_apitest.java | 46 Allocation alloc = Allocation.createTyped(pRS, type); in run() local
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 84 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, in GetOffsetPtr() 96 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture() 115 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture() 157 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture() 195 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget() 220 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject() 296 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable() 352 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable() 369 bool rsdAllocationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t require… in rsdAllocationInitStrided() 492 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit() [all …]
|
D | rsdMeshObj.cpp | 140 const Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[ct]; in renderPrimitiveRange() local 150 Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[allocIndex]; in renderPrimitiveRange() local
|
D | rsdSampler.cpp | 45 const Sampler *alloc, in rsdSamplerUpdateCachedObject()
|
/frameworks/rs/rsov/driver/ |
D | rsovAllocation.cpp | 82 size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable() 141 size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable() 147 uint8_t *GetOffsetPtr(const Allocation *alloc, uint32_t xoff, uint32_t yoff, in GetOffsetPtr() 159 void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip565() 179 void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip8888() 199 void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip8() 300 bool rsovAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsovAllocationInit() 314 void rsovAllocationDestroy(const Context *rsc, Allocation *alloc) { in rsovAllocationDestroy() 320 void rsovAllocationData1D(const Context *rsc, const Allocation *alloc, in rsovAllocationData1D() 338 void rsovAllocationData2D(const Context *rsc, const Allocation *alloc, in rsovAllocationData2D() [all …]
|
D | rsovSampler.cpp | 29 void rsovSamplerUpdateCachedObject(const Context *rsc, const Sampler *alloc, in rsovSamplerUpdateCachedObject()
|
/frameworks/rs/driver/runtime/ |
D | rs_allocation.c | 7 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 68 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffset() local 80 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 …]
|
D | rs_sample.c | 268 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/ |
D | android_rscompat_usage_io_driver.cpp | 15 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()
|
D | android_rscompat_usage_io.cpp | 9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc… in AllocationSetSurface()
|
D | android_renderscript_RenderScript.cpp | 1044 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface() 1050 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend() 1056 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps() 1135 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap() 1153 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap() 1176 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local 1186 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, in nAllocationElementData1D() 1223 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local 1262 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData3D() local 1298 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead() local [all …]
|
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/ |
D | MainActivity.java | 66 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/ |
D | rsAllocation.cpp | 42 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 …]
|
D | rsScriptGroup.cpp | 234 Allocation * alloc = Allocation::createAllocation(rsc, in create() local 384 RsAllocation alloc) { in rsi_ScriptGroupSetInput() 391 RsAllocation alloc) { in rsi_ScriptGroupSetOutput()
|
D | rsProgram.cpp | 152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation()
|
/frameworks/rs/tests/cpp_api/cppf16/ |
D | compute.cpp | 20 sp<Allocation> alloc = Allocation::createTyped(rs, t); in testAllocationCreation() local
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 409 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/ |
D | android_renderscript_RenderScript.cpp | 1239 nAllocationSetupBufferQueue(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint numAlloc) in nAllocationSetupBufferQueue() 1276 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) in nAllocationSetSurface() 1294 nAllocationIoSend(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoSend() 1303 nAllocationIoReceive(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationIoReceive() 1312 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, jlong con, jlong alloc) in nAllocationGenerateMipmaps() 1369 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap() 1385 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap() 1403 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() local 1414 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, in nAllocationElementData() 1442 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() local [all …]
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
D | UT_fp16.java | 30 private Allocation alloc; field in UT_fp16
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 474 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 …]
|