Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DImageProcessingTest.java352 float dstR, dstG, dstB, dstA; field in ImageProcessingTest.BlendFunc
412 dstA = (0xFF & (dst >> 24)) * scale; in unpackDst()
422 byte dstR, byte dstG, byte dstB, byte dstA) { in filter() argument
432 this.dstA = (0xFF & (dstA)) * scale; in filter()
436 s_dstA = (0xFF & (dstA)); in filter()
459 float r = (dstR * srcA + (1 - dstA) * srcR);
460 float g = (dstG * srcA + (1 - dstA) * srcG);
461 float b = (dstB * srcA + (1 - dstA) * srcB);
478 float a = (dstA * srcA);
521 return pack(dstA, dstR, dstG, dstB);
[all …]
DAllocationTest.java451 Allocation dstA = Allocation.createSized(mRS, Element.F32(mRS), nElems); in helperFloatAllocationCopy() local
464 dstA.copy1DRangeFrom(offset, count, srcA, offset); in helperFloatAllocationCopy()
465 dstA.copyTo(dst); in helperFloatAllocationCopy()
472 dstA.destroy(); in helperFloatAllocationCopy()
478 Allocation dstA = Allocation.createSized(mRS, Element.I8(mRS), nElems); in helperByteAllocationCopy() local
491 dstA.copy1DRangeFrom(offset, count, srcA, offset); in helperByteAllocationCopy()
492 dstA.copyTo(dst); in helperByteAllocationCopy()
499 dstA.destroy(); in helperByteAllocationCopy()
624 Allocation dstA = Allocation.createTyped(mRS, b.setX(nElemsX).setY(nElemsY).create()); in helperFloatAllocationCopy2D() local
634 dstA.copy2DRangeFrom(xOffset, yOffset, width, height, srcA, xOffset, yOffset); in helperFloatAllocationCopy2D()
[all …]
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp195 sp<Allocation> dstA = Allocation::createSized(rs, Element::F32(rs), cellCount); in helperFloatAllocationCopy1D() local
208 dstA->copy1DRangeFrom(offset, count, srcA, offset); in helperFloatAllocationCopy1D()
209 dstA->copy1DTo(dst); in helperFloatAllocationCopy1D()
283 sp<Allocation> dstA = Allocation::createSized2D(rs, Element::F32(rs), xElems, yElems); in helperFloatAllocationCopy2D() local
296 dstA->copy2DRangeFrom(xOffset, yOffset, xCount, yCount, srcA, xOffset, yOffset); in helperFloatAllocationCopy2D()
297 dstA->copy2DRangeTo(xOffset, yOffset, xCount, yCount, dst); in helperFloatAllocationCopy2D()
393 sp<Allocation> dstA = Allocation::createTyped(rs, typeBuilder.create()); in helperFloatAllocationCopy3D() local
406 dstA->copy3DRangeFrom(xOffset, yOffset, zOffset, xCount, yCount, zCount, in helperFloatAllocationCopy3D()
408 dstA->copy3DRangeTo(xOffset, yOffset, zOffset, xCount, yCount, zCount, dst); in helperFloatAllocationCopy3D()