Searched refs:dst_area (Results 1 – 2 of 2) sorted by relevance
852 unsigned layer, struct u_rect *dst_area) in vl_compositor_set_layer_dst_area() argument858 s->layers[layer].viewport_valid = dst_area != NULL; in vl_compositor_set_layer_dst_area()859 if (dst_area) { in vl_compositor_set_layer_dst_area()860 s->layers[layer].viewport.scale[0] = dst_area->x1 - dst_area->x0; in vl_compositor_set_layer_dst_area()861 s->layers[layer].viewport.scale[1] = dst_area->y1 - dst_area->y0; in vl_compositor_set_layer_dst_area()862 s->layers[layer].viewport.translate[0] = dst_area->x0; in vl_compositor_set_layer_dst_area()863 s->layers[layer].viewport.translate[1] = dst_area->y0; in vl_compositor_set_layer_dst_area()
179 unsigned layer, struct u_rect *dst_area);