/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_image.c | 392 unsigned dst_x = sdata[c]; in handle_op_uint() local 396 sdata[c] = (dst_x == cmp_x) ? src_x : dst_x; in handle_op_uint() 423 unsigned dst_x = sdata[c]; in handle_op_uint() local 425 sdata[c] = MIN2(dst_x, src_x); in handle_op_uint() 426 ((uint32_t *)rgba[c])[qi] = dst_x; in handle_op_uint() 431 unsigned dst_x = sdata[c]; in handle_op_uint() local 433 sdata[c] = MAX2(dst_x, src_x); in handle_op_uint() 434 ((uint32_t *)rgba[c])[qi] = dst_x; in handle_op_uint() 439 int dst_x in handle_op_uint() local 447 int dst_x = sdata[c]; handle_op_uint() local 508 int dst_x = sdata[c]; handle_op_int() local 539 int dst_x = sdata[c]; handle_op_int() local 547 int dst_x = sdata[c]; handle_op_int() local 555 int dst_x = sdata[c]; handle_op_int() local 563 int dst_x = sdata[c]; handle_op_int() local [all...] |
/third_party/libdrm/exynos/ |
H A D | exynos_fimg2d.c | 493 * @dst_x: x start position to destination buffer. 501 unsigned int dst_x, unsigned dst_y, unsigned int w, in g2d_copy() 517 if (dst_x + dst->width > w) in g2d_copy() 518 dst_w = dst->width - dst_x; in g2d_copy() 550 pt.data.x = dst_x; in g2d_copy() 553 pt.data.x = dst_x + w; in g2d_copy() 576 * @dst_x: x position of destination rectangle. 584 unsigned int dst_x, unsigned dst_y, unsigned int w, in g2d_move() 601 if (dst_x + img->width > w) in g2d_move() 602 dst_w = img->width - dst_x; in g2d_move() 499 g2d_copy(struct g2d_context *ctx, struct g2d_image *src, struct g2d_image *dst, unsigned int src_x, unsigned int src_y, unsigned int dst_x, unsigned dst_y, unsigned int w, unsigned int h) g2d_copy() argument 582 g2d_move(struct g2d_context *ctx, struct g2d_image *img, unsigned int src_x, unsigned int src_y, unsigned int dst_x, unsigned dst_y, unsigned int w, unsigned int h) g2d_move() argument 680 g2d_copy_with_scale(struct g2d_context *ctx, struct g2d_image *src, struct g2d_image *dst, unsigned int src_x, unsigned int src_y, unsigned int src_w, unsigned int src_h, unsigned int dst_x, unsigned int dst_y, unsigned int dst_w, unsigned int dst_h, unsigned int negative) g2d_copy_with_scale() argument 789 g2d_blend(struct g2d_context *ctx, struct g2d_image *src, struct g2d_image *dst, unsigned int src_x, unsigned int src_y, unsigned int dst_x, unsigned int dst_y, unsigned int w, unsigned int h, enum e_g2d_op op) g2d_blend() argument 906 g2d_scale_and_blend(struct g2d_context *ctx, struct g2d_image *src, struct g2d_image *dst, unsigned int src_x, unsigned int src_y, unsigned int src_w, unsigned int src_h, unsigned int dst_x, unsigned int dst_y, unsigned int dst_w, unsigned int dst_h, enum e_g2d_op op) g2d_scale_and_blend() argument [all...] |
H A D | exynos_fimg2d.h | 313 unsigned int src_y, unsigned int dst_x, unsigned int dst_y, 316 unsigned int src_x, unsigned int src_y, unsigned int dst_x, 321 unsigned int src_h, unsigned int dst_x, 326 unsigned int src_y, unsigned int dst_x, unsigned int dst_y, 330 unsigned int src_w, unsigned int src_h, unsigned int dst_x,
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_blit.c | 83 short src_x, short src_y, short dst_x, short dst_y, short w, in i915_copy_blit() 88 int dst_x2 = dst_x + w; in i915_copy_blit() 94 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in i915_copy_blit() 117 if (dst_y2 < dst_y || dst_x2 < dst_x) { in i915_copy_blit() 133 OUT_BATCH((dst_y << 16) | dst_x); in i915_copy_blit() 79 i915_copy_blit(struct i915_context *i915, unsigned cpp, unsigned short src_pitch, struct i915_winsys_buffer *src_buffer, unsigned src_offset, unsigned short dst_pitch, struct i915_winsys_buffer *dst_buffer, unsigned dst_offset, short src_x, short src_y, short dst_x, short dst_y, short w, short h) i915_copy_blit() argument
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_blt.c | 152 uint16_t dst_x, uint16_t dst_y, in emit_copy_blt() 159 int dst_x2 = dst_x + w; in emit_copy_blt() 164 dst, dst_pitch, dst_offset, dst_x, dst_y, w, h); in emit_copy_blt() 181 dst_x *= cpp / 2; in emit_copy_blt() 187 dst_x *= cpp / 4; in emit_copy_blt() 219 xyblt.DestinationX1Coordinate = dst_x; in emit_copy_blt() 237 unsigned dst_x, unsigned dst_y, in crocus_emit_blt() 283 assert(dst_x % bw == 0); in crocus_emit_blt() 285 dst_x /= (int)bw; in crocus_emit_blt() 290 dst_x in crocus_emit_blt() 143 emit_copy_blt(struct crocus_batch *batch, struct crocus_resource *src, struct crocus_resource *dst, unsigned cpp, int32_t src_pitch, unsigned src_offset, int32_t dst_pitch, unsigned dst_offset, uint16_t src_x, uint16_t src_y, uint16_t dst_x, uint16_t dst_y, uint16_t w, uint16_t h) emit_copy_blt() argument 233 crocus_emit_blt(struct crocus_batch *batch, struct crocus_resource *src, struct crocus_resource *dst, unsigned dst_level, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned src_level, const struct pipe_box *src_box) crocus_emit_blt() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_surface.h | 51 unsigned dst_x, unsigned dst_y, unsigned dst_z, 59 unsigned dst_stride, unsigned dst_x, unsigned dst_y, 80 unsigned dst_x, unsigned dst_y, unsigned dst_z,
|
H A D | u_surface.c | 68 unsigned dst_x, unsigned dst_y, unsigned dst_z, in util_copy_box() 81 dst_x, dst_y, in util_copy_box() 97 unsigned dst_x, in util_fill_rect() 114 dst_x /= blockwidth; in util_fill_rect() 119 dst += dst_x * blocksize; in util_fill_rect() 205 unsigned dst_x, unsigned dst_y, unsigned dst_z, in util_resource_copy_region() 232 dst_box.x = dst_x; in util_resource_copy_region() 65 util_copy_box(ubyte * dst, enum pipe_format format, unsigned dst_stride, unsigned dst_slice_stride, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned width, unsigned height, unsigned depth, const ubyte * src, int src_stride, unsigned src_slice_stride, unsigned src_x, unsigned src_y, unsigned src_z) util_copy_box() argument 94 util_fill_rect(ubyte * dst, enum pipe_format format, unsigned dst_stride, unsigned dst_x, unsigned dst_y, unsigned width, unsigned height, union util_color *uc) util_fill_rect() argument 202 util_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dst_x, unsigned dst_y, unsigned dst_z, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box_in) util_resource_copy_region() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | cdtoons.c | 61 int dst_x, int dst_y, int width, int height) in cdtoons_render_sprite() 70 if (dst_x + width > avctx->width) in cdtoons_render_sprite() 71 width = avctx->width - dst_x; in cdtoons_render_sprite() 75 if (dst_x < 0) { in cdtoons_render_sprite() 77 skip = -dst_x; in cdtoons_render_sprite() 80 dst_x = 0; in cdtoons_render_sprite() 95 dest = c->frame->data[0] + (dst_y + y) * c->frame->linesize[0] + dst_x; in cdtoons_render_sprite() 59 cdtoons_render_sprite(AVCodecContext *avctx, const uint8_t *data, uint32_t data_size, int dst_x, int dst_y, int width, int height) cdtoons_render_sprite() argument
|
H A D | mpegutils.c | 33 int dst_x, int dst_y, in add_mb() 42 mb->dst_x = dst_x; in add_mb() 44 mb->src_x = dst_x + motion_x / motion_scale; in add_mb() 32 add_mb(AVMotionVector *mb, uint32_t mb_type, int dst_x, int dst_y, int motion_x, int motion_y, int motion_scale, int direction) add_mb() argument
|
/third_party/libdrm/tests/exynos/ |
H A D | exynos_fimg2d_test.c | 246 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_copy_test() local 258 dst_x = 0; in g2d_copy_test() 305 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_copy_test() 542 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_blend_test() local 554 dst_x = 0; in g2d_blend_test() 608 ret = g2d_solid_fill(ctx, &dst_img, dst_x, dst_y, img_w, img_h); in g2d_blend_test() 643 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_checkerboard_test() local 655 dst_x = 0; in g2d_checkerboard_test() 701 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_checkerboard_test()
|
/third_party/ffmpeg/libavfilter/ |
H A D | drawutils.h | 103 int dst_x, int dst_y, int src_x, int src_y, 114 int dst_x, int dst_y, int w, int h);
|
H A D | drawutils.c | 215 int dst_x, int dst_y, int src_x, int src_y, in ff_copy_rectangle2() 223 q = pointer_at(draw, dst, dst_linesize, plane, dst_x, dst_y); in ff_copy_rectangle2() 236 int dst_x, int dst_y, int w, int h) in ff_fill_rectangle() 243 p0 = pointer_at(draw, dst, dst_linesize, plane, dst_x, dst_y); in ff_fill_rectangle() 212 ff_copy_rectangle2(FFDrawContext *draw, uint8_t *dst[], int dst_linesize[], uint8_t *src[], int src_linesize[], int dst_x, int dst_y, int src_x, int src_y, int w, int h) ff_copy_rectangle2() argument 234 ff_fill_rectangle(FFDrawContext *draw, FFDrawColor *color, uint8_t *dst[], int dst_linesize[], int dst_x, int dst_y, int w, int h) ff_fill_rectangle() argument
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_surface.h | 115 unsigned dst_x, unsigned dst_y, unsigned dst_z, 124 unsigned dst_x, unsigned dst_y, unsigned dst_z,
|
H A D | svga_pipe_blit.c | 48 unsigned dst_x, in build_blit_info() 68 u_box_3d(dst_x, dst_y, dst_z, src_box->width, src_box->height, in build_blit_info() 80 unsigned dst_x, unsigned dst_y, unsigned dst_z, in intra_surface_copy() 94 box.x = dst_x; in intra_surface_copy() 118 unsigned dst_x, unsigned dst_y, unsigned dst_z, in copy_region_vgpu10() 136 dst_x, dst_y, dst_z, in copy_region_vgpu10() 46 build_blit_info(struct pipe_resource *dst_tex, unsigned dst_level, unsigned dst_x, unsigned dst_y, unsigned dst_z, struct pipe_resource *src_tex, unsigned src_level, const struct pipe_box *src_box, struct pipe_blit_info *blit) build_blit_info() argument 77 intra_surface_copy(struct svga_context *svga, struct pipe_resource *tex, unsigned src_x, unsigned src_y, unsigned src_z, unsigned level, unsigned layer_face, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned width, unsigned height, unsigned depth) intra_surface_copy() argument 114 copy_region_vgpu10(struct svga_context *svga, struct pipe_resource *src_tex, unsigned src_x, unsigned src_y, unsigned src_z, unsigned src_level, unsigned src_layer_face, struct pipe_resource *dst_tex, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned dst_level, unsigned dst_layer_face, unsigned width, unsigned height, unsigned depth) copy_region_vgpu10() argument
|
H A D | svga_surface.c | 54 unsigned dst_x, unsigned dst_y, unsigned dst_z, in svga_texture_copy_region() 61 box.x = dst_x; in svga_texture_copy_region() 83 unsigned dst_x, unsigned dst_y, unsigned dst_z, in svga_texture_copy_handle() 102 box.x = dst_x; in svga_texture_copy_handle() 115 dst_handle, dst_level, dst_x, dst_y, dst_z); in svga_texture_copy_handle() 48 svga_texture_copy_region(struct svga_context *svga, struct svga_winsys_surface *src_handle, unsigned srcSubResource, unsigned src_x, unsigned src_y, unsigned src_z, struct svga_winsys_surface *dst_handle, unsigned dstSubResource, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned width, unsigned height, unsigned depth) svga_texture_copy_region() argument 78 svga_texture_copy_handle(struct svga_context *svga, struct svga_winsys_surface *src_handle, unsigned src_x, unsigned src_y, unsigned src_z, unsigned src_level, unsigned src_layer, struct svga_winsys_surface *dst_handle, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned dst_level, unsigned dst_layer, unsigned width, unsigned height, unsigned depth) svga_texture_copy_handle() argument
|
/third_party/backends/backend/genesys/ |
H A D | image_pipeline.cpp | 668 for (unsigned dst_x = 0; dst_x < dst_width; dst_x++) { in get_next_row_data() 684 set_raw_channel_to_row(out_data, dst_x, c, avg[c] / count, format); in get_next_row_data() 690 unsigned dst_x = 0; in get_next_row_data() local 697 while ((counter < dst_width || src_x + 1 == src_width) && dst_x < dst_width) { in get_next_row_data() 701 set_raw_channel_to_row(out_data, dst_x, c, avg[c], format); in get_next_row_data() 703 dst_x++; in get_next_row_data()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_copyimage.c | 552 int dst_x, int dst_y, int dst_z, in fallback_copy_image() 595 dst_x, dst_y, dst_w, dst_h, in fallback_copy_image() 600 dst_x, dst_y, dst_w, dst_h, in fallback_copy_image() 644 int dst_x, int dst_y, int dst_z, in st_CopyImageSubData() 691 fallback_copy_image(st, dst_image, dst_res, dst_x, dst_y, orig_dst_z, in st_CopyImageSubData() 695 copy_image(pipe, dst_res, dst_level, dst_x, dst_y, dst_z, in st_CopyImageSubData() 549 fallback_copy_image(struct st_context *st, struct gl_texture_image *dst_image, struct pipe_resource *dst_res, int dst_x, int dst_y, int dst_z, struct gl_texture_image *src_image, struct pipe_resource *src_res, int src_x, int src_y, int src_z, int src_w, int src_h) fallback_copy_image() argument 638 st_CopyImageSubData(struct gl_context *ctx, struct gl_texture_image *src_image, struct gl_renderbuffer *src_renderbuffer, int src_x, int src_y, int src_z, struct gl_texture_image *dst_image, struct gl_renderbuffer *dst_renderbuffer, int dst_x, int dst_y, int dst_z, int src_width, int src_height) st_CopyImageSubData() argument
|
H A D | st_cb_readpixels.c | 429 int dst_x, dst_y; in st_ReadPixels() local 506 dst_x = x; in st_ReadPixels() 524 dst_x = 0; in st_ReadPixels() 532 dst_x, dst_y, 0, width, height, 1, &tex_xfer); in st_ReadPixels()
|
H A D | st_cb_copyimage.h | 35 int dst_x, int dst_y, int dst_z,
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
H A D | xa_yuv.c | 114 int dst_x, in xa_yuv_planar_blit() 151 (float)src_x + scale_x * (x - dst_x), in xa_yuv_planar_blit() 109 xa_yuv_planar_blit(struct xa_context *r, int src_x, int src_y, int src_w, int src_h, int dst_x, int dst_y, int dst_w, int dst_h, struct xa_box *box, unsigned int num_boxes, const float conversion_matrix[], struct xa_surface *dst, struct xa_surface *yuv[]) xa_yuv_planar_blit() argument
|
H A D | xa_context.h | 58 int dst_x,
|
/third_party/mesa3d/src/util/format/ |
H A D | u_format.c | 53 unsigned dst_x, in util_copy_rect() 72 dst_x /= blockwidth; in util_copy_rect() 79 dst += dst_x * blocksize; in util_copy_rect() 643 unsigned dst_x, unsigned dst_y, in util_format_translate() 669 util_copy_rect(dst, dst_format, dst_stride, dst_x, dst_y, in util_format_translate() 675 assert(dst_x % dst_format_desc->block.width == 0); in util_format_translate() 680 dst_row = (uint8_t *)dst + dst_y*dst_stride + dst_x*(dst_format_desc->block.bits/8); in util_format_translate() 869 unsigned dst_x, unsigned dst_y, in util_format_translate_3d() 887 dst_x, dst_y, in util_format_translate_3d() 50 util_copy_rect(ubyte * dst, enum pipe_format format, unsigned dst_stride, unsigned dst_x, unsigned dst_y, unsigned width, unsigned height, const ubyte * src, int src_stride, unsigned src_x, unsigned src_y) util_copy_rect() argument 641 util_format_translate(enum pipe_format dst_format, void *dst, unsigned dst_stride, unsigned dst_x, unsigned dst_y, enum pipe_format src_format, const void *src, unsigned src_stride, unsigned src_x, unsigned src_y, unsigned width, unsigned height) util_format_translate() argument 866 util_format_translate_3d(enum pipe_format dst_format, void *dst, unsigned dst_stride, unsigned dst_slice_stride, unsigned dst_x, unsigned dst_y, unsigned dst_z, enum pipe_format src_format, const void *src, unsigned src_stride, unsigned src_slice_stride, unsigned src_x, unsigned src_y, unsigned src_z, unsigned width, unsigned height, unsigned depth) util_format_translate_3d() argument
|
/third_party/ffmpeg/libavutil/ |
H A D | motion_vector.h | 42 int16_t dst_x, dst_y; member 50 * src_x = dst_x + motion_x / motion_scale
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_clear.c | 739 unsigned dst_x, unsigned dst_y, in iris_clear_render_target() 746 .x = dst_x, in iris_clear_render_target() 771 unsigned dst_x, unsigned dst_y, in iris_clear_depth_stencil() 777 .x = dst_x, in iris_clear_depth_stencil() 736 iris_clear_render_target(struct pipe_context *ctx, struct pipe_surface *psurf, const union pipe_color_union *p_color, unsigned dst_x, unsigned dst_y, unsigned width, unsigned height, bool render_condition_enabled) iris_clear_render_target() argument 766 iris_clear_depth_stencil(struct pipe_context *ctx, struct pipe_surface *psurf, unsigned flags, double depth, unsigned stencil, unsigned dst_x, unsigned dst_y, unsigned width, unsigned height, bool render_condition_enabled) iris_clear_depth_stencil() argument
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
H A D | libXCB.hpp | 31 xcb_void_cookie_t (*xcb_put_image)(xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, xcb_gcontext_t gc, uint16_t width, uint16_t height, int16_t dst_x, int16_t dst_y, uint8_t left_pad, uint8_t depth, uint32_t data_len, const uint8_t *data) = nullptr;
|