Lines Matching defs:out_image
54 XImage *out_image, int x, int y, int w, int h);
60 static void Extract_Plane(XImage *in_image, XImage *out_image, int plane);
65 XColor *colors, XImage *in_image, XImage *out_image);
67 XColor *colors, XImage *in_image, XImage *out_image);
70 XColor *colors, XImage *in_image, XImage *out_image);
73 XImage *in_image, XImage *out_image, XVisualInfo *vinfo);
117 XImage *in_image, *out_image;
537 out_image = XCreateImage(dpy, vinfo.visual, 1,
541 out_image->data = malloc(Image_Size(out_image));
542 if (out_image->data == NULL)
544 Extract_Plane(in_image, out_image, plane);
547 out_image = in_image;
549 out_image = XCreateImage(dpy, vinfo.visual, vinfo.depth,
555 out_image->data = malloc(Image_Size(out_image));
556 if (out_image->data == NULL)
560 Do_StdGray(dpy, stdmap, ncolors, colors, in_image, out_image);
562 Do_StdCol(dpy, stdmap, ncolors, colors, in_image, out_image);
566 in_image, out_image, &vinfo);
568 Do_Pseudo(dpy, &colormap, ncolors, colors, in_image, out_image);
571 if (out_image->depth == 1) {
593 gc_val.background = XGetPixel(out_image, 0, 0);
611 hints.width = out_image->width;
612 hints.height = out_image->height;
621 hints.max_width = (hints.width > out_image->width) ?
622 hints.width : out_image->width;
623 hints.max_height = (hints.height > out_image->height) ?
624 hints.height : out_image->height;
692 putScaledImage(dpy, image_win, gc, out_image,
696 else if ((expose->x < out_image->width) &&
697 (expose->y < out_image->height)) {
698 if ((out_image->width - expose->x) < expose->width)
699 expose->width = out_image->width - expose->x;
700 if ((out_image->height - expose->y) < expose->height)
701 expose->height = out_image->height - expose->y;
702 putImage(dpy, image_win, gc, out_image,
713 putImage(Display *dpy, Window image_win, GC gc, XImage *out_image,
727 XPutImage(dpy, image_win, gc, out_image,
732 XPutImage (dpy, image_win, gc, out_image, x, y, x, y, w, h);
892 Extract_Plane(XImage *in_image, XImage *out_image, int plane)
898 XPutPixel(out_image, x, y,
944 int ncolors, XColor *colors, XImage *in_image, XImage *out_image)
959 XPutPixel(out_image, x, y,
969 int ncolors, XColor *colors, XImage *in_image, XImage *out_image)
985 XPutPixel(out_image, x, y,
1003 int ncolors, XColor *colors, XImage *in_image, XImage *out_image)
1020 XPutPixel(out_image, x, y, color->pixel);
1027 int ncolors, XColor *colors, XImage *in_image, XImage *out_image,
1088 XPutPixel(out_image, x, y, color.pixel);
1118 XPutPixel(out_image, x, y, xpix);
1162 XPutPixel(out_image, x, y, color.pixel);