Lines Matching defs:src_rect
218 struct u_rect *src_rect, struct u_rect *dst_rect)
249 s = &sub->src_rect;
257 c.x1 = MIN2(d->x0 + dw, src_rect->x1);
258 c.y1 = MIN2(d->y0 + dh, src_rect->y1);
264 s = src_rect;
316 struct u_rect src_rect, *dirty_area;
352 src_rect.x0 = srcx;
353 src_rect.y0 = srcy;
354 src_rect.x1 = srcw + srcx;
355 src_rect.y1 = srch + srcy;
366 vl_compositor_set_rgba_layer(&drv->cstate, &drv->compositor, 0, views[0], &src_rect, NULL, NULL);
368 vl_compositor_set_buffer_layer(&drv->cstate, &drv->compositor, 0, surf->buffer, &src_rect, NULL, VL_COMPOSITOR_WEAVE);
373 status = vlVaPutSubpictures(surf, drv, surf_draw, dirty_area, &src_rect, &dst_rect);
1300 struct u_rect src_rect, dst_rect;
1311 src_rect.x0 = dst_rect.x0 = 0;
1312 src_rect.y0 = dst_rect.y0 = 0;
1313 src_rect.x1 = dst_rect.x1 = surf->templat.width;
1314 src_rect.y1 = dst_rect.y1 = surf->templat.height;
1318 &src_rect, &dst_rect,