Home
last modified time | relevance | path

Searched refs:src_x (Results 1 – 25 of 78) sorted by relevance

1234

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c40 int src_x, int src_y, int src_z, in copy_image_with_memcpy() argument
56 assert(src_x % src_bw == 0); in copy_image_with_memcpy()
70 map_x1 = MIN2(src_x, dst_x); in copy_image_with_memcpy()
72 map_x2 = MAX2(src_x, dst_x) + src_width; in copy_image_with_memcpy()
84 ((src_x - map_x1) / src_bw) * cpp; in copy_image_with_memcpy()
89 src_x, src_y, src_width, src_height, in copy_image_with_memcpy()
116 int src_x, int src_y, int src_z, unsigned src_level, in copy_miptrees() argument
127 src_x, src_y, dst_x, dst_y, in copy_miptrees()
157 if (intel_miptree_copy(brw, src_mt, src_level, src_z, src_x, src_y, in copy_miptrees()
166 src_x, src_y, src_z, in copy_miptrees()
[all …]
Dintel_blit.c221 uint32_t src_x, uint32_t src_y, in emit_miptree_blit() argument
262 src_x + chunk_x, src_y + chunk_y, in emit_miptree_blit()
313 uint32_t src_x, uint32_t src_y, bool src_flip, in intel_miptree_blit() argument
363 src_x += src_image_x; in intel_miptree_blit()
368 if (!emit_miptree_blit(brw, src_mt, src_x, src_y, in intel_miptree_blit()
389 uint32_t src_x, uint32_t src_y, in intel_miptree_copy() argument
424 assert(src_x % bw == 0); in intel_miptree_copy()
427 src_x + src_width == minify(src_mt->logical_width0, src_level)); in intel_miptree_copy()
431 src_x /= (int)bw; in intel_miptree_copy()
436 src_x += src_image_x; in intel_miptree_copy()
[all …]
Dintel_blit.h54 uint32_t src_x, uint32_t src_y, bool src_flip,
64 uint32_t src_x, uint32_t src_y,
/external/libdrm/exynos/
Dexynos_fimg2d.c505 struct g2d_image *dst, unsigned int src_x, unsigned int src_y, in g2d_copy() argument
515 if (src_x + src->width > w) in g2d_copy()
516 src_w = src->width - src_x; in g2d_copy()
548 pt.data.x = src_x; in g2d_copy()
551 pt.data.x = src_x + w; in g2d_copy()
588 unsigned int src_x, unsigned int src_y, in g2d_move() argument
599 if (src_x + img->width > w) in g2d_move()
600 src_w = img->width - src_x; in g2d_move()
636 if (dst_x >= src_x) in g2d_move()
643 pt.data.x = src_x; in g2d_move()
[all …]
Dexynos_fimg2d.h299 struct g2d_image *dst, unsigned int src_x,
303 unsigned int src_x, unsigned int src_y, unsigned int dst_x,
306 struct g2d_image *dst, unsigned int src_x,
312 struct g2d_image *dst, unsigned int src_x,
316 struct g2d_image *dst, unsigned int src_x, unsigned int src_y,
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_image.c427 unsigned src_x = ((uint32_t *)rgba2[c])[qi]; in handle_op_uint() local
429 sdata[c] = (dst_x == cmp_x) ? src_x : dst_x; in handle_op_uint()
457 unsigned src_x = ((uint32_t *)rgba[c])[qi]; in handle_op_uint() local
458 sdata[c] = MIN2(dst_x, src_x); in handle_op_uint()
465 unsigned src_x = ((uint32_t *)rgba[c])[qi]; in handle_op_uint() local
466 sdata[c] = MAX2(dst_x, src_x); in handle_op_uint()
473 int src_x = ((uint32_t *)rgba[c])[qi]; in handle_op_uint() local
474 sdata[c] = MIN2(dst_x, src_x); in handle_op_uint()
481 int src_x = ((uint32_t *)rgba[c])[qi]; in handle_op_uint() local
482 sdata[c] = MAX2(dst_x, src_x); in handle_op_uint()
[all …]
Dsp_buffer.c204 unsigned src_x = ((uint32_t *)rgba2[c])[qi]; in handle_op_uint() local
206 sdata[c] = (dst_x == cmp_x) ? src_x : dst_x; in handle_op_uint()
234 unsigned src_x = ((uint32_t *)rgba[c])[qi]; in handle_op_uint() local
235 sdata[c] = MIN2(dst_x, src_x); in handle_op_uint()
242 unsigned src_x = ((uint32_t *)rgba[c])[qi]; in handle_op_uint() local
243 sdata[c] = MAX2(dst_x, src_x); in handle_op_uint()
250 int src_x = ((uint32_t *)rgba[c])[qi]; in handle_op_uint() local
251 sdata[c] = MIN2(dst_x, src_x); in handle_op_uint()
258 int src_x = ((uint32_t *)rgba[c])[qi]; in handle_op_uint() local
259 sdata[c] = MAX2(dst_x, src_x); in handle_op_uint()
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp1195 uint32_t src_x = (clip_left + i) * src_width / dest_width; in DownSampleScanline1Bit() local
1197 src_x = src_width - src_x - 1; in DownSampleScanline1Bit()
1199 src_x %= src_width; in DownSampleScanline1Bit()
1200 if (pSrcLine[src_x / 8] & (1 << (7 - src_x % 8))) { in DownSampleScanline1Bit()
1215 uint32_t src_x = (clip_left + i) * src_width / dest_width; in DownSampleScanline1Bit() local
1217 src_x = src_width - src_x - 1; in DownSampleScanline1Bit()
1219 src_x %= src_width; in DownSampleScanline1Bit()
1221 if (pSrcLine[src_x / 8] & (1 << (7 - src_x % 8))) { in DownSampleScanline1Bit()
1269 uint32_t src_x = (clip_left + i) * src_width / dest_width; in DownSampleScanline8Bit() local
1271 src_x = src_width - src_x - 1; in DownSampleScanline8Bit()
[all …]
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c240 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_copy_test() local
250 src_x = 0; in g2d_copy_test()
288 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_copy_test()
298 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_copy_test()
447 unsigned int src_x, src_y, img_w, img_h; in g2d_copy_with_scale_test() local
457 src_x = 0; in g2d_copy_with_scale_test()
493 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w , img_h); in g2d_copy_with_scale_test()
533 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_blend_test() local
543 src_x = 0; in g2d_blend_test()
582 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_blend_test()
[all …]
/external/libvncserver/libvncclient/
Dh264.c602 int src_x, src_y; in nv12_to_rgba() local
604 for (src_x = 0; src_x < ch_w; src_x += 2) { in nv12_to_rgba()
605 uint8_t nv_u = nv12_uv[src_x]; in nv12_to_rgba()
606 uint8_t nv_v = nv12_uv[src_x + 1]; in nv12_to_rgba()
607 … uint8_t nv_y[4] = { nv12_y[ src_x], nv12_y[ src_x + 1], in nv12_to_rgba()
608 … nv12_y[vaImage.pitches[0] + src_x], nv12_y[vaImage.pitches[0] + src_x + 1] }; in nv12_to_rgba()
627 dst[client->width * (i / 2) + src_x + (i % 2)] = 0 in nv12_to_rgba()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_dma.c128 unsigned src_x, in si_dma_copy_tile() argument
160 linear_x = detile ? dst_x : src_x; in si_dma_copy_tile()
163 tiled_x = detile ? src_x : dst_x; in si_dma_copy_tile()
233 unsigned src_x, src_y; in si_dma_copy() local
265 src_x = util_format_get_nblocksx(src->format, src_box->x); in si_dma_copy()
305 src_offset += src_y * src_pitch + src_x * bpp; in si_dma_copy()
313 src, src_level, src_x, src_y, src_box->z, in si_dma_copy()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.c112 uint32_t src_x, uint32_t src_y, bool src_flip, in intel_miptree_blit() argument
180 src_x += src_image_x; in intel_miptree_blit()
197 src_x, src_y, in intel_miptree_blit()
227 GLshort src_x, GLshort src_y, in intelEmitCopyBlit() argument
270 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit()
287 src_x *= cpp / 2; in intelEmitCopyBlit()
293 src_x *= cpp / 4; in intelEmitCopyBlit()
328 OUT_BATCH((src_y << 16) | src_x); in intelEmitCopyBlit()
/external/mesa3d/src/gallium/drivers/i915/
Di915_blit.c97 short src_x, short src_y, in i915_copy_blit() argument
110 src_buffer, src_pitch, src_offset, src_x, src_y, in i915_copy_blit()
155 OUT_BATCH((src_y << 16) | src_x); in i915_copy_blit()
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp635 uint32_t src_x = dest_x * m_Width / dest_width; in DownSampleScanline() local
637 src_x = m_Width - src_x - 1; in DownSampleScanline()
639 src_x %= m_Width; in DownSampleScanline()
640 dest_scan[i] = (scanline[src_x / 8] & (1 << (7 - src_x % 8))) ? 255 : 0; in DownSampleScanline()
645 uint32_t src_x = dest_x * m_Width / dest_width; in DownSampleScanline() local
647 src_x = m_Width - src_x - 1; in DownSampleScanline()
649 src_x %= m_Width; in DownSampleScanline()
654 FX_ARGB argb = m_pPalette.get()[scanline[src_x]]; in DownSampleScanline()
660 FX_CMYK cmyk = m_pPalette.get()[scanline[src_x]]; in DownSampleScanline()
667 dest_scan[dest_pos] = scanline[src_x]; in DownSampleScanline()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dvpx_scaled_convolve8_neon.c38 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w4() local
47 load_u8_8x4(src_x, src_stride, &s[0], &s[1], &s[2], &s[3]); in scaledconvolve_horiz_w4()
70 temp[z * 4 + i] = src_x[i * src_stride + 3]; in scaledconvolve_horiz_w4()
116 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8() local
121 load_u8_8x8(src_x, src_stride, &s[0], &s[1], &s[2], &s[3], &s[4], in scaledconvolve_horiz_w8()
130 temp[z * 8 + i] = src_x[i * src_stride + 3]; in scaledconvolve_horiz_w8()
/external/libvpx/libvpx/vpx_dsp/
Dvpx_convolve.c32 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_horiz() local
35 for (k = 0; k < SUBPEL_TAPS; ++k) sum += src_x[k] * x_filter[k]; in convolve_horiz()
54 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_avg_horiz() local
57 for (k = 0; k < SUBPEL_TAPS; ++k) sum += src_x[k] * x_filter[k]; in convolve_avg_horiz()
304 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_horiz() local
307 for (k = 0; k < SUBPEL_TAPS; ++k) sum += src_x[k] * x_filter[k]; in highbd_convolve_horiz()
326 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_avg_horiz() local
329 for (k = 0; k < SUBPEL_TAPS; ++k) sum += src_x[k] * x_filter[k]; in highbd_convolve_avg_horiz()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.h51 int src_stride, unsigned src_x, unsigned src_y);
61 unsigned src_x, unsigned src_y, unsigned src_z);
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve8_msa.c633 static void filter_horiz_w4_msa(const uint8_t *src_x, ptrdiff_t src_pitch, in filter_horiz_w4_msa() argument
647 LD4(src_x, src_pitch, srcd0, srcd1, srcd2, srcd3); in filter_horiz_w4_msa()
674 static void filter_horiz_w8_msa(const uint8_t *src_x, ptrdiff_t src_pitch, in filter_horiz_w8_msa() argument
685 LD4(src_x, src_pitch, srcd0, srcd1, srcd2, srcd3); in filter_horiz_w8_msa()
688 LD4(src_x + 4 * src_pitch, src_pitch, srcd0, srcd1, srcd2, srcd3); in filter_horiz_w8_msa()
724 static void filter_horiz_w16_msa(const uint8_t *src_x, ptrdiff_t src_pitch, in filter_horiz_w16_msa() argument
737 LD4(src_x, src_pitch, srcd0, srcd1, srcd2, srcd3); in filter_horiz_w16_msa()
740 LD4(src_x + 4 * src_pitch, src_pitch, srcd0, srcd1, srcd2, srcd3); in filter_horiz_w16_msa()
743 LD4(src_x + 8 * src_pitch, src_pitch, srcd0, srcd1, srcd2, srcd3); in filter_horiz_w16_msa()
746 LD4(src_x + 12 * src_pitch, src_pitch, srcd0, srcd1, srcd2, srcd3); in filter_horiz_w16_msa()
[all …]
/external/swiftshader/src/Main/
DlibX11.hpp41 …int (*XPutImage)(Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int des…
48 …int (*XShmPutImage)(Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int …
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c543 int src_x, int src_y, int src_z, in fallback_copy_image() argument
590 src_x, src_y, src_w, src_h, in fallback_copy_image()
595 src_x, src_y, src_w, src_h, in fallback_copy_image()
623 int src_x, int src_y, int src_z, in st_CopyImageSubData() argument
669 u_box_2d_zslice(src_x, src_y, src_z, src_width, src_height, &box); in st_CopyImageSubData()
674 src_image, src_res, src_x, src_y, orig_src_z, in st_CopyImageSubData()
/external/libvpx/libvpx/vpx_dsp/x86/
Dvpx_subpixel_8t_intrin_ssse3.c287 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8() local
290 filter_horiz_w8_ssse3(src_x, src_stride, temp + (z * 8), x_filter); in scaledconvolve_horiz_w8()
294 temp[z * 8 + i] = src_x[i * src_stride + 3]; in scaledconvolve_horiz_w8()
362 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w4() local
365 filter_horiz_w4_ssse3(src_x, src_stride, temp + (z * 4), x_filter); in scaledconvolve_horiz_w4()
369 temp[z * 4 + i] = src_x[i * src_stride + 3]; in scaledconvolve_horiz_w4()
/external/perfetto/src/ftrace_reader/test/data/android_seed_N2F62_3.10.49/events/mdss/mdp_sspp_change/
Dformat17 field:u16 src_x; offset:36; size:2; signed:0;
26 …ay_cnt, REC->flags, REC->stage, REC->format, REC->img_w, REC->img_h, REC->src_x, REC->src_y, REC->…
/external/perfetto/src/ftrace_reader/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/mdss/mdp_sspp_change/
Dformat17 field:u16 src_x; offset:36; size:2; signed:0;
26 …ay_cnt, REC->flags, REC->stage, REC->format, REC->img_w, REC->img_h, REC->src_x, REC->src_y, REC->…
/external/perfetto/src/ftrace_reader/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sde_rotator/rot_entry_done/
Dformat16 field:u16 src_x; offset:32; size:2; signed:0;
28 …_id, REC->pr_id, REC->flags, REC->src_fmt, REC->src_bw, REC->src_bh, REC->src_x, REC->src_y, REC->…
/external/perfetto/src/ftrace_reader/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sde_rotator/rot_entry_fence/
Dformat16 field:u16 src_x; offset:32; size:2; signed:0;
28 …_id, REC->pr_id, REC->flags, REC->src_fmt, REC->src_bw, REC->src_bh, REC->src_x, REC->src_y, REC->…

1234