Lines Matching defs:x_off
69 int x_off; /**< Horizontal top-left corner coordinate */
129 s->x_off - REGION_WIN_BORDER,
166 int x_off = 0;
182 sscanf(offset, "%d,%d", &x_off, &y_off);
193 s1->filename, dpyname, x_off, y_off, x11grab->width, x11grab->height);
218 XQueryPointer(dpy, RootWindow(dpy, screen), &w, &w, &x_off, &y_off, &ret, &ret, &ret);
219 x_off -= x11grab->width / 2;
221 x_off = FFMIN(FFMAX(x_off, 0), screen_w - x11grab->width);
223 av_log(s1, AV_LOG_INFO, "followmouse is enabled, resetting grabbing region to x: %d y: %d\n", x_off, y_off);
257 x_off,y_off,
323 x11grab->x_off = x_off;
351 int x_off = s->x_off;
385 to_column = FFMIN((x + xcim->width), (width + x_off));
388 for (column = FFMAX(x, x_off); column < to_column; column++) {
390 int image_addr = ((line - y_off) * width + column - x_off) * pixstride;
474 int x_off = s->x_off;
529 x_off += pointer_x - s->width / 2 - x_off;
534 if (pointer_x > x_off + s->width - follow_mouse) {
535 x_off += pointer_x - (x_off + s->width - follow_mouse);
536 } else if (pointer_x < x_off + follow_mouse)
537 x_off -= (x_off + follow_mouse) - pointer_x;
544 s->x_off = x_off = FFMIN(FFMAX(x_off, 0), screen_w - s->width);
549 s->x_off - REGION_WIN_BORDER,
566 if (!XShmGetImage(dpy, root, image, x_off, y_off, AllPlanes)) {
570 if (!xget_zpixmap(dpy, root, image, x_off, y_off)) {