/frameworks/rs/rsov/driver/ |
H A D | rsovScript.cpp | 41 uint32_t element_size; // TODO: not implemented 42 uint32_t x_size; 43 uint32_t y_size; 44 uint32_t z_size; 68 std::vector<uint32_t> readWords(const char *filename) { 77 std::vector<uint32_t> spvWords(length / sizeof(uint32_t)); 86 std::vector<uint32_t> compileBitcode(const char *resName, const char *cacheDir, 103 return std::vector<uint32_t>(); 134 RSoVScript::RSoVScript(RSoVContext *context, std::vector<uint32_t> [all...] |
H A D | rsovScript.h | 48 RSoVScript(RSoVContext *context, std::vector<uint32_t> &&spvWords, 51 RSoVScript(RSoVContext *context, const std::vector<uint32_t> &spvWords, 62 void invokeFunction(uint32_t slot, const void *params, 66 void invokeForEach(uint32_t slot, const Allocation **ains, uint32_t inLen, 67 Allocation *aout, const void *usr, uint32_t usrLen, 70 void invokeReduce(uint32_t slot, const Allocation **ains, uint32_t inLen, 76 void setGlobalVar(uint32_t slot, const void *data, 78 void getGlobalVar(uint32_t slo [all...] |
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
H A D | multi_input.rs | 21 float RS_KERNEL sum2(float in0, float in1, uint32_t x) {
|
/frameworks/rs/script_api/include/ |
H A D | rs_allocation_create.rsh | 60 rsCreateVectorElement(rs_data_type data_type, uint32_t vector_width); 108 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, 114 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ); 119 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY); 124 rsCreateType(rs_element element, uint32_t dim [all...] |
H A 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, 108 uint32_t dstMip, rs_allocation_cubemap_face dstFace, uint32_t width, 109 uint32_t heigh [all...] |
H A D | rs_atomic.rsh | 57 rsAtomicAdd(volatile uint32_t* addr, uint32_t value); 79 rsAtomicAnd(volatile uint32_t* addr, uint32_t value); 104 extern uint32_t __attribute__((overloadable)) 105 rsAtomicCas(volatile uint32_t* addr, uint32_t compareValue, uint32_t newValue); 125 rsAtomicDec(volatile uint32_t* addr); 145 rsAtomicInc(volatile uint32_t* add [all...] |
H A D | rs_for_each.rsh | 77 uint32_t xStart; // Starting index in the X dimension. 78 uint32_t xEnd; // Ending index (exclusive) in the X dimension. 79 uint32_t yStart; // Starting index in the Y dimension. 80 uint32_t yEnd; // Ending index (exclusive) in the Y dimension. 81 uint32_t zStart; // Starting index in the Z dimension. 82 uint32_t zEnd; // Ending index (exclusive) in the Z dimension. 83 uint32_t arrayStart; // Starting index in the Array0 dimension. 84 uint32_t arrayEnd; // Ending index (exclusive) in the Array0 dimension. 85 uint32_t array1Start; // Starting index in the Array1 dimension. 86 uint32_t array1En [all...] |
H A D | rs_graphics.rsh | 1079 rsgMeshGetIndexAllocation(rs_mesh m, uint32_t index); 1104 rsgMeshGetPrimitive(rs_mesh m, uint32_t index); 1123 extern uint32_t __attribute__((overloadable 1153 rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index); 1172 extern uint32_t __attribute__((overloadable
|
H A D | rs_matrix.rsh | 188 rsMatrixGet(const rs_matrix4x4* m, uint32_t col, uint32_t row); 191 rsMatrixGet(const rs_matrix3x3* m, uint32_t col, uint32_t row); 194 rsMatrixGet(const rs_matrix2x2* m, uint32_t col, uint32_t row); 567 rsMatrixSet(rs_matrix4x4* m, uint32_t col, uint32_t row, float v); 570 rsMatrixSet(rs_matrix3x3* m, uint32_t col, uint32_t ro [all...] |
H A D | rs_object_info.rsh | 83 extern uint32_t __attribute__((overloadable)) 96 extern uint32_t __attribute__((overloadable)) 108 extern uint32_t __attribute__((overloadable)) 121 extern uint32_t __attribute__((overloadable)) 134 extern uint32_t __attribute__((overloadable)) 206 extern uint32_t __attribute__((overloadable)) 258 rsElementGetSubElement(rs_element e, uint32_t index); 275 extern uint32_t __attribute__((overloadable)) 276 rsElementGetSubElementArraySize(rs_element e, uint32_t index); 292 extern uint32_t __attribute_ [all...] |
H A D | rs_value_types.rsh | 28 * Unsigned integer: uchar, uint8_t ushort, uint16_t uint, uint32_t ulong, uint64_t 182 * uint32_t: 32 bit unsigned integer 186 typedef unsigned int uint32_t; 220 typedef uint32_t uint; 239 typedef uint32_t size_t;
|
/frameworks/rs/script_api/ |
H A D | rs_allocation_create.spec | 43 arg: uint32_t vector_width, "Vector width (either 2, 3, or 4)" 71 arg: uint32_t vecSize 79 arg: uint32_t dimX, "Size along the X dimension" 80 arg: uint32_t dimY, "Size along the Y dimension" 81 arg: uint32_t dimZ, "Size along the Z dimension" 109 arg: uint32_t dimX 110 arg: uint32_t dimY 111 arg: uint32_t dimZ 119 arg: uint32_t dimX 120 arg: uint32_t dim [all...] |
H A D | rs_atomic.spec | 48 arg: volatile uint32_t* addr 49 arg: uint32_t value 68 arg: volatile uint32_t* addr 69 arg: uint32_t value 91 ret: uint32_t 92 arg: volatile uint32_t* addr 93 arg: uint32_t compareValue 94 arg: uint32_t newValue 111 arg: volatile uint32_t* addr 128 arg: volatile uint32_t* add [all...] |
H A D | rs_for_each.spec | 61 field: uint32_t xStart, "Starting index in the X dimension." 62 field: uint32_t xEnd, "Ending index (exclusive) in the X dimension." 63 field: uint32_t yStart, "Starting index in the Y dimension." 64 field: uint32_t yEnd, "Ending index (exclusive) in the Y dimension." 65 field: uint32_t zStart, "Starting index in the Z dimension." 66 field: uint32_t zEnd, "Ending index (exclusive) in the Z dimension." 67 field: uint32_t arrayStart, "Starting index in the Array0 dimension." 68 field: uint32_t arrayEnd, "Ending index (exclusive) in the Array0 dimension." 69 field: uint32_t array1Start, "Starting index in the Array1 dimension." 70 field: uint32_t array1En [all...] |
H A D | rs_graphics.spec | 715 arg: uint32_t index, "index of the index allocation" 729 arg: uint32_t index, "index of the primitive" 741 ret: uint32_t, "number of primitive groups in the mesh. This would include simple primitives as well as allocations containing index data" 756 arg: uint32_t index, "index of the vertex allocation" 768 ret: uint32_t, "number of allocations in the mesh that contain vertex data"
|
H A D | rs_matrix.spec | 183 arg: uint32_t col, "Zero-based column of the element to be extracted." 184 arg: uint32_t row, "Zero-based row of the element to extracted." 552 arg: uint32_t col, "Zero-based column of the element to be set." 553 arg: uint32_t row, "Zero-based row of the element to be set."
|
H A D | rs_object_info.spec | 69 ret: uint32_t, "Returns 1 if more than one face is present, 0 otherwise." 81 ret: uint32_t, "Returns 1 if more than one LOD is present, 0 otherwise." 93 ret: uint32_t, "X dimension of the Allocation." 104 ret: uint32_t, "Y dimension of the Allocation." 116 ret: uint32_t, "Z dimension of the Allocation." 168 ret: uint32_t 211 arg: uint32_t index, "Index of the sub-element to return." 224 ret: uint32_t, "Array size of the sub-element." 226 arg: uint32_t index, "Index of the sub-element." 237 ret: uint32_t, "Numbe [all...] |
H A D | rs_value_types.spec | 26 <tr><td>Unsigned integer:</td> <td>uchar, @uint8_t</td> <td>ushort, @uint16_t</td> <td>uint, @uint32_t</td> <td>ulong, @uint64_t</td></tr> 176 type: uint32_t 211 simple: uint32_t 234 simple: uint32_t
|
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 518 dispatchTab.ClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index, 854 uint32_t subID; 873 uint32_t subID; 892 uint32_t subID; 954 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); 958 arraySizes[i] = (uint32_t)jArraySizes[i]; 969 (const uint32_t *)arraySizes, fieldCount); 987 uint32_t dataSiz [all...] |
/frameworks/rs/tests/cpp_api/cpp-globalguard/ |
H A D | compute.cpp | 32 uint32_t numElems = 1024; 40 numElems = (uint32_t) tempNumElems; 61 uint32_t* buf = new uint32_t[numElems]; 62 for (uint32_t ct=0; ct < numElems; ct++) { 63 buf[ct] = (uint32_t)ct; 72 for (uint32_t ct=0; ct < numElems; ct++) {
|
H A D | multiply.rs | 21 uint32_t RS_KERNEL multiply(uint32_t in) {
|
/frameworks/rs/tests/cpp_api/cppallocation/ |
H A D | compute.cpp | 9 uint32_t numElems = 1024; 17 numElems = (uint32_t) tempNumElems; 38 uint32_t* buf = new uint32_t[numElems]; 39 for (uint32_t ct=0; ct < numElems; ct++) { 40 buf[ct] = (uint32_t)ct; 49 for (uint32_t ct=0; ct < numElems; ct++) {
|
H A D | multiply.rs | 21 uint32_t RS_KERNEL multiply(uint32_t in) {
|
/frameworks/rs/tests/cpp_api/cppbasic/ |
H A D | compute.cpp | 56 uint32_t *buf = new uint32_t[t->getCount()]; 57 for (uint32_t ct=0; ct < t->getCount(); ct++) { 75 static const uint32_t xDim = 7; 76 static const uint32_t yDim = 7; 86 for (uint32_t ct=0; ct < t->getCount(); ct++) {
|
H A D | mono.rs | 74 int RS_KERNEL kern1(int i, uint32_t x, uint32_t y) { 78 void RS_KERNEL verify_kern1(int i, uint32_t x, uint32_t y) {
|