/third_party/ffmpeg/libavcodec/ |
D | wmv2.c | 107 int dxy, mx, my, src_x, src_y, v_edge_pos; in ff_mspel_motion() local 113 src_x = s->mb_x * 16 + (motion_x >> 1); in ff_mspel_motion() 118 src_x = av_clip(src_x, -16, s->width); in ff_mspel_motion() 121 if (src_x <= -16 || src_x >= s->width) in ff_mspel_motion() 128 ptr = ref_picture[0] + (src_y * linesize) + src_x; in ff_mspel_motion() 130 if (src_x < 1 || src_y < 1 || src_x + 17 >= s->h_edge_pos || in ff_mspel_motion() 134 src_x - 1, src_y - 1, in ff_mspel_motion() 156 src_x = s->mb_x * 8 + mx; in ff_mspel_motion() 158 src_x = av_clip(src_x, -8, s->width >> 1); in ff_mspel_motion() 159 if (src_x == (s->width >> 1)) in ff_mspel_motion() [all …]
|
D | videodsp_template.c | 27 int src_x, int src_y, int w, int h) in FUNC() 46 if (src_x >= w) { in FUNC() 48 src -= (1 + src_x - w) * sizeof(pixel); in FUNC() 49 src_x = w - 1; in FUNC() 50 } else if (src_x <= -block_w) { in FUNC() 51 src += (1 - block_w - src_x) * sizeof(pixel); in FUNC() 52 src_x = 1 - block_w; in FUNC() 56 start_x = FFMAX(0, -src_x); in FUNC() 58 end_x = FFMIN(block_w, w-src_x); in FUNC()
|
D | mpegvideo_motion.c | 43 int src_x, src_y, motion_x, motion_y; in gmc1_motion() local 49 src_x = s->mb_x * 16 + (motion_x >> (s->sprite_warping_accuracy + 1)); in gmc1_motion() 53 src_x = av_clip(src_x, -16, s->width); in gmc1_motion() 54 if (src_x == s->width) in gmc1_motion() 63 ptr = ref_picture[0] + src_y * linesize + src_x; in gmc1_motion() 65 if ((unsigned)src_x >= FFMAX(s->h_edge_pos - 17, 0) || in gmc1_motion() 70 src_x, src_y, in gmc1_motion() 96 src_x = s->mb_x * 8 + (motion_x >> (s->sprite_warping_accuracy + 1)); in gmc1_motion() 100 src_x = av_clip(src_x, -8, s->width >> 1); in gmc1_motion() 101 if (src_x == s->width >> 1) in gmc1_motion() [all …]
|
D | mpegvideodsp.c | 64 int src_x = vx >> 16; in ff_gmc_c() local 66 int frac_x = src_x & (s - 1); in ff_gmc_c() 69 src_x >>= shift; in ff_gmc_c() 72 if ((unsigned) src_x < width) { in ff_gmc_c() 74 index = src_x + src_y * stride; in ff_gmc_c() 82 index = src_x + av_clip(src_y, 0, height) * stride; in ff_gmc_c() 90 index = av_clip(src_x, 0, width) + src_y * stride; in ff_gmc_c() 96 index = av_clip(src_x, 0, width) + in ff_gmc_c()
|
D | vc1_mc.c | 177 int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y; in ff_vc1_mc_1mv() local 253 src_x = s->mb_x * 16 + (mx >> 2); in ff_vc1_mc_1mv() 259 src_x = av_clip( src_x, -16, s->mb_width * 16); in ff_vc1_mc_1mv() 264 src_x = av_clip( src_x, -17, s->avctx->coded_width); in ff_vc1_mc_1mv() 275 srcY += src_y * s->linesize + src_x; in ff_vc1_mc_1mv() 293 || (unsigned)(src_x - s->mspel) > s->h_edge_pos - (mx&3) - 16 - s->mspel * 3 in ff_vc1_mc_1mv() 307 src_x - s->mspel, in ff_vc1_mc_1mv() 318 src_x - s->mspel, in ff_vc1_mc_1mv() 329 src_x - s->mspel, in ff_vc1_mc_1mv() 456 int dxy, mx, my, src_x, src_y; in ff_vc1_mc_4mv_luma() local [all …]
|
D | snow.h | 280 … slice_buffer *sb, IDWTELEM *dst, uint8_t *dst8, const uint8_t *obmc, int src_x, int src_y, int b_… in add_yblock() argument 311 if(src_x<0){ //FIXME merge with prev & always round internal width up to *16 in add_yblock() 312 obmc -= src_x; in add_yblock() 313 b_w += src_x; in add_yblock() 315 dst -= src_x; in add_yblock() 316 src_x=0; in add_yblock() 318 if(src_x + b_w > w){ in add_yblock() 319 b_w = w - src_x; in add_yblock() 335 dst += src_x + src_y*dst_stride; in add_yblock() 336 dst8+= src_x + src_y*src_stride; in add_yblock() [all …]
|
D | videodsp.h | 36 int src_x, int src_y, int w, int h); 67 int src_x, int src_y, int w, int h);
|
/third_party/ffmpeg/libavcodec/x86/ |
D | videodsp_init.c | 153 x86_reg src_x, x86_reg src_y, in emulated_edge_mc() argument 176 if (src_x >= w) { in emulated_edge_mc() 177 src += w - 1 - src_x; in emulated_edge_mc() 178 src_x = w - 1; in emulated_edge_mc() 179 } else if (src_x <= -block_w) { in emulated_edge_mc() 180 src += 1 - block_w - src_x; in emulated_edge_mc() 181 src_x = 1 - block_w; in emulated_edge_mc() 185 start_x = FFMAX(0, -src_x); in emulated_edge_mc() 187 end_x = FFMIN(block_w, w-src_x); in emulated_edge_mc() 230 int src_x, int src_y, int w, int h) in emulated_edge_mc_mmx() argument [all …]
|
D | snowdsp.c | 673 "rm"((x86_reg)(src_x<<1)),"m"(obmc),"a"(block),"m"(b_h),"m"(src_stride):\ 692 … int src_x, int src_y, x86_reg src_stride, slice_buffer * sb, int add, uint8_t * dst8){ in inner_add_yblock_bw_8_obmc_16_bh_even_sse2() argument 740 … int src_x, int src_y, x86_reg src_stride, slice_buffer * sb, int add, uint8_t * dst8){ in inner_add_yblock_bw_16_obmc_32_sse2() argument 822 "rm"((x86_reg)(src_x<<1)),"m"(obmc),"a"(block),"m"(b_h),"m"(src_stride):\ 826 … int src_x, int src_y, x86_reg src_stride, slice_buffer * sb, int add, uint8_t * dst8){ in inner_add_yblock_bw_8_obmc_16_mmx() argument 837 … int src_x, int src_y, x86_reg src_stride, slice_buffer * sb, int add, uint8_t * dst8){ in inner_add_yblock_bw_16_obmc_32_mmx() argument 854 … int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8){ in ff_snow_inner_add_yblock_sse2() argument 857 …inner_add_yblock_bw_16_obmc_32_sse2(obmc, obmc_stride, block, b_w, b_h, src_x,src_y, src_stride, s… in ff_snow_inner_add_yblock_sse2() 860 …inner_add_yblock_bw_8_obmc_16_bh_even_sse2(obmc, obmc_stride, block, b_w, b_h, src_x,src_y, src_st… in ff_snow_inner_add_yblock_sse2() 862 …inner_add_yblock_bw_8_obmc_16_mmx(obmc, obmc_stride, block, b_w, b_h, src_x,src_y, src_stride, sb,… in ff_snow_inner_add_yblock_sse2() [all …]
|
/third_party/libdrm/exynos/ |
D | exynos_fimg2d.c | 500 struct g2d_image *dst, unsigned int src_x, unsigned int src_y, in g2d_copy() argument 510 if (src_x + src->width > w) in g2d_copy() 511 src_w = src->width - src_x; in g2d_copy() 543 pt.data.x = src_x; in g2d_copy() 546 pt.data.x = src_x + w; in g2d_copy() 583 unsigned int src_x, unsigned int src_y, in g2d_move() argument 594 if (src_x + img->width > w) in g2d_move() 595 src_w = img->width - src_x; in g2d_move() 631 if (dst_x >= src_x) in g2d_move() 638 pt.data.x = src_x; in g2d_move() [all …]
|
D | exynos_fimg2d.h | 312 struct g2d_image *dst, unsigned int src_x, 316 unsigned int src_x, unsigned int src_y, unsigned int dst_x, 319 struct g2d_image *dst, unsigned int src_x, 325 struct g2d_image *dst, unsigned int src_x, 329 struct g2d_image *dst, unsigned int src_x, unsigned int src_y,
|
/third_party/libdrm/tests/exynos/ |
D | exynos_fimg2d_test.c | 247 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_copy_test() local 257 src_x = 0; in g2d_copy_test() 296 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_copy_test() 306 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_copy_test() 455 unsigned int src_x, src_y, img_w, img_h; in g2d_copy_with_scale_test() local 465 src_x = 0; in g2d_copy_with_scale_test() 502 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w , img_h); in g2d_copy_with_scale_test() 543 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_blend_test() local 553 src_x = 0; in g2d_blend_test() 593 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_blend_test() [all …]
|
/third_party/pixman/pixman/ |
D | pixman.c | 232 int32_t src_x, in _pixman_compute_composite_region32() argument 296 if (!clip_source_image (region, src_image, dest_x - src_x, dest_y - src_y)) in _pixman_compute_composite_region32() 302 dest_x - (src_x - src_image->common.alpha_origin_x), in _pixman_compute_composite_region32() 567 int32_t src_x, in pixman_image_composite32() argument 612 (src_x == mask_x && src_y == mask_y)) in pixman_image_composite32() 624 src_x, src_y, mask_x, mask_y, dest_x, dest_y, width, height)) in pixman_image_composite32() 631 extents.x1 -= dest_x - src_x; in pixman_image_composite32() 633 extents.x2 -= dest_x - src_x; in pixman_image_composite32() 639 extents.x1 -= src_x - mask_x; in pixman_image_composite32() 641 extents.x2 -= src_x - mask_x; in pixman_image_composite32() [all …]
|
D | pixman-glyph.c | 401 int32_t src_x, in pixman_composite_glyphs_no_mask() argument 429 src_x - dest_x, src_y - dest_y, 0, 0, 0, 0, in pixman_composite_glyphs_no_mask() 478 info.src_x = src_x + composite_box.x1 - dest_x; in pixman_composite_glyphs_no_mask() 526 info.src_x = 0; in add_glyphs() 594 int src_x = composite_box.x1 - glyph_box.x1; in add_glyphs() local 602 info.mask_x = info.src_x = src_x; in add_glyphs() 644 int32_t src_x, in pixman_composite_glyphs() argument 670 src_x, src_y, in pixman_composite_glyphs()
|
/third_party/wayland-ivi-extension/screen-info/module/ |
D | screen-info.h | 7 int src_x; member 22 int src_x; member
|
/third_party/pixman/test/ |
D | affine-bench.c | 54 int32_t src_x; member 184 info->src_x, info->src_y, in pixman_image_composite_wrapper() 195 info->src_x, info->src_y, in pixman_image_composite_empty() 221 info.src_x = 0; in bench() 240 t.matrix[0][2] = pixman_int_to_fixed (bi->src_x + x); in bench() 418 binfo.src_x = -xmin; in main()
|
D | blitters-test.c | 241 int src_x, src_y; in test_composite() local 296 src_x = prng_rand_n (src_width); in test_composite() 317 mask_x = src_x; in test_composite() 356 src_x, src_y, dst_x, dst_y); in test_composite() 363 src_x, src_y, mask_x, mask_y, dst_x, dst_y, w, h); in test_composite()
|
D | oob-test.c | 21 int src_x; member 84 info->src_x, info->src_y, in test_composite()
|
D | composite-traps-test.c | 63 int src_x, src_y; in test_composite() local 90 src_x = 10; in test_composite() 102 src_x = -(src_width / 4) + prng_rand_n (src_width * 3 / 2); in test_composite() 227 src_x, src_y, dst_x, dst_y, n_traps, traps); in test_composite()
|
D | affine-test.c | 36 int src_x, src_y; in test_composite() local 70 src_x = -(src_width / 4) + prng_rand_n (src_width * 3 / 2); in test_composite() 228 src_x, src_y, dst_x, dst_y); in test_composite() 286 src_x, src_y, 0, 0, dst_x, dst_y, w, h); in test_composite()
|
/third_party/gstreamer/gstplugins_good/gst/videobox/ |
D | gstvideobox.c | 176 gboolean src_sdtv, gint src_x, gint src_y, gint w, gint h) in copy_ayuv_ayuv() argument 190 src = src + src_y * src_stride + src_x * 4; in copy_ayuv_ayuv() 234 gboolean src_sdtv, gint src_x, gint src_y, gint w, gint h) in copy_ayuv_i420() argument 269 src = src + src_y * src_stride + src_x * 4; in copy_ayuv_i420() 715 gboolean src_sdtv, gint src_x, gint src_y, gint w, gint h) in copy_y444_y444() argument 743 srcY = srcY + src_y * src_strideY + src_x; in copy_y444_y444() 744 srcU = srcU + src_y * src_strideU + src_x; in copy_y444_y444() 745 srcV = srcV + src_y * src_strideV + src_x; in copy_y444_y444() 793 gboolean src_sdtv, gint src_x, gint src_y, gint w, gint h) in copy_y42b_y42b() argument 830 srcY = srcY + src_y * src_strideY + src_x; in copy_y42b_y42b() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_tinterlace.c | 133 int i, src_x; in lowpass_line_c_16() local 138 src_x = av_le2ne16(srcp[i]) << 1; in lowpass_line_c_16() 139 dstp[i] = av_le2ne16((1 + src_x + av_le2ne16(srcp_above[i]) in lowpass_line_c_16() 151 int i, src_x, src_ab; in lowpass_line_complex_c() local 156 src_x = srcp[i] << 1; in lowpass_line_complex_c() 158 dstp[i] = av_clip_uint8((4 + ((srcp[i] + src_x + src_ab) << 1) in lowpass_line_complex_c() 163 if (src_ab > src_x) { in lowpass_line_complex_c() 180 int i, dst_le, src_le, src_x, src_ab; in lowpass_line_complex_c_16() local 186 src_x = src_le << 1; in lowpass_line_complex_c_16() 188 dst_le = av_clip((4 + ((src_le + src_x + src_ab) << 1) in lowpass_line_complex_c_16() [all …]
|
/third_party/weston/libweston/backend-drm/ |
D | state-helpers.c | 239 state->src_x = wl_fixed_from_double(sxf1) << 8; in drm_plane_state_coords_for_view() 249 if (state->src_x < 0) in drm_plane_state_coords_for_view() 250 state->src_x = 0; in drm_plane_state_coords_for_view() 253 if (state->src_w > (uint32_t) ((buffer->width << 16) - state->src_x)) in drm_plane_state_coords_for_view() 254 state->src_w = (buffer->width << 16) - state->src_x; in drm_plane_state_coords_for_view()
|
/third_party/uboot/u-boot-2020.01/drivers/video/ |
D | mb862xx.c | 461 void video_hw_bitblt (unsigned int bpp, unsigned int src_x, in video_hw_bitblt() argument 469 if (src_x >= dst_x && src_y >= dst_y) in video_hw_bitblt() 471 else if (src_x >= dst_x && src_y <= dst_y) in video_hw_bitblt() 473 else if (src_x <= dst_x && src_y >= dst_y) in video_hw_bitblt() 480 DE_WR_FIFO ((src_y << 16) | src_x); in video_hw_bitblt()
|
/third_party/weston/clients/ |
D | scaler.c | 69 wl_fixed_t src_x, src_y, src_width, src_height; in set_my_viewport() local 83 src_x = wl_fixed_from_double((RECT_X + 0.5) / BUFFER_SCALE); in set_my_viewport() 100 wp_viewport_set_source(box->viewport, src_x, src_y, in set_my_viewport() 108 wp_viewport_set_source(box->viewport, src_x, src_y, in set_my_viewport()
|