/frameworks/rs/script_api/include/ |
D | rs_allocation_data.rsh | 68 … rsAllocationCopy1DRange(rs_allocation dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, 69 rs_allocation srcAlloc, uint32_t srcOff, uint32_t srcMip); 107 rsAllocationCopy2DRange(rs_allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, 109 uint32_t height, rs_allocation srcAlloc, uint32_t srcXoff, 145 rsAllocationVLoadX_float2(rs_allocation a, uint32_t x); 150 rsAllocationVLoadX_float3(rs_allocation a, uint32_t x); 155 rsAllocationVLoadX_float4(rs_allocation a, uint32_t x); 160 rsAllocationVLoadX_double2(rs_allocation a, uint32_t x); 165 rsAllocationVLoadX_double3(rs_allocation a, uint32_t x); 170 rsAllocationVLoadX_double4(rs_allocation a, uint32_t x); [all …]
|
D | rs_allocation_create.rsh | 128 * rsCreateAllocation: Create an rs_allocation object of given Type. 130 * Creates an rs_allocation object of the given Type and usage. 148 extern rs_allocation __attribute__((overloadable)) 153 extern rs_allocation __attribute__((overloadable)) 158 static inline rs_allocation __attribute__((overloadable)) 167 static inline rs_allocation __attribute__((overloadable)) 176 static inline rs_allocation __attribute__((overloadable)) 185 static inline rs_allocation __attribute__((overloadable)) 194 static inline rs_allocation __attribute__((overloadable)) 203 static inline rs_allocation __attribute__((overloadable)) [all …]
|
/frameworks/rs/driver/runtime/ll64/ |
D | allocation.ll | 4 %struct.rs_allocation = type { i64*, i64*, i64*, i64* } 6 declare i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i3… 7 declare i8* @rsOffsetNs(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) 38 define void @rsSetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i8 signext %val,… 39 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2 44 define signext i8 @rsGetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i32 %x, i3… 45 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2 51 define void @rsSetElementAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i16 %val, i32 %… 52 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2 59 define <2 x i8> @rsGetElementAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32… [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_allocation.c | 6 rsAllocationGetDimX(rs_allocation a) { in rsAllocationGetDimX() 12 rsAllocationGetDimY(rs_allocation a) { in rsAllocationGetDimY() 18 rsAllocationGetDimZ(rs_allocation a) { in rsAllocationGetDimZ() 24 rsAllocationGetDimLOD(rs_allocation a) { in rsAllocationGetDimLOD() 30 rsAllocationGetDimFaces(rs_allocation a) { in rsAllocationGetDimFaces() 37 rsAllocationGetElement(rs_allocation a) { in rsAllocationGetElement() 66 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y, in rsOffset() 79 rsOffsetNs(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { in rsOffsetNs() 93 rsSetElementAt_##T(rs_allocation a, const T *val, uint32_t x); \ 95 rsSetElementAt_##T(rs_allocation a, const T *val, uint32_t x, uint32_t y); \ [all …]
|
D | rs_mesh.c | 28 extern rs_allocation __attribute__((overloadable)) 32 rs_allocation nullAlloc = RS_NULL_OBJ; in rsgMeshGetVertexAllocation() 35 rs_allocation returnAlloc = {mesh->mHal.state.vertexBuffers[index]}; in rsgMeshGetVertexAllocation() 36 rs_allocation rs_retval = RS_NULL_OBJ; in rsgMeshGetVertexAllocation() 41 extern rs_allocation __attribute__((overloadable)) 45 rs_allocation nullAlloc = RS_NULL_OBJ; in rsgMeshGetIndexAllocation() 48 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]}; in rsgMeshGetIndexAllocation() 49 rs_allocation rs_retval = RS_NULL_OBJ; in rsgMeshGetIndexAllocation()
|
/frameworks/compile/slang/tests/P_all_api_23/ |
D | all23.rs | 5644 …sAllocationCopy1DRange(*(rs_allocation*)buf2213, *(uint32_t*)buf2214, *(uint32_t*)buf2215, *(uint3… 5645 …rs_allocation*)buf2220, *(uint32_t*)buf2221, *(uint32_t*)buf2222, *(uint32_t*)buf2223, *(rs_alloca… 5646 *(uint32_t*)buf2232 = rsAllocationGetDimFaces(*(rs_allocation*)buf2233); 5647 *(uint32_t*)buf2234 = rsAllocationGetDimLOD(*(rs_allocation*)buf2235); 5648 *(uint32_t*)buf2236 = rsAllocationGetDimX(*(rs_allocation*)buf2237); 5649 *(uint32_t*)buf2238 = rsAllocationGetDimY(*(rs_allocation*)buf2239); 5650 *(uint32_t*)buf2240 = rsAllocationGetDimZ(*(rs_allocation*)buf2241); 5651 *(rs_element*)buf2242 = rsAllocationGetElement(*(rs_allocation*)buf2243); 5652 rsAllocationIoReceive(*(rs_allocation*)buf2244); 5653 rsAllocationIoSend(*(rs_allocation*)buf2245); [all …]
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | healing.rs | 21 typedef rs_allocation AllocationF32_3; 34 rs_allocation mask; // uchar 87 rs_allocation image; 88 rs_allocation border; // float3 89 rs_allocation border_coords; // int2 108 static inline rs_allocation toFloat3(rs_allocation in) { 112 rs_allocation tmp = rsCreateAllocation_float3(width, height); 117 static rs_allocation clone(rs_allocation in) { constant 120 rs_allocation tmp = rsCreateAllocation_float3(width, height); 125 void heal(rs_allocation mask_image, rs_allocation src_image, [all …]
|
D | find_region.rs | 20 rs_allocation tmp; 22 static rs_allocation createVectorAllocation(rs_data_type dt, int vecSize, constant 41 rs_allocation mImage; 44 rs_allocation mBorderValues; // float3 45 rs_allocation mBorderCoords; // int2 54 static float4 gCalcBounds(rs_allocation xy) { 105 static int2 gfindMin_ss(rs_allocation fit, int4 regionInSearch) { 136 void findRegion(rs_allocation pointsXY, rs_allocation image, int imgWidth, 137 int imgHeight, rs_allocation ret) { 138 rs_allocation fit;
|
/frameworks/compile/slang/tests/F_refcount_15/ |
D | refcount_15.rs | 5 rs_allocation aFail[2]; 8 rs_allocation a; field 11 static rs_allocation aOk[2]; variable 14 rs_allocation a; field 18 rs_allocation a; field
|
/frameworks/compile/slang/tests/P_all_api_24/ |
D | all24.rs | 7909 …sAllocationCopy1DRange(*(rs_allocation*)buf3411, *(uint32_t*)buf3412, *(uint32_t*)buf3413, *(uint3… 7910 …rs_allocation*)buf3418, *(uint32_t*)buf3419, *(uint32_t*)buf3420, *(uint32_t*)buf3421, *(rs_alloca… 7911 *(uint32_t*)buf3430 = rsAllocationGetDimFaces(*(rs_allocation*)buf3431); 7912 *(uint32_t*)buf3432 = rsAllocationGetDimLOD(*(rs_allocation*)buf3433); 7913 *(uint32_t*)buf3434 = rsAllocationGetDimX(*(rs_allocation*)buf3435); 7914 *(uint32_t*)buf3436 = rsAllocationGetDimY(*(rs_allocation*)buf3437); 7915 *(uint32_t*)buf3438 = rsAllocationGetDimZ(*(rs_allocation*)buf3439); 7916 *(rs_element*)buf3440 = rsAllocationGetElement(*(rs_allocation*)buf3441); 7917 rsAllocationIoReceive(*(rs_allocation*)buf3442); 7918 rsAllocationIoSend(*(rs_allocation*)buf3443); [all …]
|
/frameworks/rs/rsov/compiler/tests/rs_allocation/ |
D | getdimx_64.ll | 3 ; rs_allocation g; 20 %struct.rs_allocation.1 = type { i64*, i64*, i64*, i64* } 22 @g = common global %struct.rs_allocation.1 zeroinitializer, align 8 33 %tmp = alloca %struct.rs_allocation.1, align 8 34 %0 = bitcast %struct.rs_allocation.1* %tmp to i8* 35 …call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast (%struct.rs_allocation.1* @g to i8*), i64… 36 %call = call i32 @_Z19rsAllocationGetDimX13rs_allocation(%struct.rs_allocation.1* %tmp) #0 40 declare i32 @_Z19rsAllocationGetDimX13rs_allocation(%struct.rs_allocation.1*) unnamed_addr 48 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation.1* @g) #0 52 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation.1*) unnamed_addr
|
D | read_write.ll | 12 %struct.rs_allocation = type { i32* } 14 @r = common global %struct.rs_allocation zeroinitializer, align 4 15 @w = common global %struct.rs_allocation zeroinitializer, align 4 21 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @r to i32*), align 4 29 %.unpack6 = load i32, i32* bitcast (%struct.rs_allocation* @w to i32*), align 4 42 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @r) #2 43 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @w) #2 47 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation*) #1
|
/frameworks/compile/slang/tests/P_all_api_22/ |
D | all22.rs | 5714 …sAllocationCopy1DRange(*(rs_allocation*)buf2213, *(uint32_t*)buf2214, *(uint32_t*)buf2215, *(uint3… 5715 …rs_allocation*)buf2220, *(uint32_t*)buf2221, *(uint32_t*)buf2222, *(uint32_t*)buf2223, *(rs_alloca… 5716 *(uint32_t*)buf2232 = rsAllocationGetDimFaces(*(rs_allocation*)buf2233); 5717 *(uint32_t*)buf2234 = rsAllocationGetDimLOD(*(rs_allocation*)buf2235); 5718 *(uint32_t*)buf2236 = rsAllocationGetDimX(*(rs_allocation*)buf2237); 5719 *(uint32_t*)buf2238 = rsAllocationGetDimY(*(rs_allocation*)buf2239); 5720 *(uint32_t*)buf2240 = rsAllocationGetDimZ(*(rs_allocation*)buf2241); 5721 *(rs_element*)buf2242 = rsAllocationGetElement(*(rs_allocation*)buf2243); 5722 rsAllocationIoReceive(*(rs_allocation*)buf2244); 5723 rsAllocationIoSend(*(rs_allocation*)buf2245); [all …]
|
/frameworks/compile/slang/tests/P_all_api_18/ |
D | all18.rs | 3750 …sAllocationCopy1DRange(*(rs_allocation*)buf1343, *(uint32_t*)buf1344, *(uint32_t*)buf1345, *(uint3… 3751 …rs_allocation*)buf1350, *(uint32_t*)buf1351, *(uint32_t*)buf1352, *(uint32_t*)buf1353, *(rs_alloca… 3752 *(uint32_t*)buf1362 = rsAllocationGetDimFaces(*(rs_allocation*)buf1363); 3753 *(uint32_t*)buf1364 = rsAllocationGetDimLOD(*(rs_allocation*)buf1365); 3754 *(uint32_t*)buf1366 = rsAllocationGetDimX(*(rs_allocation*)buf1367); 3755 *(uint32_t*)buf1368 = rsAllocationGetDimY(*(rs_allocation*)buf1369); 3756 *(uint32_t*)buf1370 = rsAllocationGetDimZ(*(rs_allocation*)buf1371); 3757 *(rs_element*)buf1372 = rsAllocationGetElement(*(rs_allocation*)buf1373); 3758 rsAllocationIoReceive(*(rs_allocation*)buf1374); 3759 rsAllocationIoSend(*(rs_allocation*)buf1375); [all …]
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
D | single_source_ref_count.rs | 8 static rs_allocation test1() { variable 9 rs_allocation retValue = {}; 31 static rs_allocation test2() { constant 32 rs_allocation empty = {}; 49 rs_allocation (*fp)(); field 62 rs_allocation allocation = tests[i].fp();
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
D | single_source_ref_count.rs | 8 static rs_allocation test1() { variable 9 rs_allocation retValue = {}; 31 static rs_allocation test2() { constant 32 rs_allocation empty = {}; 49 rs_allocation (*fp)(); field 62 rs_allocation allocation = tests[i].fp();
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rs | 21 rs_allocation image; 22 rs_allocation border_values; // float3 23 rs_allocation border_coords; //int2 69 static float4 gcalcBounds(rs_allocation xy) { 83 void calcBounds(rs_allocation xy, rs_allocation rect) { 100 static int2 gfindMin(rs_allocation fit, int cx, int cy, int cwidth, int cheight) { 132 void findMin(rs_allocation fit, rs_allocation fit_max,int cx, int cy, int cwidth, int cheight) {
|
/frameworks/compile/slang/tests/P_all_api_20/ |
D | all20.rs | 4049 …sAllocationCopy1DRange(*(rs_allocation*)buf1567, *(uint32_t*)buf1568, *(uint32_t*)buf1569, *(uint3… 4050 …rs_allocation*)buf1574, *(uint32_t*)buf1575, *(uint32_t*)buf1576, *(uint32_t*)buf1577, *(rs_alloca… 4051 *(uint32_t*)buf1586 = rsAllocationGetDimFaces(*(rs_allocation*)buf1587); 4052 *(uint32_t*)buf1588 = rsAllocationGetDimLOD(*(rs_allocation*)buf1589); 4053 *(uint32_t*)buf1590 = rsAllocationGetDimX(*(rs_allocation*)buf1591); 4054 *(uint32_t*)buf1592 = rsAllocationGetDimY(*(rs_allocation*)buf1593); 4055 *(uint32_t*)buf1594 = rsAllocationGetDimZ(*(rs_allocation*)buf1595); 4056 *(rs_element*)buf1596 = rsAllocationGetElement(*(rs_allocation*)buf1597); 4057 rsAllocationIoReceive(*(rs_allocation*)buf1598); 4058 rsAllocationIoSend(*(rs_allocation*)buf1599); [all …]
|
/frameworks/compile/slang/tests/P_all_api_19/ |
D | all19.rs | 4030 …sAllocationCopy1DRange(*(rs_allocation*)buf1567, *(uint32_t*)buf1568, *(uint32_t*)buf1569, *(uint3… 4031 …rs_allocation*)buf1574, *(uint32_t*)buf1575, *(uint32_t*)buf1576, *(uint32_t*)buf1577, *(rs_alloca… 4032 *(uint32_t*)buf1586 = rsAllocationGetDimFaces(*(rs_allocation*)buf1587); 4033 *(uint32_t*)buf1588 = rsAllocationGetDimLOD(*(rs_allocation*)buf1589); 4034 *(uint32_t*)buf1590 = rsAllocationGetDimX(*(rs_allocation*)buf1591); 4035 *(uint32_t*)buf1592 = rsAllocationGetDimY(*(rs_allocation*)buf1593); 4036 *(uint32_t*)buf1594 = rsAllocationGetDimZ(*(rs_allocation*)buf1595); 4037 *(rs_element*)buf1596 = rsAllocationGetElement(*(rs_allocation*)buf1597); 4038 rsAllocationIoReceive(*(rs_allocation*)buf1598); 4039 rsAllocationIoSend(*(rs_allocation*)buf1599); [all …]
|
/frameworks/compile/slang/tests/P_refcount/ |
D | refcount.rs | 4 rs_allocation globalAlloc; 5 rs_allocation globalAlloc2; 13 rs_allocation allocUninit; 14 rs_allocation allocArr[10];
|
/frameworks/compile/slang/tests/P_all_api_21/ |
D | all21.rs | 4994 …sAllocationCopy1DRange(*(rs_allocation*)buf2213, *(uint32_t*)buf2214, *(uint32_t*)buf2215, *(uint3… 4995 …rs_allocation*)buf2220, *(uint32_t*)buf2221, *(uint32_t*)buf2222, *(uint32_t*)buf2223, *(rs_alloca… 4996 *(uint32_t*)buf2232 = rsAllocationGetDimFaces(*(rs_allocation*)buf2233); 4997 *(uint32_t*)buf2234 = rsAllocationGetDimLOD(*(rs_allocation*)buf2235); 4998 *(uint32_t*)buf2236 = rsAllocationGetDimX(*(rs_allocation*)buf2237); 4999 *(uint32_t*)buf2238 = rsAllocationGetDimY(*(rs_allocation*)buf2239); 5000 *(uint32_t*)buf2240 = rsAllocationGetDimZ(*(rs_allocation*)buf2241); 5001 *(rs_element*)buf2242 = rsAllocationGetElement(*(rs_allocation*)buf2243); 5002 rsAllocationIoReceive(*(rs_allocation*)buf2244); 5003 rsAllocationIoSend(*(rs_allocation*)buf2245); [all …]
|
/frameworks/rs/tests/lldb/java/SingleSource/src/rs/ |
D | rs_single_source.rs | 22 rs_allocation global_alloc; 48 void script_invoke_1(rs_allocation out, rs_allocation in1, rs_allocation in2)
|
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/ |
D | sample.rs | 21 static rs_allocation sourceAlloc; constant 22 static rs_allocation destAlloc; variable 25 void setSampleData(rs_allocation dest, rs_allocation source, rs_sampler sampler) {
|
/frameworks/compile/slang/tests/P_all_api_16/ |
D | all16.rs | 3031 …sAllocationCopy1DRange(*(rs_allocation*)buf1231, *(uint32_t*)buf1232, *(uint32_t*)buf1233, *(uint3… 3032 …rs_allocation*)buf1238, *(uint32_t*)buf1239, *(uint32_t*)buf1240, *(uint32_t*)buf1241, *(rs_alloca… 3033 *(uint32_t*)buf1250 = rsAllocationGetDimFaces(*(rs_allocation*)buf1251); 3034 *(uint32_t*)buf1252 = rsAllocationGetDimLOD(*(rs_allocation*)buf1253); 3035 *(uint32_t*)buf1254 = rsAllocationGetDimX(*(rs_allocation*)buf1255); 3036 *(uint32_t*)buf1256 = rsAllocationGetDimY(*(rs_allocation*)buf1257); 3037 *(uint32_t*)buf1258 = rsAllocationGetDimZ(*(rs_allocation*)buf1259); 3038 *(rs_element*)buf1260 = rsAllocationGetElement(*(rs_allocation*)buf1261); 3039 rsAllocationIoReceive(*(rs_allocation*)buf1262); 3040 rsAllocationIoSend(*(rs_allocation*)buf1263); [all …]
|
/frameworks/rs/driver/ |
D | rsdRuntimeStubs.cpp | 107 OPAQUETYPE(rs_allocation) 174 android::renderscript::rs_allocation obj = {0}; in rsGetAllocation() 179 const android::renderscript::rs_allocation rsGetAllocation(const void *ptr) { in rsGetAllocation() 185 android::renderscript::rs_allocation obj = {0}; in rsGetAllocation() 187 android::renderscript::rs_allocation obj = {0, 0, 0, 0}; in rsGetAllocation() 194 void __attribute__((overloadable)) rsAllocationIoSend(::rs_allocation a) { in rsAllocationIoSend() 201 void __attribute__((overloadable)) rsAllocationIoReceive(::rs_allocation a) { in rsAllocationIoReceive() 209 ::rs_allocation dstAlloc, in rsAllocationCopy1DRange() 211 ::rs_allocation srcAlloc, in rsAllocationCopy1DRange() 221 ::rs_allocation dstAlloc, in rsAllocationCopy2DRange() [all …]
|