Lines Matching defs:dest
1508 zoom_x (struct pixmap *source, struct pixmap *dest)
1514 if (source && dest)
1520 if (source->height == dest->height
1521 && source->components == dest->components)
1523 if (source->width < dest->width)
1525 ratio = ((float) source->width / (float) dest->width);
1527 for (src_ptr = 0, dest_col = 0; dest_col < dest->width;
1531 * dest[dest_col] = source[(int)src_ptr] +
1546 GET_COMP (dest, dest_col, row, component) =
1571 zoom_y (struct pixmap *source, struct pixmap *dest)
1577 if (source && dest)
1583 if (source->width == dest->width
1584 && source->components == dest->components)
1586 if (source->height < dest->height)
1588 ratio = ((float) source->height / (float) dest->height);
1590 for (src_ptr = 0, dest_row = 0; dest_row < dest->height;
1594 * dest[dest_row] = source[(int)src_ptr] +
1609 GET_COMP (dest, column, dest_row, component) =