Home
last modified time | relevance | path

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

123

/external/libdrm/exynos/
Dexynos_fimg2d.c322 struct g2d_image *dst, unsigned int src_x, unsigned int src_y, in g2d_copy() argument
352 if (src_x + src->width > w) in g2d_copy()
353 src_w = src->width - src_x; in g2d_copy()
374 pt.data.x = src_x; in g2d_copy()
378 pt.data.x = src_x + w; in g2d_copy()
422 struct g2d_image *dst, unsigned int src_x, in g2d_copy_with_scale() argument
461 if (src_x + src_w > src->width) in g2d_copy_with_scale()
462 src_w = src->width - src_x; in g2d_copy_with_scale()
495 pt.data.x = src_x; in g2d_copy_with_scale()
499 pt.data.x = src_x + src_w; in g2d_copy_with_scale()
[all …]
Dfimg2d.h312 struct g2d_image *dst, unsigned int src_x,
316 struct g2d_image *dst, unsigned int src_x,
322 struct g2d_image *dst, unsigned int src_x,
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp162 int src_x, src_y; in Transform1bppBitmap() local
163 result2src_fix.Transform(dest_x, dest_y, src_x, src_y); in Transform1bppBitmap()
164 if (src_x < 0 || src_x >= src_width || src_y < 0 || src_y >= src_height) { in Transform1bppBitmap()
167 if (!((src_buf + src_pitch * src_y)[src_x / 8] & (1 << (7 - src_x % 8)))) { in Transform1bppBitmap()
177 int src_x, src_y; in Transform1bppBitmap() local
178 result2src_fix.Transform(dest_x, dest_y, src_x, src_y); in Transform1bppBitmap()
179 if (src_x < 0 || src_x >= src_width || src_y < 0 || src_y >= src_height) { in Transform1bppBitmap()
182 if ((src_buf + src_pitch * src_y)[src_x / 8] & (1 << (7 - src_x % 8))) { in Transform1bppBitmap()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_loadimage.cpp1232 FX_DWORD src_x = (clip_left + i) * src_width / dest_width; in DownSampleScanline() local
1234 src_x = src_width - src_x - 1; in DownSampleScanline()
1236 src_x %= src_width; in DownSampleScanline()
1237 if (pSrcLine[src_x / 8] & (1 << (7 - src_x % 8))) { in DownSampleScanline()
1252 FX_DWORD src_x = (clip_left + i) * src_width / dest_width; in DownSampleScanline() local
1254 src_x = src_width - src_x - 1; in DownSampleScanline()
1256 src_x %= src_width; in DownSampleScanline()
1258 if (pSrcLine[src_x / 8] & (1 << (7 - src_x % 8))) { in DownSampleScanline()
1297 FX_DWORD src_x = (clip_left + i) * src_width / dest_width; in DownSampleScanline() local
1299 src_x = src_width - src_x - 1; in DownSampleScanline()
[all …]
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c271 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_copy_test() local
283 src_x = 0; in g2d_copy_test()
320 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_copy_test()
330 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_copy_test()
355 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_copy_with_scale_test() local
367 src_x = 0; in g2d_copy_with_scale_test()
404 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w , img_h); in g2d_copy_with_scale_test()
444 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_blend_test() local
456 src_x = 0; in g2d_blend_test()
494 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_blend_test()
/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/mesa3d/src/gallium/auxiliary/util/
Du_rect.c53 unsigned src_x, in util_copy_rect() argument
70 src_x /= blockwidth; in util_copy_rect()
74 src += src_x * blocksize; in util_copy_rect()
Du_rect.h95 int src_stride, unsigned src_x, unsigned src_y);
Du_format.c537 unsigned src_x, unsigned src_y, in util_format_translate() argument
558 src_x, src_y); in util_format_translate()
564 assert(src_x % src_format_desc->block.width == 0); in util_format_translate()
568 src_row = (const uint8_t *)src + src_y*src_stride + src_x*(src_format_desc->block.bits/8); in util_format_translate()
/external/libvncserver/x11vnc/
Dxrecord.c539 int src_x, src_y, dst_x, dst_y, rx, ry, rx2, ry2; in record_CA() local
621 src_x = req->srcX; in record_CA()
643 dx = dst_x - src_x; in record_CA()
653 src_x, src_y, dst_x, dst_y, w, h, scr_ev_cnt, src, dst); in record_CA()
766 src_x, src_y, dst_x, dst_y, w, h, scr_ev_cnt, src, dst); in record_CA()
779 dx = dst_x - src_x; in record_CA()
794 src_x, src_y, w, h, st, dt, dnowx()); in record_CA()
819 scr_ev[i].new_x = rx + src_x; in record_CA()
824 scr_ev[i].new_x = rx + src_x; in record_CA()
831 scr_ev[i].new_x = rx + src_x; in record_CA()
[all …]
Dwin_utils.h46 extern Bool xtranslate(Window src, Window dst, int src_x, int src_y, int *dst_x,
Dwin_utils.c51 Bool xtranslate(Window src, Window dst, int src_x, int src_y, int *dst_x,
156 Bool xtranslate(Window src, Window dst, int src_x, int src_y, int *dst_x, in xtranslate() argument
164 if (!src || !dst || !src_x || !src_y || !dst_x || !dst_y || !child || !bequiet) {} in xtranslate()
171 if (XTranslateCoordinates(dpy, src, dst, src_x, src_y, dst_x, in xtranslate()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_xv.c417 float src_x, float src_y, float src_w, float src_h, in draw_yuv() argument
426 src_x, src_y, src_w, src_h, in draw_yuv()
493 int src_x, int src_y, int src_w, int src_h, in display_video() argument
570 (float) src_x + offset_x*diff_x, (float) src_y + offset_y*diff_y, in display_video()
585 short src_x, short src_y, in put_image() argument
602 x1 = src_x; in put_image()
603 x2 = src_x + src_w; in put_image()
622 src_x, src_y, width, height); in put_image()
631 src_x, src_y, src_w, src_h, in put_image()
Dxorg_renderer.h57 float src_x, float src_y, float src_w, float src_h,
/external/libvpx/libvpx/vpx_dsp/x86/
Dvpx_subpixel_8t_intrin_ssse3.c619 static void filter_horiz_w8_ssse3(const uint8_t *src_x, ptrdiff_t src_pitch, in filter_horiz_w8_ssse3() argument
628 const __m128i A = _mm_loadl_epi64((const __m128i *)src_x); in filter_horiz_w8_ssse3()
629 const __m128i B = _mm_loadl_epi64((const __m128i *)(src_x + src_pitch)); in filter_horiz_w8_ssse3()
630 const __m128i C = _mm_loadl_epi64((const __m128i *)(src_x + src_pitch * 2)); in filter_horiz_w8_ssse3()
631 const __m128i D = _mm_loadl_epi64((const __m128i *)(src_x + src_pitch * 3)); in filter_horiz_w8_ssse3()
632 const __m128i E = _mm_loadl_epi64((const __m128i *)(src_x + src_pitch * 4)); in filter_horiz_w8_ssse3()
633 const __m128i F = _mm_loadl_epi64((const __m128i *)(src_x + src_pitch * 5)); in filter_horiz_w8_ssse3()
634 const __m128i G = _mm_loadl_epi64((const __m128i *)(src_x + src_pitch * 6)); in filter_horiz_w8_ssse3()
635 const __m128i H = _mm_loadl_epi64((const __m128i *)(src_x + src_pitch * 7)); in filter_horiz_w8_ssse3()
719 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8() local
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dvpx_convolve.c31 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_horiz() local
35 sum += src_x[k] * x_filter[k]; in convolve_horiz()
53 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_avg_horiz() local
57 sum += src_x[k] * x_filter[k]; in convolve_avg_horiz()
352 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_horiz() local
356 sum += src_x[k] * x_filter[k]; in highbd_convolve_horiz()
377 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_avg_horiz() local
381 sum += src_x[k] * x_filter[k]; in highbd_convolve_avg_horiz()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp1141 FX_DWORD src_x = dest_x * m_Width / dest_width; local
1143 src_x = m_Width - src_x - 1;
1145 src_x %= m_Width;
1146 dest_scan[i] = (scanline[src_x / 8] & (1 << (7 - src_x % 8))) ? 255 : 0;
1151 FX_DWORD src_x = dest_x * m_Width / dest_width; local
1153 src_x = m_Width - src_x - 1;
1155 src_x %= m_Width;
1160 FX_ARGB argb = m_pPalette[scanline[src_x]];
1166 FX_CMYK cmyk = m_pPalette[scanline[src_x]];
1173 dest_scan[dest_pos] = scanline[src_x];
[all …]
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_yuv.c110 int src_x, in xa_yuv_planar_blit() argument
150 (float)src_x + scale_x * (x - dst_x), in xa_yuv_planar_blit()
Dxa_context.h52 int src_x,
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_blit.c101 GLshort src_x, GLshort src_y, in intelEmitCopyBlit() argument
144 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit()
163 src_x *= cpp / 4; in intelEmitCopyBlit()
207 OUT_BATCH((src_y << 16) | src_x); in intelEmitCopyBlit()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.c101 GLshort src_x, GLshort src_y, in intelEmitCopyBlit() argument
144 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit()
163 src_x *= cpp / 4; in intelEmitCopyBlit()
207 OUT_BATCH((src_y << 16) | src_x); in intelEmitCopyBlit()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_blit.c101 GLshort src_x, GLshort src_y, in intelEmitCopyBlit() argument
144 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit()
163 src_x *= cpp / 4; in intelEmitCopyBlit()
207 OUT_BATCH((src_y << 16) | src_x); in intelEmitCopyBlit()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_surface.h79 unsigned src_x, unsigned src_y, unsigned src_z,
/external/mesa3d/src/gallium/state_trackers/va/
Dva_private.h117 int src_x,
135 short src_x,
Dva_subpicture.c122 int num_surfaces, short src_x, short src_y, in vlVaAssociateSubpicture() argument

123