Lines Matching refs:starty
389 return (on_window && (win_x >= src->startx) && (win_y >= src->starty) && in gst_ximage_is_pointer_in_region()
586 ximagesrc->endy > ximagesrc->starty) { in gst_ximage_src_ximage_get()
591 } else if (rects[i].y + rects[i].height - 1 < ximagesrc->starty || in gst_ximage_src_ximage_get()
596 int startx, starty, width, height; in gst_ximage_src_ximage_get() local
600 starty = (rects[i].y < ximagesrc->starty) ? ximagesrc->starty : in gst_ximage_src_ximage_get()
606 rects[i].y + rects[i].height - starty : ximagesrc->endy - in gst_ximage_src_ximage_get()
607 starty + 1; in gst_ximage_src_ximage_get()
611 startx, starty, width, height); in gst_ximage_src_ximage_get()
613 startx, starty, width, height, AllPlanes, ZPixmap, in gst_ximage_src_ximage_get()
615 starty - ximagesrc->starty); in gst_ximage_src_ximage_get()
664 x, y, width, height, ximagesrc->startx, ximagesrc->starty, in gst_ximage_src_ximage_get()
668 ximagesrc->endy > ximagesrc->starty) { in gst_ximage_src_ximage_get()
672 } else if (y + height < ximagesrc->starty || y > ximagesrc->endy) { in gst_ximage_src_ximage_get()
676 int startx, starty, iwidth, iheight; in gst_ximage_src_ximage_get() local
679 starty = (y < ximagesrc->starty) ? ximagesrc->starty : y; in gst_ximage_src_ximage_get()
683 y + height - starty : ximagesrc->endy - starty; in gst_ximage_src_ximage_get()
686 startx, starty, iwidth, iheight, AllPlanes, ZPixmap, in gst_ximage_src_ximage_get()
688 starty - ximagesrc->starty); in gst_ximage_src_ximage_get()
707 meta->ximage, ximagesrc->startx, ximagesrc->starty, AllPlanes); in gst_ximage_src_ximage_get()
715 ximagesrc->startx, ximagesrc->starty, ximagesrc->width, in gst_ximage_src_ximage_get()
720 ximagesrc->startx, ximagesrc->starty, ximagesrc->width, in gst_ximage_src_ximage_get()
739 int startx, starty, iwidth, iheight; in gst_ximage_src_ximage_get() local
750 ximagesrc->endy > ximagesrc->starty) { in gst_ximage_src_ximage_get()
757 (int) ximagesrc->starty || cy > (int) ximagesrc->endy) { in gst_ximage_src_ximage_get()
764 starty = (cy < (int) ximagesrc->starty) ? ximagesrc->starty : cy; in gst_ximage_src_ximage_get()
771 starty : ximagesrc->endy - starty; in gst_ximage_src_ximage_get()
775 starty = cy; in gst_ximage_src_ximage_get()
786 for (j = starty; in gst_ximage_src_ximage_get()
787 j < starty + iheight in gst_ximage_src_ximage_get()
788 && j < ximagesrc->starty + ximagesrc->height; j++) { in gst_ximage_src_ximage_get()
799 ximagesrc->starty) * ximagesrc->width + (i - in gst_ximage_src_ximage_get()
943 src->starty = g_value_get_uint (value); in gst_ximage_src_set_property()
998 g_value_set_uint (value, src->starty); in gst_ximage_src_get_property()
1094 if (s->endx >= s->startx && s->endy >= s->starty) { in gst_ximage_src_get_caps()
1097 s->starty < xcontext->height && s->endy < xcontext->height) { in gst_ximage_src_get_caps()
1100 s->height = height = s->endy - s->starty + 1; in gst_ximage_src_get_caps()
1105 s->starty = 0; in gst_ximage_src_get_caps()
1112 s->starty = 0; in gst_ximage_src_get_caps()
1311 ximagesrc->starty = 0; in gst_ximage_src_init()