MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / mul

Method mul

CodenameOne/src/com/codename1/util/Simd.java:244–248  ·  view source on GitHub ↗
(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length)

Source from the content-addressed store, hash-verified

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) {
245 for (int i = offset, end = offset + length; i < end; i++) {
246 dst[i] = clampByte(srcA[i] * srcB[i]);
247 }
248 }
249
250 /// Exposes SIMD APIs directly **all arrays MUST be aligned arrays**
251 public void min(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length) {

Callers 11

applyGainInPlaceMethod · 0.95
runTestMethod · 0.95
runTestMethod · 0.95
baseFallbackOpsWorkMethod · 0.95
invokeStatic0Method · 0.45
invokeStatic1Method · 0.45
invokeStatic3Method · 0.45
invokeStatic5Method · 0.45
invoke1Method · 0.45
invoke8Method · 0.45
invoke9Method · 0.45

Calls 1

clampByteMethod · 0.95

Tested by 3

runTestMethod · 0.76
runTestMethod · 0.76
baseFallbackOpsWorkMethod · 0.76