Home
last modified time | relevance | path

Searched refs:srcA (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DImageProcessingTest.java295 float srcR, srcG, srcB, srcA; field in ImageProcessingTest.BlendFunc
342 srcA = (0xFF & (src >> 24)) * scale; in unpackSrc()
365 byte[] filter(byte srcR, byte srcG, byte srcB, byte srcA, in filter() argument
371 this.srcA = (0xFF & (srcA)) * scale; in filter()
385 s_srcA = (0xFF & (srcA)); in filter()
403 float r = (dstR * srcA + (1 - dstA) * srcR);
404 float g = (dstG * srcA + (1 - dstA) * srcG);
405 float b = (dstB * srcA + (1 - dstA) * srcB);
406 float a = srcA;
419 float r = (dstR * srcA);
[all …]
DAllocationTest.java447 Allocation srcA = Allocation.createSized(mRS, Element.F32(mRS), nElems); in helperFloatAllocationCopy() local
459 srcA.copyFrom(src); in helperFloatAllocationCopy()
461 dstA.copy1DRangeFrom(offset, count, srcA, offset); in helperFloatAllocationCopy()
468 srcA.destroy(); in helperFloatAllocationCopy()
474 Allocation srcA = Allocation.createSized(mRS, Element.I8(mRS), nElems); in helperByteAllocationCopy() local
486 srcA.copyFrom(src); in helperByteAllocationCopy()
488 dstA.copy1DRangeFrom(offset, count, srcA, offset); in helperByteAllocationCopy()
495 srcA.destroy(); in helperByteAllocationCopy()
620 Allocation srcA = Allocation.createTyped(mRS, b.setX(nElemsX).setY(nElemsY).create()); in helperFloatAllocationCopy2D() local
630 srcA.copyFrom(src); in helperFloatAllocationCopy2D()
[all …]
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp194 sp<Allocation> srcA = Allocation::createSized(rs, Element::F32(rs), cellCount); in helperFloatAllocationCopy1D() local
206 srcA->copy1DFrom(src); in helperFloatAllocationCopy1D()
208 dstA->copy1DRangeFrom(offset, count, srcA, offset); in helperFloatAllocationCopy1D()
282 sp<Allocation> srcA = Allocation::createSized2D(rs, Element::F32(rs), xElems, yElems); in helperFloatAllocationCopy2D() local
294 srcA->copy2DRangeFrom(xOffset, yOffset, xCount, yCount, src); in helperFloatAllocationCopy2D()
296 dstA->copy2DRangeFrom(xOffset, yOffset, xCount, yCount, srcA, xOffset, yOffset); in helperFloatAllocationCopy2D()
392 sp<Allocation> srcA = Allocation::createTyped(rs, typeBuilder.create()); in helperFloatAllocationCopy3D() local
404 srcA->copy3DRangeFrom(xOffset, yOffset, zOffset, xCount, yCount, zCount, src); in helperFloatAllocationCopy3D()
407 srcA, xOffset, yOffset, zOffset); in helperFloatAllocationCopy3D()