• Home
  • Raw
  • Download

Lines Matching refs:b1

48   private static void halving_add_signed(short[] b1, short[] b2, short[] bo) {  in halving_add_signed()  argument
49 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
51 bo[i] = (short) ((b1[i] + b2[i]) >> 1); in halving_add_signed()
74 private static void halving_add_signed_alt(short[] b1, short[] b2, short[] bo) { in halving_add_signed_alt() argument
75 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed_alt()
78 bo[i] = (short) (((b1[i] + 10) + (b2[i] - 10)) >> 1); in halving_add_signed_alt()
110 private static void halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in halving_add_unsigned() argument
111 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
113 int v1 = b1[i] & 0xffff; in halving_add_unsigned()
135 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed() argument
136 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
138 bo[i] = (short) ((b1[i] + b2[i] + 1) >> 1); in rounding_halving_add_signed()
158 private static void rounding_halving_add_signed_alt(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed_alt() argument
159 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt()
162 bo[i] = (short) (((1 + b1[i]) + b2[i]) >> 1); in rounding_halving_add_signed_alt()
185 private static void rounding_halving_add_signed_alt2(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed_alt2() argument
186 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt2()
189 bo[i] = (short) (((b1[i] + 10) + (b2[i] - 9)) >> 1); in rounding_halving_add_signed_alt2()
214 private static void rounding_halving_add_signed_alt3(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed_alt3() argument
215 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt3()
218 bo[i] = (short) (((b1[i] + 9) + (b2[i] - 9) - $inline$mone()) >> 1); in rounding_halving_add_signed_alt3()
252 private static void rounding_halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_unsigned() argument
253 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
255 int v1 = b1[i] & 0xffff; in rounding_halving_add_unsigned()
291 private static void rounding_halving_add_unsigned_alt(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_unsigned_alt() argument
292 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned_alt()
295 int v1 = b1[i] & 0xffff; in rounding_halving_add_unsigned_alt()
317 private static void halving_add_signed_constant(short[] b1, short[] bo) { in halving_add_signed_constant() argument
318 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant()
320 bo[i] = (short) ((b1[i] + 0x7fff) >> 1); in halving_add_signed_constant()
351 private static void halving_add_unsigned_constant(short[] b1, short[] bo) { in halving_add_unsigned_constant() argument
352 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
354 bo[i] = (short) (((b1[i] & 0xffff) + 0xffff) >> 1); in halving_add_unsigned_constant()