Home
last modified time | relevance | path

Searched refs:src_rect (Results 1 – 25 of 1343) sorted by relevance

12345678910>>...54

/dports/games/ponscripter-07th-mod/ponscripter-fork-3.0.0/src/
H A DPonscripterLabel_effect.cpp155 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
167 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
179 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
191 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
205 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
222 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
237 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
252 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
297 src_rect.x = 0; in doEffect()
321 src_rect.x = 0; in doEffect()
[all …]
H A DPonscripterLabel_effect_cascade.cpp79 src_rect.y = dst_rect.y = 0; in effectCascade()
81 src_rect.w = dst_rect.w = 1; in effectCascade()
95 src_rect.x = 0; in effectCascade()
106 src_rect.x = start; in effectCascade()
111 src_rect.x = end; in effectCascade()
122 dst_rect.x = src_rect.x; in effectCascade()
133 src_rect.x = dst_rect.x = 0; in effectCascade()
134 src_rect.h = dst_rect.h = 1; in effectCascade()
149 src_rect.y = 0; in effectCascade()
160 src_rect.y = start; in effectCascade()
[all …]
/dports/games/onscripter/onscripter-20200722/
H A DONScripter_effect.cpp160 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
171 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
182 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
193 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
206 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
221 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
235 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
249 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
264 src_rect.x = 0; in doEffect()
288 src_rect.x = 0; in doEffect()
[all …]
H A DONScripter_effect_cascade.cpp47 SDL_Rect src_rect = screen_rect; in effectCascade() local
100 src_rect.x = 0; in effectCascade()
111 src_rect.x = start; in effectCascade()
115 src_rect.x = end; in effectCascade()
123 src_rect.x = 0; in effectCascade()
126 dst_rect.x = src_rect.x; in effectCascade()
151 src_rect.y = 0; in effectCascade()
162 src_rect.y = start; in effectCascade()
166 src_rect.y = end; in effectCascade()
174 src_rect.y = 0; in effectCascade()
[all …]
/dports/games/onscripter-1byte/onscripter-20200722/
H A DONScripter_effect.cpp160 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
171 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
182 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
193 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
206 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
221 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
235 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
249 drawEffect(&src_rect, &src_rect, effect_dst_surface); in doEffect()
264 src_rect.x = 0; in doEffect()
288 src_rect.x = 0; in doEffect()
[all …]
H A DONScripter_effect_cascade.cpp47 SDL_Rect src_rect = screen_rect; in effectCascade() local
100 src_rect.x = 0; in effectCascade()
111 src_rect.x = start; in effectCascade()
115 src_rect.x = end; in effectCascade()
123 src_rect.x = 0; in effectCascade()
126 dst_rect.x = src_rect.x; in effectCascade()
151 src_rect.y = 0; in effectCascade()
162 src_rect.y = start; in effectCascade()
166 src_rect.y = end; in effectCascade()
174 src_rect.y = 0; in effectCascade()
[all …]
/dports/devel/allegro/allegro-4.4.3.1/src/misc/
H A Dccolconv.c45 width = src_rect->width; in _colorconv_blit_8_to_8()
48 src = src_rect->data; in _colorconv_blit_8_to_8()
101 width = src_rect->width; in _colorconv_blit_8_to_16()
104 src = src_rect->data; in _colorconv_blit_8_to_16()
134 y = src_rect->height; in _colorconv_blit_8_to_16()
231 src = src_rect->data; in _colorconv_blit_8_to_24()
297 src = src_rect->data; in _colorconv_blit_8_to_32()
372 src = src_rect->data; in _colorconv_blit_15_to_8()
422 src = src_rect->data; in _colorconv_blit_15_to_16()
460 src = src_rect->data; in _colorconv_blit_15_to_24()
[all …]
/dports/games/devilutionX/devilutionX-1.2.1/SourceX/DiabloUI/
H A Dart_draw.cpp13 SDL_Rect src_rect; in DrawArt() local
14 src_rect.x = 0; in DrawArt()
16 src_rect.w = art->w(); in DrawArt()
17 src_rect.h = art->h(); in DrawArt()
22 src_rect.w = srcW; in DrawArt()
24 src_rect.h = srcH; in DrawArt()
25 SDL_Rect dst_rect = { screenX, screenY, src_rect.w, src_rect.h }; in DrawArt()
43 SDL_Rect src_rect; in DrawArt() local
44 src_rect.x = 0; in DrawArt()
50 src_rect.w = srcW; in DrawArt()
[all …]
/dports/graphics/scantailor/scantailor-advanced-1.0.16/imageproc/
H A DOrthogonalRotation.cpp29 if (src_rect == src.rect()) { in rotate0()
33 BinaryImage dst(src_rect.width(), src_rect.height()); in rotate0()
40 const int dst_w = src_rect.height(); in rotate90()
41 const int dst_h = src_rect.width(); in rotate90()
76 const int dst_w = src_rect.width(); in rotate180()
77 const int dst_h = src_rect.height(); in rotate180()
93 int src_x = src_rect.right(); in rotate180()
109 const int dst_h = src_rect.width(); in rotate270()
148 if (src_rect.intersected(src.rect()) != src_rect) { in orthogonalRotation()
154 return rotate0(src, src_rect); in orthogonalRotation()
[all …]
H A DDrawOver.cpp26 void drawOver(QImage& dst, const QRect& dst_rect, const QImage& src, const QRect& src_rect) { in drawOver() argument
27 if (src_rect.size() != dst_rect.size()) { in drawOver()
36 if (src_rect.intersected(src.rect()) != src_rect) { in drawOver()
55 rasterOp<RopSrc>(dst_bin, dst_rect, src_bin, src_rect.topLeft()); in drawOver()
62 const int stripe_bytes = src_rect.width() * depth / 8; in drawOver()
64 src_line += src_bpl * src_rect.top() + src_rect.left() * depth / 8; in drawOver()
66 for (int i = src_rect.height(); i > 0; --i) { in drawOver()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/ui/
H A Dsdl_zoom.c32 SDL_Rect zoom, src_rect; in sdl_zoom_blit() local
36 src_rect.x = (in_rect->x > 0) ? (in_rect->x - 1) : 0; in sdl_zoom_blit()
37 src_rect.y = (in_rect->y > 0) ? (in_rect->y - 1) : 0; in sdl_zoom_blit()
39 src_rect.w = in_rect->w + 1; in sdl_zoom_blit()
40 if (src_rect.x + src_rect.w > src_sfc->w) in sdl_zoom_blit()
41 src_rect.w = src_sfc->w - src_rect.x; in sdl_zoom_blit()
43 src_rect.h = in_rect->h + 1; in sdl_zoom_blit()
44 if (src_rect.y + src_rect.h > src_sfc->h) in sdl_zoom_blit()
45 src_rect.h = src_sfc->h - src_rect.y; in sdl_zoom_blit()
48 zoom.x = (int)(((float)(src_rect.x * dst_sfc->w)) / (float)(src_sfc->w)); in sdl_zoom_blit()
[all …]
/dports/emulators/mednafen/mednafen/src/drivers/
H A Dnnx.cpp32 source_pixies += src_rect->x; in t_nnx()
41 int max_x = src_rect->w; in t_nnx()
46 for(int y = src_rect->h; y; y--) in t_nnx()
60 for(int y = src_rect->h; y; y--) in t_nnx()
76 for(int y = src_rect->h; y; y--) in t_nnx()
93 for(int y = src_rect->h; y; y--) in t_nnx()
127 source_pixies += src_rect->x; in t_nnyx()
136 int max_x = src_rect->w; in t_nnyx()
141 for(int y = src_rect->h; y; y--) in t_nnyx()
155 for(int y = src_rect->h; y; y--) in t_nnyx()
[all …]
/dports/games/easyrpg-player/Player-0.7.0/src/
H A Dbitmap.cpp584 src_rect.x, src_rect.y, in Blit()
587 src_rect.width, src_rect.height); in Blit()
598 src_rect.x, src_rect.y, in BlitFast()
601 src_rect.width, src_rect.height); in BlitFast()
827 src_rect.x, src_rect.y, in ToneBlit()
830 src_rect.width, src_rect.height); in ToneBlit()
935 src_rect.x, src_rect.y, in BlendBlit()
946 src_rect.x, src_rect.y, in BlendBlit()
1036 src_rect.x, src_rect.y, in Blit2x()
1190 src_rect.x, src_rect.y, in EdgeMirrorBlit()
[all …]
H A Dwindow.cpp75 dst.Blit(x, y + src_rect.y, *background, src_rect, back_opacity * opacity / 255); in Draw()
90 dst.Blit(x, y + 8 + src_rect.y, *frame_left, src_rect, opacity); in Draw()
91 dst.Blit(x + width - 8, y + 8 + src_rect.y, *frame_right, src_rect, opacity); in Draw()
110 Rect src_rect( in Draw() local
139 Rect src_rect(40, 16, 16, 8); in Draw() local
144 Rect src_rect(40, 8, 16, 8); in Draw() local
149 Rect src_rect(40, 16, 16, 8); in Draw() local
154 Rect src_rect(40, 8, 16, 8); in Draw() local
182 Rect src_rect, dst_rect; in RefreshFrame() local
185 src_rect = { 32 + 8, 0, 16, 8 }; in RefreshFrame()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/svg/graphics/filters/
H A Dsvg_fe_image.cc105 src_rect = viewport_transform->MapRect(src_rect); in MapInputs()
107 src_rect = GetFilter()->MapLocalRectToAbsoluteRect(src_rect); in MapInputs()
108 src_rect.Move(dest_rect.X(), dest_rect.Y()); in MapInputs()
110 dest_rect.Intersect(src_rect); in MapInputs()
115 preserve_aspect_ratio_->TransformRect(dest_rect, src_rect); in MapInputs()
165 src_rect = viewport_transform->MapRect(src_rect); in CreateImageFilterForLayoutObject()
169 src_rect = GetFilter()->MapLocalRectToAbsoluteRect(src_rect); in CreateImageFilterForLayoutObject()
170 src_rect.Move(dst_rect.X(), dst_rect.Y()); in CreateImageFilterForLayoutObject()
175 dst_rect.Intersect(src_rect); in CreateImageFilterForLayoutObject()
204 preserve_aspect_ratio_->TransformRect(dst_rect, src_rect); in CreateImageFilter()
[all …]
/dports/games/volleyball/volleyball-0.8.6/src/
H A Ddisplay.c302 SDL_Rect rsrc = {src_rect.x + i, src_rect.y, in display_draw()
303 1, src_rect.h}; in display_draw()
309 rect.h = src_rect.h; in display_draw()
376 SDL_Rect rsrc = {src_rect.x + i, src_rect.y, in display_draw_shadow()
377 1, src_rect.h}; in display_draw_shadow()
383 rect.h = src_rect.h; in display_draw_shadow()
396 for (dx = src_rect.x; dx < src_rect.x + w; dx ++) in display_draw_shadow()
412 rect.w = src_rect.w; in display_draw_shadow()
413 rect.h = src_rect.h; in display_draw_shadow()
483 SDL_Rect rsrc = {src_rect->x + i, src_rect->y, in display_blit()
[all …]
/dports/multimedia/gavl/gavl-1.4.0/src/
H A Dscale_time.c39 gavl_rectangle_f_t src_rect; in main() local
68 src_rect.w = atoi(argv[1]); in main()
69 src_rect.h = atoi(argv[2]); in main()
70 src_rect.x = 0; in main()
71 src_rect.y = 0; in main()
78 format.image_width = src_rect.w + src_rect.x; in main()
79 format.image_height = src_rect.h + src_rect.y; in main()
81 format.frame_width = src_rect.w + src_rect.x; in main()
82 format.frame_height = src_rect.h + src_rect.y; in main()
113 gavl_video_options_set_rectangles(opt, &src_rect, &dst_rect); in main()
[all …]
/dports/emulators/citra/citra-ac98458e0/src/video_core/renderer_opengl/
H A Dgl_format_reinterpreter.cpp91 glUniform2i(src_size_loc, src_rect.GetWidth(), src_rect.GetHeight()); in Reinterpret()
92 glUniform2i(src_offset_loc, src_rect.left, src_rect.bottom); in Reinterpret()
167 static_cast<GLsizeiptr>(src_rect.GetWidth()) * src_rect.GetHeight() * 4; in Reinterpret()
176 glReadPixels(static_cast<GLint>(src_rect.left), static_cast<GLint>(src_rect.bottom), in Reinterpret()
312 } else if (src_rect.top > temp_rect.top || src_rect.right > temp_rect.right) { in Reinterpret()
318 glTexStorage2D(GL_TEXTURE_2D, 1, GL_DEPTH24_STENCIL8, src_rect.right, src_rect.top); in Reinterpret()
321 temp_rect = src_rect; in Reinterpret()
335 glCopyImageSubData(src_tex, GL_TEXTURE_2D, 0, src_rect.left, src_rect.bottom, 0, in Reinterpret()
337 src_rect.GetWidth(), src_rect.GetHeight(), 1); in Reinterpret()
347 glUniform2i(src_size_loc, src_rect.GetWidth(), src_rect.GetHeight()); in Reinterpret()
[all …]
/dports/emulators/citra-qt5/citra-ac98458e0/src/video_core/renderer_opengl/
H A Dgl_format_reinterpreter.cpp91 glUniform2i(src_size_loc, src_rect.GetWidth(), src_rect.GetHeight()); in Reinterpret()
92 glUniform2i(src_offset_loc, src_rect.left, src_rect.bottom); in Reinterpret()
167 static_cast<GLsizeiptr>(src_rect.GetWidth()) * src_rect.GetHeight() * 4; in Reinterpret()
176 glReadPixels(static_cast<GLint>(src_rect.left), static_cast<GLint>(src_rect.bottom), in Reinterpret()
312 } else if (src_rect.top > temp_rect.top || src_rect.right > temp_rect.right) { in Reinterpret()
318 glTexStorage2D(GL_TEXTURE_2D, 1, GL_DEPTH24_STENCIL8, src_rect.right, src_rect.top); in Reinterpret()
321 temp_rect = src_rect; in Reinterpret()
335 glCopyImageSubData(src_tex, GL_TEXTURE_2D, 0, src_rect.left, src_rect.bottom, 0, in Reinterpret()
337 src_rect.GetWidth(), src_rect.GetHeight(), 1); in Reinterpret()
347 glUniform2i(src_size_loc, src_rect.GetWidth(), src_rect.GetHeight()); in Reinterpret()
[all …]
/dports/multimedia/libva-intel-driver/intel-vaapi-driver-2.4.1/src/
H A Dgen9_post_processing.c482 src_rect, in gen9_post_processing()
670 src_width = src_rect->x + src_rect->width; in gen9_gpe_context_p010_scaling_curbe()
671 src_height = src_rect->y + src_rect->height; in gen9_gpe_context_p010_scaling_curbe()
916 VARectangle *src_rect, in gen9_p010_scaling_post_processing() argument
991 src_width = src_rect->x + src_rect->width; in gen9_gpe_context_yuv420p8_scaling_curbe()
992 src_height = src_rect->y + src_rect->height; in gen9_gpe_context_yuv420p8_scaling_curbe()
1141 VARectangle *src_rect, in gen9_yuv420p8_scaling_post_processing() argument
1217 src_width = src_rect->x + src_rect->width; in gen9_gpe_context_10bit_8bit_scaling_curbe()
1218 src_height = src_rect->y + src_rect->height; in gen9_gpe_context_10bit_8bit_scaling_curbe()
1489 src_width = src_rect->x + src_rect->width; in gen9_gpe_context_8bit_420_rgb32_scaling_curbe()
[all …]
/dports/graphics/gegl/gegl-0.4.34/operations/workshop/
H A Ddemosaic-simple.c40 const GeglRectangle *src_rect,
49 src_buf = g_new0 (gfloat, src_rect->width * src_rect->height * 1);
52 gegl_buffer_get (src, src_rect, 1.0, babl_format ("Y float"), src_buf,
56 for (y=src_rect->y; y < dst_rect->height + src_rect->y; y++)
58 gint src_offset = (y-src_rect->y) * src_rect->width;
59 for (x=src_rect->x; x < dst_rect->width + src_rect->x; x++)
74 red=src_buf[src_offset + src_rect->width];
80 red=src_buf[src_offset+1+src_rect->width];
87 blue=src_buf[src_offset + src_rect->width + 1];
93 blue=src_buf[src_offset + src_rect->width];
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/VideoBackends/Software/
H A DSWTexture.cpp54 const MathUtil::Rectangle<int>& src_rect) in ScaleTexture() argument
60 source_pixels.resize(src_rect.GetHeight() * src_rect.GetWidth() * 4); in ScaleTexture()
66 CopyRegion(source_pixels.data(), src_rect, destination_pixels.data(), dst_rect); in ScaleTexture()
76 const MathUtil::Rectangle<int>& src_rect, u32 src_layer, in CopyRectangleFromTexture() argument
82 src_rect.left, src_rect.top, src_rect.GetWidth(), src_rect.GetHeight(), m_config, in CopyRectangleFromTexture()
117 const MathUtil::Rectangle<int>& src_rect, u32 src_layer, in CopyFromTexture() argument
121 CopyTextureData(src->GetConfig(), static_cast<const SWTexture*>(src)->GetData(), src_rect.left, in CopyFromTexture()
122 src_rect.top, src_rect.GetWidth(), src_rect.GetHeight(), m_config, m_data.data(), in CopyFromTexture()
127 void SWStagingTexture::CopyToTexture(const MathUtil::Rectangle<int>& src_rect, AbstractTexture* dst, in CopyToTexture() argument
132 CopyTextureData(m_config, m_data.data(), src_rect.left, src_rect.top, src_rect.GetWidth(), in CopyToTexture()
[all …]
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/VideoBackends/D3D/
H A DDXTexture.cpp126 ASSERT(src_rect.GetWidth() == dst_rect.GetWidth() && in CopyRectangleFromTexture()
130 src_box.left = src_rect.left; in CopyRectangleFromTexture()
131 src_box.top = src_rect.top; in CopyRectangleFromTexture()
132 src_box.right = src_rect.right; in CopyRectangleFromTexture()
133 src_box.bottom = src_rect.bottom; in CopyRectangleFromTexture()
218 ASSERT(src_rect.left >= 0 && static_cast<u32>(src_rect.right) <= src->GetWidth() && in CopyFromTexture()
219 src_rect.top >= 0 && static_cast<u32>(src_rect.bottom) <= src->GetHeight()); in CopyFromTexture()
236 CD3D11_BOX src_box(src_rect.left, src_rect.top, 0, src_rect.right, src_rect.bottom, 1); in CopyFromTexture()
253 ASSERT(src_rect.left >= 0 && static_cast<u32>(src_rect.right) <= GetWidth() && in CopyToTexture()
254 src_rect.top >= 0 && static_cast<u32>(src_rect.bottom) <= GetHeight()); in CopyToTexture()
[all …]
/dports/graphics/gegl/gegl-0.4.34/operations/common/
H A Dedge-sobel.c47 const GeglRectangle *src_rect,
223 const GeglRectangle *src_rect,
238 src_buf = g_new0 (gfloat, src_rect->width * src_rect->height * 4);
241 gegl_buffer_get (src, src_rect, 1.0, format,
244 after_src_buf = src_buf + src_rect->width * src_rect->height * 4;
293 tl_px += src_rect->width * 4;
294 t_px += src_rect->width * 4;
295 tr_px += src_rect->width * 4;
299 bl_px -= src_rect->width * 4;
300 b_px -= src_rect->width * 4;
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/svg/
H A Dsvg_preserve_aspect_ratio.cc189 FloatSize image_size = src_rect.Size(); in TransformRect()
196 float width_to_height_multiplier = src_rect.Height() / src_rect.Width(); in TransformRect()
237 float width_to_height_multiplier = src_rect.Height() / src_rect.Width(); in TransformRect()
247 src_rect.SetY(src_rect.Y() + image_size.Height() / 2 - in TransformRect()
248 src_rect.Height() / 2); in TransformRect()
253 src_rect.SetY(src_rect.Y() + image_size.Height() - in TransformRect()
254 src_rect.Height()); in TransformRect()
264 src_rect.SetWidth(dest_rect.Width() * dest_to_src_multiplier); in TransformRect()
269 src_rect.SetX(src_rect.X() + image_size.Width() / 2 - in TransformRect()
270 src_rect.Width() / 2); in TransformRect()
[all …]

12345678910>>...54