Home
last modified time | relevance | path

Searched refs:ain (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DScriptIntrinsicBlend.java45 private void blend(int id, Allocation ain, Allocation aout) { in blend() argument
46 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) { in blend()
52 forEach(id, ain, aout, null); in blend()
61 public void forEachClear(Allocation ain, Allocation aout) { in forEachClear() argument
62 blend(0, ain, aout); in forEachClear()
81 public void forEachSrc(Allocation ain, Allocation aout) { in forEachSrc() argument
82 blend(1, ain, aout); in forEachSrc()
101 public void forEachDst(Allocation ain, Allocation aout) { in forEachDst() argument
120 public void forEachSrcOver(Allocation ain, Allocation aout) { in forEachSrcOver() argument
121 blend(3, ain, aout); in forEachSrcOver()
[all …]
DScriptIntrinsicYuvToRGB.java57 public void setInput(Allocation ain) { in setInput() argument
58 mInput = ain; in setInput()
59 bindAllocation(ain, 0); in setInput()
DScriptIntrinsicConvolve5x5.java62 public void setInput(Allocation ain) { in setInput() argument
63 mInput = ain; in setInput()
64 bindAllocation(ain, 1); in setInput()
DScriptIntrinsicBlur.java64 public void setInput(Allocation ain) { in setInput() argument
65 mInput = ain; in setInput()
66 bindAllocation(ain, 1); in setInput()
DScriptIntrinsicConvolve3x3.java67 public void setInput(Allocation ain) { in setInput() argument
68 mInput = ain; in setInput()
69 bindAllocation(ain, 1); in setInput()
/frameworks/base/graphics/java/android/renderscript/
DScriptIntrinsicBlend.java45 private void blend(int id, Allocation ain, Allocation aout) { in blend() argument
46 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) { in blend()
52 forEach(id, ain, aout, null); in blend()
61 public void forEachClear(Allocation ain, Allocation aout) { in forEachClear() argument
62 blend(0, ain, aout); in forEachClear()
81 public void forEachSrc(Allocation ain, Allocation aout) { in forEachSrc() argument
82 blend(1, ain, aout); in forEachSrc()
101 public void forEachDst(Allocation ain, Allocation aout) { in forEachDst() argument
120 public void forEachSrcOver(Allocation ain, Allocation aout) { in forEachSrcOver() argument
121 blend(3, ain, aout); in forEachSrcOver()
[all …]
DScriptIntrinsicYuvToRGB.java57 public void setInput(Allocation ain) { in setInput() argument
58 mInput = ain; in setInput()
59 setVar(0, ain); in setInput()
DScriptIntrinsicConvolve5x5.java62 public void setInput(Allocation ain) { in setInput() argument
63 mInput = ain; in setInput()
64 setVar(1, ain); in setInput()
DScriptIntrinsicBlur.java64 public void setInput(Allocation ain) { in setInput() argument
65 mInput = ain; in setInput()
66 setVar(1, ain); in setInput()
DScriptIntrinsicConvolve3x3.java69 public void setInput(Allocation ain) { in setInput() argument
70 mInput = ain; in setInput()
71 setVar(1, ain); in setInput()
/frameworks/compile/slang/tests/F_fs_ptr/
Dfs_ptr.fs15 int __attribute__((kernel)) root(uint32_t ain) {
18 c = (char*) ain; // TODO(srhines): This is ok today.
22 void __attribute__((kernel)) in_only(uint32_t ain) {
29 int __attribute__((kernel)) everything(uint32_t ain, uint32_t x, uint32_t y) {
30 return (int)&ain; // TODO(srhines): This is ok today.
33 void old_kernel(const uint32_t *ain, uint32_t x, uint32_t y) {
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dkernel.rs3 int *ain;
13 int __attribute__((kernel)) root(int ain, uint32_t x) {
14 _RS_ASSERT(ain == 7);
15 return ain + x;
23 _RS_ASSERT(aout[i] == (i + ain[i]));
Dkernel_struct.rs12 struct simpleStruct *ain;
39 _RS_ASSERT(aout[i].i1 == (i + ain[i].i1));
40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
41 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
42 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
/frameworks/compile/slang/tests/F_kernel_noattr/
Dkernel_noattr.rs4 int root(uint32_t ain) {
8 void in_only(uint32_t ain) {
15 int everything(uint32_t ain, uint32_t x, uint32_t y) {
/frameworks/compile/slang/tests/P_kernel/
Dkernel.rs4 int __attribute__((kernel)) root(uint32_t ain) {
8 void __attribute__((kernel)) in_only(uint32_t ain) {
15 int __attribute__((kernel)) everything(uint32_t ain, uint32_t x, uint32_t y) {
/frameworks/rs/tests/
Dcompute.cpp34 sp<Allocation> ain = Allocation::createTyped(rs, t); in main() local
36 printf("Allocation %p %p\n", ain.get(), aout.get()); in main()
46 ain->copy1DRangeFromUnchecked(0, t->getCount(), buf, t->getCount()*4); in main()
50 sc->forEach_root(ain, aout); in main()
/frameworks/compile/slang/tests/P_fs_kernel/
Dfs_kernel.fs4 int __attribute__((kernel)) root(uint32_t ain) {
8 void __attribute__((kernel)) in_only(uint32_t ain) {
15 int __attribute__((kernel)) everything(uint32_t ain, uint32_t x, uint32_t y) {
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
Dballs.rs59 bc.ain = rsGetAllocation(balls2);
63 bc.ain = rsGetAllocation(balls1);
68 bc.dimX = rsAllocationGetDimX(bc.ain);
71 rsForEach(physics_script, bc.ain, bc.aout, &bc, sizeof(bc));
/frameworks/rs/driver/
DrsdBcc.cpp250 const Allocation * ain, in rsdScriptInvokeForEachMtlsSetup() argument
259 if (ain) { in rsdScriptInvokeForEachMtlsSetup()
260 mtls->fep.dimX = ain->getType()->getDimX(); in rsdScriptInvokeForEachMtlsSetup()
261 mtls->fep.dimY = ain->getType()->getDimY(); in rsdScriptInvokeForEachMtlsSetup()
262 mtls->fep.dimZ = ain->getType()->getDimZ(); in rsdScriptInvokeForEachMtlsSetup()
301 rsAssert(!ain || (ain->getType()->getDimZ() == 0)); in rsdScriptInvokeForEachMtlsSetup()
305 mtls->ain = ain; in rsdScriptInvokeForEachMtlsSetup()
315 if (ain) { in rsdScriptInvokeForEachMtlsSetup()
316 DrvAllocation *aindrv = (DrvAllocation *)ain->mHal.drv; in rsdScriptInvokeForEachMtlsSetup()
318 mtls->fep.eStrideIn = ain->getType()->getElementSizeBytes(); in rsdScriptInvokeForEachMtlsSetup()
[all …]
DrsdScriptGroup.cpp72 Allocation *ain = NULL; in rsdScriptGroupExecute() local
77 ain = n->mInputs[ct3]->mAlloc.get(); in rsdScriptGroupExecute()
83 ain = sg->mInputs[ct3]->mAlloc.get(); in rsdScriptGroupExecute()
102 (k->mHasKernelInput == (ain != NULL))) { in rsdScriptGroupExecute()
103 ins.add(ain); in rsdScriptGroupExecute()
/frameworks/rs/cpp/
DScript.cpp35 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, in forEach() argument
37 if ((ain == NULL) && (aout == NULL)) { in forEach()
40 void *in_id = BaseObj::getObjID(ain); in forEach()
/frameworks/compile/slang/tests/F_fs_oldkernel/
Dfs_oldkernel.fs4 void old_kernel(const uint32_t *ain, uint32_t x, uint32_t y) {
7 uint32_t* bad_kernel(const uint32_t *ain, uint32_t x, uint32_t y) {
Dstderr.txt.expect1 fs_oldkernel.fs:4:17: error: Pointers are forbidden in Filterscript: 'ain'
3 fs_oldkernel.fs:7:22: error: Pointers are forbidden in Filterscript: 'ain'
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdScriptGroup.cpp63 Allocation *ain = NULL; in rsdScriptGroupExecute() local
68 ain = n->mInputs[ct3]->mAlloc.get(); in rsdScriptGroupExecute()
74 ain = sg->mInputs[ct3]->mAlloc.get(); in rsdScriptGroupExecute()
92 ins.add(ain); in rsdScriptGroupExecute()
DrsdBcc.cpp423 const Allocation * ain, in rsdScriptInvokeForEachMtlsSetup() argument
432 if (ain) { in rsdScriptInvokeForEachMtlsSetup()
433 mtls->fep.dimX = ain->getType()->getDimX(); in rsdScriptInvokeForEachMtlsSetup()
434 mtls->fep.dimY = ain->getType()->getDimY(); in rsdScriptInvokeForEachMtlsSetup()
435 mtls->fep.dimZ = ain->getType()->getDimZ(); in rsdScriptInvokeForEachMtlsSetup()
474 rsAssert(!ain || (ain->getType()->getDimZ() == 0)); in rsdScriptInvokeForEachMtlsSetup()
478 mtls->ain = ain; in rsdScriptInvokeForEachMtlsSetup()
488 if (ain) { in rsdScriptInvokeForEachMtlsSetup()
489 DrvAllocation *aindrv = (DrvAllocation *)ain->mHal.drv; in rsdScriptInvokeForEachMtlsSetup()
491 mtls->fep.eStrideIn = ain->getType()->getElementSizeBytes(); in rsdScriptInvokeForEachMtlsSetup()
[all …]

123