/aosp12/frameworks/rs/ |
H A D | rsHidlAdaptation.h | 81 static RsNativeWindow AllocationGetSurface(RsContext, RsAllocation); 89 static void AllocationGenerateMipmaps(RsContext, RsAllocation); 90 static void AllocationRead(RsContext, RsAllocation, void*, size_t); 96 static void AllocationResize1D(RsContext, RsAllocation, uint32_t); 99 static void AllocationIoSend(RsContext, RsAllocation); 100 static int64_t AllocationIoReceive(RsContext, RsAllocation); 103 …static void AllocationShareBufferQueue(RsContext context, RsAllocation valloc1, RsAllocation vallo… 104 … static RsAllocation AllocationAdapterCreate(RsContext rsc, RsType vtype, RsAllocation baseAlloc); 113 …static void ScriptForEach(RsContext, RsScript, uint32_t, RsAllocation, RsAllocation, const void*, … 114 …tic void ScriptForEachMulti(RsContext, RsScript, uint32_t, RsAllocation*, size_t, RsAllocation, co… [all …]
|
H A D | rs.spec | 62 ret RsAllocation 71 ret RsAllocation 80 ret RsAllocation 111 ret RsAllocation 168 param RsAllocation va 178 param RsAllocation va 186 param RsAllocation va 194 param RsAllocation va 204 param RsAllocation va 216 param RsAllocation va [all …]
|
H A D | rsApiStubs.h | 81 extern "C" RsAllocation rsAllocationCreateTyped(RsContext rsc, RsType vtype, 84 extern "C" RsAllocation rsAllocationCreateFromBitmap(RsContext rsc, RsType vtype, 88 extern "C" RsAllocation rsAllocationCubeCreateFromBitmap(RsContext rsc, RsType vtype, 92 extern "C" RsAllocation rsAllocationAdapterCreate(RsContext rsc, RsType vtype, 95 extern "C" RsNativeWindow rsAllocationGetSurface(RsContext rsc, RsAllocation alloc) 99 extern "C" void rsAllocationShareBufferQueue(RsContext rsc, RsAllocation alloc1, 103 extern "C" void rsAllocationAdapterOffset(RsContext rsc, RsAllocation alloc, 147 extern "C" void rsAllocationResize1D(RsContext rsc, RsAllocation va, uint32_t dimX) 197 RsAllocation alloc) __DEPRECATED_IN(31); 199 RsAllocation alloc) __DEPRECATED_IN(31); [all …]
|
H A D | rsApiStubs.cpp | 350 extern "C" RsAllocation rsAllocationAdapterCreate (RsContext ctxWrapper, RsType vtype, RsAllocation… in rsAllocationAdapterCreate() 370 …C" void rsAllocationShareBufferQueue (RsContext ctxWrapper, RsAllocation alloc1, RsAllocation allo… in rsAllocationShareBufferQueue() 476 RsAllocation dest, in rsAllocationCopy2DRange() 480 RsAllocation src, in rsAllocationCopy2DRange() 489 RsAllocation dest, in rsAllocationCopy3DRange() 493 RsAllocation src, in rsAllocationCopy3DRange() 502 extern "C" void rsAllocationIoSend (RsContext ctxWrapper, RsAllocation alloc) in rsAllocationIoSend() 650 RsAllocation ain, RsAllocation aout, in rsScriptForEach() 658 RsAllocation * ains, size_t ains_length, RsAllocation aout, in rsScriptForEachMulti() 666 RsAllocation * ains, size_t ains_length, RsAllocation aout, in rsScriptReduce() [all …]
|
H A D | rsHidlAdaptation.cpp | 273 RsAllocation returnValue, in ClosureCreate() 428 return (RsAllocation) allocation; in AllocationCreateTyped() 443 return (RsAllocation) allocation; in AllocationCreateFromBitmap() 456 return (RsAllocation) allocation; in AllocationCubeCreateFromBitmap() 674 RsAllocation dstAlloc, in AllocationCopy2DRange() 753 RsAllocation vain, RsAllocation vaout, in ScriptForEach() 757 RsAllocation * vains = nullptr; in ScriptForEach() 809 RsAllocation *vains, size_t inLen, RsAllocation vaout, in ScriptReduce() 1070 …lAdaptation::AllocationShareBufferQueue(RsContext context, RsAllocation valloc1, RsAllocation vall… in AllocationShareBufferQueue() 1078 RsAllocation RsHidlAdaptation::AllocationAdapterCreate (RsContext context, RsType vtype, RsAllocati… in AllocationAdapterCreate() [all …]
|
H A D | rsAllocation.cpp | 671 void rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) { in rsi_AllocationGenerateMipmaps() 739 RsAllocation rsi_AllocationCreateTyped(Context *rsc, RsType vtype, in rsi_AllocationCreateTyped() 824 RsAllocation dstAlloc, in rsi_AllocationCopy2DRange() 828 RsAllocation srcAlloc, in rsi_AllocationCopy2DRange() 841 RsAllocation dstAlloc, in rsi_AllocationCopy3DRange() 845 RsAllocation srcAlloc, in rsi_AllocationCopy3DRange() 866 void rsi_AllocationShareBufferQueue(Context *rsc, RsAllocation valloc1, RsAllocation valloc2) { in rsi_AllocationShareBufferQueue() 877 void rsi_AllocationIoSend(Context *rsc, RsAllocation valloc) { in rsi_AllocationIoSend() 888 void *rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, in rsi_AllocationGetPointer() 916 void rsi_Allocation3DRead(Context *rsc, RsAllocation va, in rsi_Allocation3DRead() [all …]
|
H A D | rsScript.cpp | 167 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation() 193 RsAllocation *vains, size_t inLen, in rsi_ScriptForEachMulti() 194 RsAllocation vaout, const void *params, in rsi_ScriptForEachMulti() 208 RsAllocation vain, RsAllocation vaout, in rsi_ScriptForEach() 216 RsAllocation ains[1] = {vain}; in rsi_ScriptForEach() 219 sizeof(ains) / sizeof(RsAllocation), vaout, in rsi_ScriptForEach() 225 RsAllocation *vains, size_t inLen, in rsi_ScriptReduce() 226 RsAllocation vaout, const RsScriptCall *sc, in rsi_ScriptReduce()
|
H A D | rsg.spec | 25 param RsAllocation constants 32 param RsAllocation a 73 param RsAllocation *vtx 74 param RsAllocation *idx
|
H A D | rs.h | 37 void rsaMeshGetVertices(RsContext, RsMesh, RsAllocation* vtxData, uint32_t vtxDataCount) 39 void rsaMeshGetIndices(RsContext, RsMesh, RsAllocation* va, uint32_t* primType, 46 const void* rsaAllocationGetType(RsContext con, RsAllocation va) __DEPRECATED_IN(31);
|
H A D | rsApiMesh.cpp | 32 void rsaMeshGetVertices(RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) { in rsaMeshGetVertices() 42 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idx… in rsaMeshGetIndices()
|
H A D | rsApiAllocation.cpp | 23 extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) { in rsaAllocationGetType()
|
H A D | rs_compat.spec | 8 ret RsAllocation
|
H A D | rsEnv.h | 4 typedef void * RsAllocation; typedef
|
H A D | rsScriptGroup.cpp | 350 sizeof(ains) / sizeof(RsAllocation), in execute() 384 RsAllocation alloc) { in rsi_ScriptGroupSetInput() 391 RsAllocation alloc) { in rsi_ScriptGroupSetOutput()
|
H A D | rsProgram.cpp | 212 void rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) { in rsi_ProgramBindConstants() 217 void rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) { in rsi_ProgramBindTexture()
|
H A D | rsMesh.cpp | 267 RsAllocation * vtx, size_t vtxCount, in rsi_MeshCreate() 268 RsAllocation * idx, size_t idxCount, in rsi_MeshCreate()
|
H A D | rsClosure.cpp | 12 RsAllocation returnValue, in rsi_ClosureCreate()
|
H A D | rsDefines.h | 32 typedef void * RsAllocation; typedef
|
/aosp12/frameworks/rs/cpp/ |
H A D | rsDispatch.h | 23 typedef const void* (*AllocationGetTypeFnPtr)(RsContext con, RsAllocation va); 64 typedef void (*AllocationGenerateMipmapsFnPtr) (RsContext, RsAllocation); 71 typedef void (*AllocationResize1DFnPtr) (RsContext, RsAllocation, uint32_t); 75 …oid (*AllocationShareBufferQueueFnPtr) (RsContext context, RsAllocation valloc1, RsAllocation vall… 81 typedef void (*ScriptForEachFnPtr) (RsContext, RsScript, uint32_t, RsAllocation, RsAllocation, cons… 82 …(*ScriptForEachMultiFnPtr) (RsContext, RsScript, uint32_t, RsAllocation*, size_t, RsAllocation, co… 83 … void (*ScriptReduceFnPtr) (RsContext, RsScript, uint32_t, RsAllocation*, size_t, RsAllocation, co… 102 typedef void (*AllocationIoSendFnPtr) (RsContext, RsAllocation); 103 typedef int64_t (*AllocationIoReceiveFnPtr) (RsContext, RsAllocation); 105 typedef RsAllocation (*AllocationAdapterCreateFnPtr) (RsContext rsc, RsType vtype, RsAllocation bas… [all …]
|
H A D | ScriptIntrinsicBLAS.cpp | 109 float alpha, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Single() 114 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Single() 123 double alpha, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Double() 128 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Double() 136 float alphaX, float alphaY, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Complex() 141 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Complex() 149 double alphaX, double alphaY, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Z() 154 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Z() 162 RsAllocation A, int a_offset, RsAllocation B, int b_offset, in nScriptIntrinsicBLAS_BNNM() 163 RsAllocation C, int c_offset, int c_mult_int) { in nScriptIntrinsicBLAS_BNNM() [all …]
|
/aosp12/hardware/interfaces/renderscript/1.0/default/ |
H A D | Context.cpp | 84 RsAllocation _baseAlloc = hidl_to_rs<RsAllocation>(baseAlloc); in allocationAdapterCreate() 90 RsAllocation _alloc = hidl_to_rs<RsAllocation>(alloc); in allocationAdapterOffset() 97 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation); in allocationGetType() 143 RsAllocation _alloc = hidl_to_rs<RsAllocation>(alloc); in allocationSetupBufferQueue() 150 RsAllocation _baseAlloc = hidl_to_rs<RsAllocation>(baseAlloc); in allocationShareBufferQueue() 151 RsAllocation _subAlloc = hidl_to_rs<RsAllocation>(subAlloc); in allocationShareBufferQueue() 303 RsAllocation _dstAlloc = hidl_to_rs<RsAllocation>(dstAlloc); in allocationCopy2DRange() 596 RsAllocation _alloc = hidl_to_rs<RsAllocation>(alloc); in scriptGroupSetOutput() 604 RsAllocation _alloc = hidl_to_rs<RsAllocation>(alloc); in scriptGroupSetInput() 667 RsAllocation _vaout = hidl_to_rs<RsAllocation>(vaout); in scriptForEach() [all …]
|
/aosp12/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1254 (RsAllocation)alloc1, (RsAllocation)alloc2); in nAllocationShareBufferQueue() 1390 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() 1429 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() 1474 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData3D() 1517 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead() 1532 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead1D() 1570 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead2D() 1587 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead3D() 2669 vtxPtr = (RsAllocation*) malloc(sizeof(RsAllocation) * vtxLen); in nMeshCreate() 2730 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numVtxIDs * sizeof(RsAllocation)); in nMeshGetVertices() [all …]
|
/aosp12/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1178 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData1D() 1225 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData2D() 1264 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationData3D() 1300 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead() 1313 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead1D() 1345 RsAllocation *alloc = (RsAllocation *)_alloc; in nAllocationRead2D() 1552 (RsAllocation)ain, (RsAllocation)aout, in nScriptForEach() 1571 (RsAllocation)ain, (RsAllocation)aout, in nScriptForEachV() 1607 (RsAllocation)ain, (RsAllocation)aout, in nScriptForEachClipped() 1644 (RsAllocation)ain, (RsAllocation)aout, in nScriptForEachClippedV() [all …]
|
H A D | android_rscompat_usage_io.cpp | 9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc… in AllocationSetSurface()
|
H A D | android_rscompat_usage_io_driver.cpp | 33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) { in rscAllocationSetSurface()
|