Lines Matching defs:buff
153 mlib_s32 buff_loc[BUFF_SIZE], *buff = buff_loc;
175 buff = mlib_malloc(sizeof(mlib_s32) * n_al);
177 if (buff == NULL)
188 buff[8 * i] = (((x >> MLIB_SHIFT)) & 7) | (x & ~BYTE_POS_MASK);
190 buff[8 * i + 1] = (((x >> MLIB_SHIFT) - 1) & 7) | (x & ~BYTE_POS_MASK);
192 buff[8 * i + 2] = (((x >> MLIB_SHIFT) - 2) & 7) | (x & ~BYTE_POS_MASK);
194 buff[8 * i + 3] = (((x >> MLIB_SHIFT) - 3) & 7) | (x & ~BYTE_POS_MASK);
196 buff[8 * i + 4] = (((x >> MLIB_SHIFT) - 4) & 7) | (x & ~BYTE_POS_MASK);
198 buff[8 * i + 5] = (((x >> MLIB_SHIFT) - 5) & 7) | (x & ~BYTE_POS_MASK);
200 buff[8 * i + 6] = (((x >> MLIB_SHIFT) - 6) & 7) | (x & ~BYTE_POS_MASK);
202 buff[8 * i + 7] = (((x >> MLIB_SHIFT) - 7) & 7) | (x & ~BYTE_POS_MASK);
212 buff[8 * i] = (((x >> MLIB_SHIFT)) & 7);
214 buff[8 * i + 1] = (((x >> MLIB_SHIFT) - 1) & 7);
216 buff[8 * i + 2] = (((x >> MLIB_SHIFT) - 2) & 7);
218 buff[8 * i + 3] = (((x >> MLIB_SHIFT) - 3) & 7);
220 buff[8 * i + 4] = (((x >> MLIB_SHIFT) - 4) & 7);
222 buff[8 * i + 5] = (((x >> MLIB_SHIFT) - 5) & 7);
224 buff[8 * i + 6] = (((x >> MLIB_SHIFT) - 6) & 7);
226 buff[8 * i + 7] = (((x >> MLIB_SHIFT) - 7) & 7);
287 res = ((sl[buff[8 * i] >> (MLIB_SHIFT + 3)] << buff[8 * i]) & 0x8080);
288 res |= ((sl[buff[8 * i + 1] >> (MLIB_SHIFT + 3)] << buff[8 * i + 1]) & 0x4040);
289 res |= ((sl[buff[8 * i + 2] >> (MLIB_SHIFT + 3)] << buff[8 * i + 2]) & 0x2020);
290 res |= ((sl[buff[8 * i + 3] >> (MLIB_SHIFT + 3)] << buff[8 * i + 3]) & 0x1010);
291 res |= ((sl[buff[8 * i + 4] >> (MLIB_SHIFT + 3)] << buff[8 * i + 4]) & 0x0808);
292 res |= ((sl[buff[8 * i + 5] >> (MLIB_SHIFT + 3)] << buff[8 * i + 5]) & 0x0404);
293 res |= ((sl[buff[8 * i + 6] >> (MLIB_SHIFT + 3)] << buff[8 * i + 6]) & 0x0202);
294 res |= ((sl[buff[8 * i + 7] >> (MLIB_SHIFT + 3)] << buff[8 * i + 7]) & 0x0101);
296 res = ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i]) & 0x8080);
298 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 1]) & 0x4040);
300 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 2]) & 0x2020);
302 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 3]) & 0x1010);
304 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 4]) & 0x0808);
306 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 5]) & 0x0404);
308 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 6]) & 0x0202);
310 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 7]) & 0x0101);
337 if (buff != buff_loc)
338 mlib_free(buff);
424 mlib_u8 buff_loc[2 * BUFF_SIZE], *buff = buff_loc;
439 buff = mlib_malloc(width8 * sizeof(mlib_u8));
441 if (buff == NULL)
451 buff[8 * i] = (((x >> MLIB_SHIFT)) & 7);
453 buff[8 * i + 1] = (((x >> MLIB_SHIFT) - 1) & 7);
455 buff[8 * i + 2] = (((x >> MLIB_SHIFT) - 2) & 7);
457 buff[8 * i + 3] = (((x >> MLIB_SHIFT) - 3) & 7);
459 buff[8 * i + 4] = (((x >> MLIB_SHIFT) - 4) & 7);
461 buff[8 * i + 5] = (((x >> MLIB_SHIFT) - 5) & 7);
463 buff[8 * i + 6] = (((x >> MLIB_SHIFT) - 6) & 7);
465 buff[8 * i + 7] = (((x >> MLIB_SHIFT) - 7) & 7);
524 res = ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i]) & 0x8080);
526 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 1]) & 0x4040);
528 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 2]) & 0x2020);
530 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 3]) & 0x1010);
532 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 4]) & 0x0808);
534 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 5]) & 0x0404);
536 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 6]) & 0x0202);
538 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 7]) & 0x0101);
575 res = ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i]) & 0x8080);
577 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 1]) & 0x4040);
579 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 2]) & 0x2020);
581 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 3]) & 0x1010);
583 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 4]) & 0x0808);
585 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 5]) & 0x0404);
587 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 6]) & 0x0202);
589 res |= ((sl[x >> (MLIB_SHIFT + 3)] << buff[8 * i + 7]) & 0x0101);
615 if (buff != buff_loc)
616 mlib_free(buff);