Searched refs:ow (Results 1 – 2 of 2) sorted by relevance
500 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() argument502 assert (ow > 0 && ow <= 8): "output NUB must be between 1 and 8"; in pack()504 if (iw == ow) { in pack()509 byte[] out = new byte[(bits+ow-1)/ow]; in pack()515 int opos = (bits+ow-1)/ow*ow-bits; in pack()519 if (count > ow - opos%ow) { // free space available in output byte in pack()520 count = ow - opos%ow; // choose the smaller number in pack()523 out[opos/ow] |= // paste! in pack()527 << (ow-opos%ow-count); // move to the output position in pack()
95 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() argument