Home
last modified time | relevance | path

Searched refs:dst_rect (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_scissor.c45 struct pipe_scissor_state *dst_rect = &blit->window_rectangles[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()
/external/mesa3d/src/gallium/frontends/va/
Dpostproc.c63 struct u_rect dst_rect; in vlVaPostProcCompositor() local
74 dst_rect.x0 = dst_region->x; in vlVaPostProcCompositor()
75 dst_rect.y0 = dst_region->y; in vlVaPostProcCompositor()
76 dst_rect.x1 = dst_region->x + dst_region->width; in vlVaPostProcCompositor()
77 dst_rect.y1 = dst_region->y + dst_region->height; in vlVaPostProcCompositor()
82 vl_compositor_set_layer_dst_area(&drv->cstate, 0, &dst_rect); in vlVaPostProcCompositor()
123 struct u_rect dst_rect; in vlVaPostProcBlit() local
163 dst_rect.x0 = dst_region->x; in vlVaPostProcBlit()
164 dst_rect.y0 = dst_region->y; in vlVaPostProcBlit()
165 dst_rect.x1 = dst_region->x + dst_region->width; in vlVaPostProcBlit()
[all …]
Dsurface.c218 struct u_rect *src_rect, struct u_rect *dst_rect) in vlVaPutSubpictures() argument
245 box.width = sub->dst_rect.x1 - sub->dst_rect.x0; in vlVaPutSubpictures()
246 box.height = sub->dst_rect.y1 - sub->dst_rect.y0; in vlVaPutSubpictures()
250 d = &sub->dst_rect; in vlVaPutSubpictures()
265 d = dst_rect; in vlVaPutSubpictures()
317 struct u_rect dst_rect = {destx, destx + destw, desty, desty + desth}; in vlVaPutSurface() local
370 vl_compositor_set_layer_dst_area(&drv->cstate, 0, &dst_rect); in vlVaPutSurface()
373 status = vlVaPutSubpictures(surf, drv, surf_draw, dirty_area, &src_rect, &dst_rect); in vlVaPutSurface()
1011 struct u_rect src_rect, dst_rect; in vlVaExportSurfaceHandle() local
1021 src_rect.x0 = dst_rect.x0 = 0; in vlVaExportSurfaceHandle()
[all …]
Dimage.c312 struct u_rect src_rect, dst_rect; in vlVaDeriveImage() local
327 src_rect.x0 = dst_rect.x0 = 0; in vlVaDeriveImage()
328 src_rect.x1 = dst_rect.x1 = surf->templat.width; in vlVaDeriveImage()
329 src_rect.y0 = dst_rect.y0 = 0; in vlVaDeriveImage()
330 src_rect.y1 = dst_rect.y1 = surf->templat.height; in vlVaDeriveImage()
334 &src_rect, &dst_rect, in vlVaDeriveImage()
Dpicture.c720 struct u_rect src_rect, dst_rect; in vlVaEndPicture() local
722 dst_rect.x0 = src_rect.x0 = 0; in vlVaEndPicture()
723 dst_rect.y0 = src_rect.y0 = 0; in vlVaEndPicture()
724 dst_rect.x1 = src_rect.x1 = surf->templat.width; in vlVaEndPicture()
725 dst_rect.y1 = src_rect.y1 = surf->templat.height; in vlVaEndPicture()
728 &src_rect, &dst_rect, VL_COMPOSITOR_WEAVE); in vlVaEndPicture()
Dsubpicture.c184 struct u_rect dst_rect = {dest_x, dest_x + dest_width, dest_y, dest_y + dest_height}; in vlVaAssociateSubpicture() local
206 sub->dst_rect = dst_rect; in vlVaAssociateSubpicture()
Dva_private.h257 struct u_rect dst_rect; member
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.c320 struct u_rect *src_rect, struct u_rect *dst_rect, in set_yuv_layer() argument
341 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in set_yuv_layer()
378 struct u_rect *src_rect, struct u_rect *dst_rect, bool y) in set_rgb_to_yuv_layer() argument
403 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in set_rgb_to_yuv_layer()
545 struct u_rect *dst_rect, in vl_compositor_set_buffer_layer() argument
565 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_buffer_layer()
613 struct u_rect *dst_rect, in vl_compositor_set_palette_layer() argument
633 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_palette_layer()
642 struct u_rect *dst_rect, in vl_compositor_set_rgba_layer() argument
661 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_rgba_layer()
[all …]
Dvl_compositor.h239 struct u_rect *dst_rect,
252 struct u_rect *dst_rect,
264 struct u_rect *dst_rect,
284 struct u_rect *dst_rect,
297 struct u_rect *dst_rect);
/external/mesa3d/src/gallium/frontends/omx/
Dvid_dec_common.c97 struct u_rect dst_rect; in vid_dec_FillOutput() local
113 dst_rect.x0 = 0; in vid_dec_FillOutput()
114 dst_rect.y0 = 0; in vid_dec_FillOutput()
115 dst_rect.x1 = def->nFrameWidth; in vid_dec_FillOutput()
116 dst_rect.y1 = def->nFrameHeight; in vid_dec_FillOutput()
121 vl_compositor_set_layer_dst_area(s, 0, &dst_rect); in vid_dec_FillOutput()
Dvid_dec_h264_common.c1088 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()
/external/mesa3d/src/gallium/frontends/vdpau/
Doutput.c308 struct u_rect dst_rect; in vlVdpOutputSurfacePutBitsIndexed() local
409 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfacePutBitsIndexed()
444 struct u_rect dst_rect; in vlVdpOutputSurfacePutBitsYCbCr() local
515 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfacePutBitsYCbCr()
659 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderOutputSurface() local
700 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfaceRenderOutputSurface()
729 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderBitmapSurface() local
766 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfaceRenderBitmapSurface()
/external/mesa3d/src/gallium/frontends/xvmc/
Dsurface.c366 struct u_rect dst_rect = {destx, destx + destw, desty, desty + desth}; in XvMCPutSurface() local
430 … &subpicture_priv->src_rect, &subpicture_priv->dst_rect, true); in XvMCPutSurface()
433 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, NULL); in XvMCPutSurface()
442 vl_compositor_set_layer_dst_area(cstate, 0, &dst_rect); in XvMCPutSurface()
443 vl_compositor_set_layer_dst_area(cstate, 1, &dst_rect); in XvMCPutSurface()
Dxvmc_private.h94 struct u_rect dst_rect; member
Dsubpicture.c509 struct u_rect dst_rect = {surfx, surfx + surfw, surfy, surfy + surfh}; in XvMCBlendSubpicture() local
534 subpicture_priv->dst_rect = dst_rect; in XvMCBlendSubpicture()
/external/webrtc/talk/media/devices/
Dcarbonvideorenderer.cc103 CGRect dst_rect = CGRectMake(x, y, CGImageGetWidth(image_ref), in DrawFrame() local
105 CGContextDrawImage(context, dst_rect, image_ref); in DrawFrame()
/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp783 FX_RECT dst_rect(0, 0, src_rect.Width(), src_rect.Height()); in GDI_SetDIBits() local
784 dst_rect.Intersect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); in GDI_SetDIBits()
785 int dst_width = dst_rect.Width(); in GDI_SetDIBits()
786 int dst_height = dst_rect.Height(); in GDI_SetDIBits()