(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length)
| 235 | |
| 236 | /// Exposes SIMD APIs directly **all arrays MUST be aligned arrays** |
| 237 | public void sub(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length) { |
| 238 | for (int i = offset, end = offset + length; i < end; i++) { |
| 239 | dst[i] = clampByte(srcA[i] - srcB[i]); |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | /// Exposes SIMD APIs directly **all arrays MUST be aligned arrays** |
| 244 | public void mul(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length) { |
no test coverage detected