/external/mesa3d/src/mesa/state_tracker/ |
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()
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | postproc.c | 61 struct u_rect src_rect; in vlVaPostProcCompositor() local 68 src_rect.x0 = src_region->x; in vlVaPostProcCompositor() 69 src_rect.y0 = src_region->y; in vlVaPostProcCompositor() 70 src_rect.x1 = src_region->x + src_region->width; in vlVaPostProcCompositor() 71 src_rect.y1 = src_region->y + src_region->height; in vlVaPostProcCompositor() 80 &src_rect, NULL, deinterlace); in vlVaPostProcCompositor() 119 struct u_rect src_rect; in vlVaPostProcBlit() local 158 src_rect.x0 = src_region->x; in vlVaPostProcBlit() 159 src_rect.y0 = src_region->y; in vlVaPostProcBlit() 160 src_rect.x1 = src_region->x + src_region->width; in vlVaPostProcBlit() [all …]
|
D | surface.c | 184 struct u_rect *src_rect, struct u_rect *dst_rect) in vlVaPutSubpictures() argument 215 s = &sub->src_rect; in vlVaPutSubpictures() 223 c.x1 = MIN2(d->x0 + dw, src_rect->x1); in vlVaPutSubpictures() 224 c.y1 = MIN2(d->y0 + dh, src_rect->y1); in vlVaPutSubpictures() 230 s = src_rect; in vlVaPutSubpictures() 282 struct u_rect src_rect, *dirty_area; in vlVaPutSurface() local 318 src_rect.x0 = srcx; in vlVaPutSurface() 319 src_rect.y0 = srcy; in vlVaPutSurface() 320 src_rect.x1 = srcw + srcx; in vlVaPutSurface() 321 src_rect.y1 = srch + srcy; in vlVaPutSurface() [all …]
|
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()
|
D | picture.c | 676 struct u_rect src_rect, dst_rect; in vlVaEndPicture() local 678 dst_rect.x0 = src_rect.x0 = 0; in vlVaEndPicture() 679 dst_rect.y0 = src_rect.y0 = 0; in vlVaEndPicture() 680 dst_rect.x1 = src_rect.x1 = surf->templat.width; in vlVaEndPicture() 681 dst_rect.y1 = src_rect.y1 = surf->templat.height; in vlVaEndPicture() 684 &src_rect, &dst_rect, VL_COMPOSITOR_WEAVE); in vlVaEndPicture()
|
D | va_private.h | 241 struct u_rect src_rect; member
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor.h | 217 struct u_rect *src_rect, 230 struct u_rect *src_rect, 242 struct u_rect *src_rect, 262 struct u_rect *src_rect, 275 struct u_rect *src_rect,
|
D | vl_compositor.c | 951 struct u_rect *src_rect, struct u_rect *dst_rect, in set_yuv_layer() argument 970 src_rect ? *src_rect : default_rect(&s->layers[layer]), in set_yuv_layer() 999 struct u_rect *src_rect, struct u_rect *dst_rect, bool y) in set_rgb_to_yuv_layer() argument 1023 src_rect ? *src_rect : default_rect(&s->layers[layer]), in set_rgb_to_yuv_layer() 1164 struct u_rect *src_rect, in vl_compositor_set_buffer_layer() argument 1183 src_rect ? *src_rect : default_rect(&s->layers[layer]), in vl_compositor_set_buffer_layer() 1218 struct u_rect *src_rect, in vl_compositor_set_palette_layer() argument 1238 src_rect ? *src_rect : default_rect(&s->layers[layer]), in vl_compositor_set_palette_layer() 1247 struct u_rect *src_rect, in vl_compositor_set_rgba_layer() argument 1266 src_rect ? *src_rect : default_rect(&s->layers[layer]), in vl_compositor_set_rgba_layer() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
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()
|
D | output.c | 659 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderOutputSurface() local 693 RectToPipe(source_rect, &src_rect), NULL, in vlVdpOutputSurfaceRenderOutputSurface() 729 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderBitmapSurface() local 763 RectToPipe(source_rect, &src_rect), NULL, in vlVdpOutputSurfaceRenderBitmapSurface()
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.cpp | 671 FX_RECT src_rect(0, 0, FXSYS_round(rect.Width() * fScaleX), in DrawFillStrokePath() local 673 return m_pDeviceDriver->SetDIBits(bitmap, 0, &src_rect, rect.left, rect.top, in DrawFillStrokePath() 697 FX_RECT src_rect(0, 0, pRect->Width(), pRect->Height()); in FillRectWithBlend() local 698 m_pDeviceDriver->SetDIBits(bitmap, 0, &src_rect, pRect->left, pRect->top, in FillRectWithBlend() 747 FX_RECT src_rect(dest_rect.left - left, dest_rect.top - top, in SetDIBitsWithBlend() local 750 src_rect.left = FXSYS_round(src_rect.left * fScaleX); in SetDIBitsWithBlend() 751 src_rect.top = FXSYS_round(src_rect.top * fScaleY); in SetDIBitsWithBlend() 752 src_rect.right = FXSYS_round(src_rect.right * fScaleX); in SetDIBitsWithBlend() 753 src_rect.bottom = FXSYS_round(src_rect.bottom * fScaleY); in SetDIBitsWithBlend() 756 return m_pDeviceDriver->SetDIBits(pBitmap, 0, &src_rect, dest_rect.left, in SetDIBitsWithBlend() [all …]
|
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/ |
D | vid_dec.c | 605 struct u_rect src_rect, dst_rect; in vid_dec_FrameDecoded() local 618 src_rect.x0 = dst_rect.x0 = 0; in vid_dec_FrameDecoded() 619 src_rect.x1 = dst_rect.x1 = templat.width; in vid_dec_FrameDecoded() 620 src_rect.y0 = dst_rect.y0 = 0; in vid_dec_FrameDecoded() 621 src_rect.y1 = dst_rect.y1 = templat.height; in vid_dec_FrameDecoded() 625 &src_rect, &dst_rect, VL_COMPOSITOR_WEAVE); in vid_dec_FrameDecoded()
|
D | vid_enc.c | 991 struct u_rect src_rect; in enc_ScaleInput() local 994 src_rect.x0 = 0; in enc_ScaleInput() 995 src_rect.y0 = 0; in enc_ScaleInput() 996 src_rect.x1 = def->nFrameWidth; in enc_ScaleInput() 997 src_rect.y1 = def->nFrameHeight; in enc_ScaleInput() 999 src_rect.x1 /= 2; in enc_ScaleInput() 1000 src_rect.y1 /= 2; in enc_ScaleInput() 1002 vl_compositor_set_rgba_layer(s, compositor, 0, views[i], &src_rect, NULL, NULL); in enc_ScaleInput()
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
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()
|
D | xvmc_private.h | 93 struct u_rect src_rect; member
|
D | subpicture.c | 510 struct u_rect src_rect = {subx, subx + subw, suby, suby + subh}; in XvMCBlendSubpicture() local 535 subpicture_priv->src_rect = src_rect; in XvMCBlendSubpicture()
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_device.cpp | 1216 FX_RECT src_rect(0, 0, width, height); in SetDIBits() local 1217 return SetDIBits(background, 0, &src_rect, left, top, FXDIB_BLEND_NORMAL); in SetDIBits() 1235 FX_RECT src_rect(0, 0, width, height); in SetDIBits() local 1236 return SetDIBits(bitmap, 0, &src_rect, left, top, FXDIB_BLEND_NORMAL); in SetDIBits() 1267 FX_RECT src_rect(0, 0, pStretched->GetWidth(), pStretched->GetHeight()); in UseFoxitStretchEngine() local 1268 return SetDIBits(pStretched, color, &src_rect, pClipRect->left, in UseFoxitStretchEngine() 1312 FX_RECT src_rect(0, 0, clip_width, clip_height); in StretchDIBits() local 1313 return SetDIBits(background, 0, &src_rect, image_rect.left + clip_rect.left, in StretchDIBits()
|
D | fx_win32_gdipext.cpp | 1012 FX_RECT src_rect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); in StretchDIBits() local 1013 OutputImage(pGraphics, pBitmap, &src_rect, dest_left, dest_top, dest_width, in StretchDIBits()
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibsource.cpp | 757 FX_RECT src_rect(src_left, src_top, src_left + width, src_top + height); in GetOverlapRect() local 759 src_rect.Intersect(src_bound); in GetOverlapRect() 760 FX_RECT dest_rect(src_rect.left + x_offset, src_rect.top + y_offset, in GetOverlapRect() 761 src_rect.right + x_offset, src_rect.bottom + y_offset); in GetOverlapRect()
|
D | cstretchengine.cpp | 285 FX_RECT src_rect(0, 0, m_SrcWidth, m_SrcHeight); in CStretchEngine() local 286 m_SrcClip.Intersect(src_rect); in CStretchEngine()
|