• Home
  • Raw
  • Download

Lines Matching refs:b1

47   private static void halving_add_signed(short[] b1, short[] b2, short[] bo) {  in halving_add_signed()  argument
48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
50 bo[i] = (short) ((b1[i] + b2[i]) >>> 1); in halving_add_signed()
82 private static void halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in halving_add_unsigned() argument
83 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
85 int v1 = b1[i] & 0xffff; in halving_add_unsigned()
107 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed() argument
108 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
110 bo[i] = (short) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed()
144 private static void rounding_halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_unsigned() argument
145 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
147 int v1 = b1[i] & 0xffff; in rounding_halving_add_unsigned()
169 private static void halving_add_signed_constant(short[] b1, short[] bo) { in halving_add_signed_constant() argument
170 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant()
172 bo[i] = (short) ((b1[i] + 0x7fff) >>> 1); in halving_add_signed_constant()
203 private static void halving_add_unsigned_constant(short[] b1, short[] bo) { in halving_add_unsigned_constant() argument
204 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
206 bo[i] = (short) (((b1[i] & 0xffff) + 0xffff) >>> 1); in halving_add_unsigned_constant()