/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/frontends/va/ |
D | postproc.c | 62 struct u_rect src_rect; in vlVaPostProcCompositor() local 69 src_rect.x0 = src_region->x; in vlVaPostProcCompositor() 70 src_rect.y0 = src_region->y; in vlVaPostProcCompositor() 71 src_rect.x1 = src_region->x + src_region->width; in vlVaPostProcCompositor() 72 src_rect.y1 = src_region->y + src_region->height; in vlVaPostProcCompositor() 81 &src_rect, NULL, deinterlace); in vlVaPostProcCompositor() 122 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 | 218 struct u_rect *src_rect, struct u_rect *dst_rect) in vlVaPutSubpictures() argument 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.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 | 720 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()
|
D | image.c | 312 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()
|
/external/mesa3d/src/gallium/frontends/omx/ |
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()
|
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()
|
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()
|
/external/openscreen/cast/standalone_receiver/ |
D | sdl_video_player.cc | 142 const SDL_Rect src_rect = { in RenderNextFrame() local 149 if (src_rect.w != dst_rect.w || src_rect.h != dst_rect.h) { in RenderNextFrame() 153 dst_rect.w = src_rect.w; in RenderNextFrame() 154 dst_rect.h = src_rect.h; in RenderNextFrame() 160 SDL_RenderCopy(renderer_, texture_.get(), &src_rect, &dst_rect); in RenderNextFrame()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor.h | 238 struct u_rect *src_rect, 251 struct u_rect *src_rect, 263 struct u_rect *src_rect, 283 struct u_rect *src_rect, 296 struct u_rect *src_rect,
|
D | vl_compositor.c | 320 struct u_rect *src_rect, struct u_rect *dst_rect, in set_yuv_layer() argument 340 src_rect ? *src_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 402 src_rect ? *src_rect : default_rect(&s->layers[layer]), in set_rgb_to_yuv_layer() 544 struct u_rect *src_rect, in vl_compositor_set_buffer_layer() argument 564 src_rect ? *src_rect : default_rect(&s->layers[layer]), in vl_compositor_set_buffer_layer() 612 struct u_rect *src_rect, in vl_compositor_set_palette_layer() argument 632 src_rect ? *src_rect : default_rect(&s->layers[layer]), in vl_compositor_set_palette_layer() 641 struct u_rect *src_rect, in vl_compositor_set_rgba_layer() argument 660 src_rect ? *src_rect : default_rect(&s->layers[layer]), in vl_compositor_set_rgba_layer() [all …]
|
/external/mesa3d/src/gallium/frontends/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/win32/ |
D | fx_win32_device.cpp | 769 const FX_RECT& src_rect, in GDI_SetDIBits() argument 783 FX_RECT dst_rect(0, 0, src_rect.Width(), src_rect.Height()); in GDI_SetDIBits() 801 ::SetDIBitsToDevice(m_hDC, left, top, src_rect.Width(), src_rect.Height(), in GDI_SetDIBits() 802 src_rect.left, pBitmap->GetHeight() - src_rect.bottom, 0, in GDI_SetDIBits() 1203 const FX_RECT& src_rect, in SetDIBits() argument 1223 FX_RECT clip_rect(left, top, left + src_rect.Width(), in SetDIBits() 1224 top + src_rect.Height()); in SetDIBits() 1225 return StretchDIBits(pSource, color, left - src_rect.left, in SetDIBits() 1226 top - src_rect.top, width, height, &clip_rect, in SetDIBits() 1229 int width = src_rect.Width(); in SetDIBits() [all …]
|
D | win32_int.h | 111 const FX_RECT& src_rect, 150 const FX_RECT& src_rect, 190 const FX_RECT& src_rect, 253 const FX_RECT& src_rect, 317 const FX_RECT& src_rect,
|
D | fx_win32_print.cpp | 76 const FX_RECT& src_rect, in SetDIBits() argument 81 FX_RECT clip_rect(left, top, left + src_rect.Width(), in SetDIBits() 82 top + src_rect.Height()); in SetDIBits() 83 return StretchDIBits(pSource, color, left - src_rect.left, in SetDIBits() 84 top - src_rect.top, pSource->GetWidth(), in SetDIBits() 99 return GDI_SetDIBits(pBitmap, src_rect, left, top); in SetDIBits() 465 const FX_RECT& src_rect, in SetDIBits() argument 580 const FX_RECT& src_rect, in SetDIBits() argument
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.cpp | 666 FX_RECT src_rect(0, 0, rect.Width(), rect.Height()); in DrawFillStrokePath() local 667 return m_pDeviceDriver->SetDIBits(bitmap, 0, src_rect, rect.left, rect.top, in DrawFillStrokePath() 691 FX_RECT src_rect(0, 0, rect.Width(), rect.Height()); in FillRectWithBlend() local 692 m_pDeviceDriver->SetDIBits(bitmap, 0, src_rect, rect.left, rect.top, in FillRectWithBlend() 736 FX_RECT src_rect(dest_rect.left - left, dest_rect.top - top, in SetDIBitsWithBlend() local 741 return m_pDeviceDriver->SetDIBits(pBitmap, 0, src_rect, dest_rect.left, in SetDIBitsWithBlend() 759 pBitmap, src_rect.left, src_rect.top, in SetDIBitsWithBlend() 788 FX_RECT src_rect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); in SetBitMask() local 789 return m_pDeviceDriver->SetDIBits(pBitmap, argb, src_rect, left, top, in SetBitMask()
|
D | renderdevicedriver_iface.h | 77 const FX_RECT& src_rect,
|
/external/mesa3d/src/gallium/frontends/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 | 508 struct u_rect src_rect = {subx, subx + subw, suby, suby + subh}; in XvMCBlendSubpicture() local 533 subpicture_priv->src_rect = src_rect; in XvMCBlendSubpicture()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 1515 const FX_RECT& src_rect, in SetDIBits() argument 1523 return m_pBitmap->CompositeMask(left, top, src_rect.Width(), in SetDIBits() 1524 src_rect.Height(), pBitmap, argb, in SetDIBits() 1525 src_rect.left, src_rect.top, blend_type, in SetDIBits() 1529 left, top, src_rect.Width(), src_rect.Height(), pBitmap, src_rect.left, in SetDIBits() 1530 src_rect.top, blend_type, m_pClipRgn.get(), m_bRgbByteOrder); in SetDIBits()
|
D | fx_agg_driver.h | 74 const FX_RECT& src_rect,
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibbase.cpp | 893 FX_RECT src_rect(src_left, src_top, src_left + width, src_top + height); in GetOverlapRect() local 895 src_rect.Intersect(src_bound); in GetOverlapRect() 896 FX_RECT dest_rect(src_rect.left + x_offset, src_rect.top + y_offset, in GetOverlapRect() 897 src_rect.right + x_offset, src_rect.bottom + y_offset); in GetOverlapRect()
|