Searched refs:ow (Results 1 – 1 of 1) sorted by relevance
494 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) { in pack() argument496 assert (ow > 0 && ow <= 8): "output NUB must be between 1 and 8"; in pack()498 if (iw == ow) { in pack()503 byte[] out = new byte[(bits+ow-1)/ow]; in pack()509 int opos = (bits+ow-1)/ow*ow-bits; in pack()513 if (count > ow - opos%ow) { // free space available in output byte in pack()514 count = ow - opos%ow; // choose the smaller number in pack()517 out[opos/ow] |= // paste! in pack()521 << (ow-opos%ow-count); // move to the output position in pack()