Lines Matching refs:bo
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 bo[i] = (short) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >>> 1); in halving_add_unsigned()
105 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed() argument
106 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
108 bo[i] = (short) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed()
142 private static void rounding_halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_unsigned() argument
143 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
145 bo[i] = (short) (((b1[i] & 0xffff) + (b2[i] & 0xffff) + 1) >>> 1); in rounding_halving_add_unsigned()
165 private static void halving_add_signed_constant(short[] b1, short[] bo) { in halving_add_signed_constant() argument
166 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant()
168 bo[i] = (short) ((b1[i] + 0x7fff) >>> 1); in halving_add_signed_constant()
199 private static void halving_add_unsigned_constant(short[] b1, short[] bo) { in halving_add_unsigned_constant() argument
200 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
202 bo[i] = (short) (((b1[i] & 0xffff) + 0xffff) >>> 1); in halving_add_unsigned_constant()