/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_scissor.c | 44 const struct gl_scissor_rect *src_rect = &ctx->Scissor.WindowRects[i]; in st_window_rectangles_to_blit() local 46 dst_rect->minx = MAX2(src_rect->X, 0); in st_window_rectangles_to_blit() 47 dst_rect->miny = MAX2(src_rect->Y, 0); in st_window_rectangles_to_blit() 48 dst_rect->maxx = MAX2(src_rect->X + src_rect->Width, 0); in st_window_rectangles_to_blit() 49 dst_rect->maxy = MAX2(src_rect->Y + src_rect->Height, 0); in st_window_rectangles_to_blit()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | postproc.c | 63 struct u_rect src_rect; in vlVaPostProcCompositor() local 70 src_rect.x0 = src_region->x; in vlVaPostProcCompositor() 71 src_rect.y0 = src_region->y; in vlVaPostProcCompositor() 72 src_rect.x1 = src_region->x + src_region->width; in vlVaPostProcCompositor() 73 src_rect.y1 = src_region->y + src_region->height; in vlVaPostProcCompositor() 82 &src_rect, NULL, deinterlace); in vlVaPostProcCompositor() 129 struct u_rect src_rect; in vlVaVidEngineBlit() local 132 src_rect.x0 = src_region->x; in vlVaVidEngineBlit() 133 src_rect.y0 = src_region->y; in vlVaVidEngineBlit() 134 src_rect in vlVaVidEngineBlit() 191 struct u_rect src_rect; vlVaPostProcBlit() local [all...] |
H A D | surface.c | 218 struct u_rect *src_rect, struct u_rect *dst_rect) in vlVaPutSubpictures() 249 s = &sub->src_rect; in vlVaPutSubpictures() 257 c.x1 = MIN2(d->x0 + dw, src_rect->x1); in vlVaPutSubpictures() 258 c.y1 = MIN2(d->y0 + dh, src_rect->y1); in vlVaPutSubpictures() 264 s = src_rect; in vlVaPutSubpictures() 316 struct u_rect src_rect, *dirty_area; in vlVaPutSurface() local 352 src_rect.x0 = srcx; in vlVaPutSurface() 353 src_rect.y0 = srcy; in vlVaPutSurface() 354 src_rect.x1 = srcw + srcx; in vlVaPutSurface() 355 src_rect in vlVaPutSurface() 216 vlVaPutSubpictures(vlVaSurface *surf, vlVaDriver *drv, struct pipe_surface *surf_draw, struct u_rect *dirty_area, struct u_rect *src_rect, struct u_rect *dst_rect) vlVaPutSubpictures() argument 1300 struct u_rect src_rect, dst_rect; vlVaExportSurfaceHandle() local [all...] |
H A D | subpicture.c | 183 struct u_rect src_rect = {src_x, src_x + src_width, src_y, src_y + src_height}; in vlVaAssociateSubpicture() local 205 sub->src_rect = src_rect; in vlVaAssociateSubpicture()
|
H A D | picture.c | 769 struct u_rect src_rect, dst_rect; in vlVaEndPicture() local 771 dst_rect.x0 = src_rect.x0 = 0; in vlVaEndPicture() 772 dst_rect.y0 = src_rect.y0 = 0; in vlVaEndPicture() 773 dst_rect.x1 = src_rect.x1 = surf->templat.width; in vlVaEndPicture() 774 dst_rect.y1 = src_rect.y1 = surf->templat.height; in vlVaEndPicture() 777 &src_rect, &dst_rect, VL_COMPOSITOR_WEAVE); in vlVaEndPicture()
|
H A D | image.c | 342 struct u_rect src_rect, dst_rect; in vlVaDeriveImage() local 356 src_rect.x0 = dst_rect.x0 = 0; in vlVaDeriveImage() 357 src_rect.x1 = dst_rect.x1 = surf->templat.width; in vlVaDeriveImage() 358 src_rect.y0 = dst_rect.y0 = 0; in vlVaDeriveImage() 359 src_rect.y1 = dst_rect.y1 = surf->templat.height; in vlVaDeriveImage() 363 &src_rect, &dst_rect, in vlVaDeriveImage()
|
H A D | va_private.h | 260 struct u_rect src_rect; member
|
/third_party/mesa3d/src/gallium/frontends/omx/ |
H A D | vid_dec_common.c | 96 struct u_rect src_rect; in vid_dec_FillOutput() local 108 src_rect.x0 = 0; in vid_dec_FillOutput() 109 src_rect.y0 = 0; in vid_dec_FillOutput() 110 src_rect.x1 = def->nFrameWidth; in vid_dec_FillOutput() 111 src_rect.y1 = def->nFrameHeight; in vid_dec_FillOutput() 120 &src_rect, NULL, deinterlace); in vid_dec_FillOutput()
|
H A D | vid_enc_common.c | 229 struct u_rect src_rect; in enc_ScaleInput_common() local 232 src_rect.x0 = 0; in enc_ScaleInput_common() 233 src_rect.y0 = 0; in enc_ScaleInput_common() 234 src_rect.x1 = def->nFrameWidth; in enc_ScaleInput_common() 235 src_rect.y1 = def->nFrameHeight; in enc_ScaleInput_common() 237 src_rect.x1 /= 2; in enc_ScaleInput_common() 238 src_rect.y1 /= 2; in enc_ScaleInput_common() 240 vl_compositor_set_rgba_layer(s, compositor, 0, views[i], &src_rect, NULL, NULL); in enc_ScaleInput_common()
|
H A D | vid_dec_h264_common.c | 1088 struct u_rect src_rect, dst_rect; in vid_dec_FrameDecoded_common() local 1111 src_rect.x0 = dst_rect.x0 = 0; in vid_dec_FrameDecoded_common() 1112 src_rect.x1 = dst_rect.x1 = templat.width; in vid_dec_FrameDecoded_common() 1113 src_rect.y0 = dst_rect.y0 = 0; in vid_dec_FrameDecoded_common() 1114 src_rect.y1 = dst_rect.y1 = templat.height; in vid_dec_FrameDecoded_common() 1118 &src_rect, &dst_rect, VL_COMPOSITOR_WEAVE); in vid_dec_FrameDecoded_common()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.h | 242 struct u_rect *src_rect, 255 struct u_rect *src_rect, 267 struct u_rect *src_rect, 287 struct u_rect *src_rect, 300 struct u_rect *src_rect,
|
H A D | vl_compositor.c | 321 struct u_rect *src_rect, struct u_rect *dst_rect, in set_yuv_layer() 341 src_rect ? *src_rect : default_rect(&s->layers[layer]), in set_yuv_layer() 379 struct u_rect *src_rect, struct u_rect *dst_rect, bool y) in set_rgb_to_yuv_layer() 403 src_rect ? *src_rect : default_rect(&s->layers[layer]), in set_rgb_to_yuv_layer() 549 struct u_rect *src_rect, in vl_compositor_set_buffer_layer() 569 src_rect ? *src_rect : default_rect(&s->layers[layer]), in vl_compositor_set_buffer_layer() 619 struct u_rect *src_rect, in vl_compositor_set_palette_layer() 319 set_yuv_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_video_buffer *buffer, struct u_rect *src_rect, struct u_rect *dst_rect, bool y, enum vl_compositor_deinterlace deinterlace) set_yuv_layer() argument 377 set_rgb_to_yuv_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_sampler_view *v, struct u_rect *src_rect, struct u_rect *dst_rect, bool y) set_rgb_to_yuv_layer() argument 545 vl_compositor_set_buffer_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_video_buffer *buffer, struct u_rect *src_rect, struct u_rect *dst_rect, enum vl_compositor_deinterlace deinterlace) vl_compositor_set_buffer_layer() argument 614 vl_compositor_set_palette_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_sampler_view *indexes, struct pipe_sampler_view *palette, struct u_rect *src_rect, struct u_rect *dst_rect, bool include_color_conversion) vl_compositor_set_palette_layer() argument 644 vl_compositor_set_rgba_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_sampler_view *rgba, struct u_rect *src_rect, struct u_rect *dst_rect, struct vertex4f *colors) vl_compositor_set_rgba_layer() argument 686 vl_compositor_yuv_deint_full(struct vl_compositor_state *s, struct vl_compositor *c, struct pipe_video_buffer *src, struct pipe_video_buffer *dst, struct u_rect *src_rect, struct u_rect *dst_rect, enum vl_compositor_deinterlace deinterlace) vl_compositor_yuv_deint_full() argument 716 vl_compositor_convert_rgb_to_yuv(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_resource *src_res, struct pipe_video_buffer *dst, struct u_rect *src_rect, struct u_rect *dst_rect) vl_compositor_convert_rgb_to_yuv() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
H A D | presentation.c | 214 struct u_rect src_rect, dst_clip, *dirty_area; in vlVdpPresentationQueueDisplay() local 254 src_rect.x0 = 0; in vlVdpPresentationQueueDisplay() 255 src_rect.y0 = 0; in vlVdpPresentationQueueDisplay() 256 src_rect.x1 = surf_draw->width; in vlVdpPresentationQueueDisplay() 257 src_rect.y1 = surf_draw->height; in vlVdpPresentationQueueDisplay() 260 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL); in vlVdpPresentationQueueDisplay()
|
H A D | output.c | 665 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderOutputSurface() local 699 RectToPipe(source_rect, &src_rect), NULL, in vlVdpOutputSurfaceRenderOutputSurface() 735 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderBitmapSurface() local 769 RectToPipe(source_rect, &src_rect), NULL, in vlVdpOutputSurfaceRenderBitmapSurface()
|
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
H A D | surface.c | 365 struct u_rect src_rect = {srcx, srcx + srcw, srcy, srcy + srch}; in XvMCPutSurface() local 421 &src_rect, NULL, VL_COMPOSITOR_WEAVE); in XvMCPutSurface() 430 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, true); in XvMCPutSurface() 433 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, NULL); in XvMCPutSurface()
|
H A D | xvmc_private.h | 93 struct u_rect src_rect; member
|
H A D | subpicture.c | 508 struct u_rect src_rect = {subx, subx + subw, suby, suby + subh}; in XvMCBlendSubpicture() local 533 subpicture_priv->src_rect = src_rect; in XvMCBlendSubpicture()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_meta_copy.c | 680 float src_rect[] = { in panvk_meta_copy_img2img() local 688 pan_pool_upload_aligned(&cmdbuf->desc_pool.base, src_rect, in panvk_meta_copy_img2img() 689 sizeof(src_rect), 64); in panvk_meta_copy_img2img() 1103 float src_rect[] = { in panvk_meta_copy_buf2img() local 1111 pan_pool_upload_aligned(&cmdbuf->desc_pool.base, src_rect, in panvk_meta_copy_buf2img() 1112 sizeof(src_rect), 64); in panvk_meta_copy_buf2img()
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_blitter.c | 1564 float src_rect[] = { in pan_blit() local 1572 pan_pool_upload_aligned(pool, src_rect, in pan_blit() 1573 sizeof(src_rect), 64); in pan_blit()
|