Home
last modified time | relevance | path

Searched refs:dst_x (Results 1 – 25 of 53) sorted by relevance

123

/external/libdrm/exynos/
Dexynos_fimg2d.c506 unsigned int dst_x, unsigned dst_y, unsigned int w, in g2d_copy() argument
522 if (dst_x + dst->width > w) in g2d_copy()
523 dst_w = dst->width - dst_x; in g2d_copy()
555 pt.data.x = dst_x; in g2d_copy()
558 pt.data.x = dst_x + w; in g2d_copy()
589 unsigned int dst_x, unsigned dst_y, unsigned int w, in g2d_move() argument
606 if (dst_x + img->width > w) in g2d_move()
607 dst_w = img->width - dst_x; in g2d_move()
636 if (dst_x >= src_x) in g2d_move()
650 pt.data.x = dst_x; in g2d_move()
[all …]
Dexynos_fimg2d.h300 unsigned int src_y, unsigned int dst_x, unsigned int dst_y,
303 unsigned int src_x, unsigned int src_y, unsigned int dst_x,
308 unsigned int src_h, unsigned int dst_x,
313 unsigned int src_y, unsigned int dst_x, unsigned int dst_y,
317 unsigned int src_w, unsigned int src_h, unsigned int dst_x,
/external/mesa3d/src/gallium/auxiliary/util/
Du_rect.c47 unsigned dst_x, in util_copy_rect() argument
66 dst_x /= blockwidth; in util_copy_rect()
73 dst += dst_x * blocksize; in util_copy_rect()
94 unsigned dst_x, in util_fill_rect() argument
111 dst_x /= blockwidth; in util_fill_rect()
116 dst += dst_x * blocksize; in util_fill_rect()
Du_rect.h93 unsigned dst_stride, unsigned dst_x, unsigned dst_y,
99 unsigned dst_stride, unsigned dst_x, unsigned dst_y,
/external/mesa3d/src/gallium/drivers/i915/
Di915_blit.c98 short dst_x, short dst_y, in i915_copy_blit() argument
103 int dst_x2 = dst_x + w; in i915_copy_blit()
111 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in i915_copy_blit()
136 if (dst_y2 < dst_y || dst_x2 < dst_x) { in i915_copy_blit()
152 OUT_BATCH((dst_y << 16) | dst_x); in i915_copy_blit()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_dri.c122 int dst_x, in vmw_dri1_intersect_src_bbox() argument
130 xy1 = ((int)src->x1 > (int)bbox->x1 + dst_x) ? src->x1 : in vmw_dri1_intersect_src_bbox()
131 (int)bbox->x1 + dst_x; in vmw_dri1_intersect_src_bbox()
132 xy2 = ((int)src->x2 < (int)bbox->x2 + dst_x) ? src->x2 : in vmw_dri1_intersect_src_bbox()
133 (int)bbox->x2 + dst_x; in vmw_dri1_intersect_src_bbox()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_read.c83 GLint dst_x, dst_y; in do_blit_readpixels() local
129 &dst_x, &dst_y, in do_blit_readpixels()
142 dst_x = 0; in do_blit_readpixels()
157 dst_x, dst_y, in do_blit_readpixels()
Dintel_blit.c102 GLshort dst_x, GLshort dst_y, in intelEmitCopyBlit() argument
108 int dst_x2 = dst_x + w; in intelEmitCopyBlit()
145 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in intelEmitCopyBlit()
161 dst_x *= cpp / 4; in intelEmitCopyBlit()
192 if (dst_y2 <= dst_y || dst_x2 <= dst_x) { in intelEmitCopyBlit()
196 assert(dst_x < dst_x2); in intelEmitCopyBlit()
202 OUT_BATCH((dst_y << 16) | dst_x); in intelEmitCopyBlit()
Di830_texstate.c129 GLuint dst_x, dst_y; in i830_update_tex_unit() local
149 &dst_x, &dst_y); in i830_update_tex_unit()
158 i830->state.tex_offset[unit] = dst_x * intelObj->mt->cpp + dst_y * pitch; in i830_update_tex_unit()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_read.c83 GLint dst_x, dst_y; in do_blit_readpixels() local
129 &dst_x, &dst_y, in do_blit_readpixels()
142 dst_x = 0; in do_blit_readpixels()
157 dst_x, dst_y, in do_blit_readpixels()
Dintel_blit.c102 GLshort dst_x, GLshort dst_y, in intelEmitCopyBlit() argument
108 int dst_x2 = dst_x + w; in intelEmitCopyBlit()
145 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in intelEmitCopyBlit()
161 dst_x *= cpp / 4; in intelEmitCopyBlit()
192 if (dst_y2 <= dst_y || dst_x2 <= dst_x) { in intelEmitCopyBlit()
196 assert(dst_x < dst_x2); in intelEmitCopyBlit()
202 OUT_BATCH((dst_y << 16) | dst_x); in intelEmitCopyBlit()
Dintel_tex_image.c142 GLuint dst_x, dst_y, dst_stride; in try_pbo_upload() local
182 &dst_x, &dst_y); in try_pbo_upload()
192 0, 0, dst_x, dst_y, image->Width, image->Height, in try_pbo_upload()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel_read.c83 GLint dst_x, dst_y; in do_blit_readpixels() local
129 &dst_x, &dst_y, in do_blit_readpixels()
142 dst_x = 0; in do_blit_readpixels()
157 dst_x, dst_y, in do_blit_readpixels()
Dintel_blit.c102 GLshort dst_x, GLshort dst_y, in intelEmitCopyBlit() argument
108 int dst_x2 = dst_x + w; in intelEmitCopyBlit()
145 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in intelEmitCopyBlit()
161 dst_x *= cpp / 4; in intelEmitCopyBlit()
192 if (dst_y2 <= dst_y || dst_x2 <= dst_x) { in intelEmitCopyBlit()
196 assert(dst_x < dst_x2); in intelEmitCopyBlit()
202 OUT_BATCH((dst_y << 16) | dst_x); in intelEmitCopyBlit()
Dintel_tex_image.c142 GLuint dst_x, dst_y, dst_stride; in try_pbo_upload() local
182 &dst_x, &dst_y); in try_pbo_upload()
192 0, 0, dst_x, dst_y, image->Width, image->Height, in try_pbo_upload()
/external/opencv3/modules/cudawarping/src/cuda/
Dresize.cu59 const int dst_x = blockDim.x * blockIdx.x + threadIdx.x; in resize_nearest() local
62 if (dst_x < dst.cols && dst_y < dst.rows) in resize_nearest()
64 const float src_x = dst_x * fx; in resize_nearest()
67 dst(dst_y, dst_x) = src(__float2int_rz(src_y), __float2int_rz(src_x)); in resize_nearest()
75 const int dst_x = blockDim.x * blockIdx.x + threadIdx.x; in resize_linear() local
78 if (dst_x < dst.cols && dst_y < dst.rows) in resize_linear()
80 const float src_x = dst_x * fx; in resize_linear()
104 dst(dst_y, dst_x) = saturate_cast<T>(out); in resize_linear()
110 const int dst_x = blockDim.x * blockIdx.x + threadIdx.x; in resize() local
113 if (dst_x < dst.cols && dst_y < dst.rows) in resize()
[all …]
Dpyr_down.cu169 const int dst_x = (blockIdx.x * blockDim.x + tid2) / 2; in pyrDown() local
171 if (dst_x < dst_cols) in pyrDown()
172 dst.ptr(y)[dst_x] = saturate_cast<T>(sum); in pyrDown()
/external/opencv3/modules/imgproc/src/opencl/
Dpyr_down.cl221 const int dst_x = (get_group_id(0) * get_local_size(0) + tid2) / 2;
223 if (dst_x < dst_cols)
240 storepix(convertToT(sum), dstData + yin * dst_step + dst_x * PIXSIZE);
246 int dst_x = (get_group_id(0) * LOCAL_SIZE + tid4) / 2;
247 if (dst_x < dst_cols - 1)
257 storepix(convertToT(sum), dstData + mad24(yin, dst_step, dst_x * PIXSIZE));
259 dst_x ++;
265 storepix(convertToT(sum), dstData + mad24(yin, dst_step, dst_x * PIXSIZE));
266 dst_x --;
270 else if (dst_x < dst_cols)
[all …]
Dpyr_up.cl207 int dst_x = 2*get_global_id(0);
210 if ((dst_x < dst_cols) && (dst_y < dst_rows))
216 storepix(convertToT(sum), dstData + dst_y * dst_step + dst_x * PIXSIZE);
222 storepix(convertToT(sum), dstData + dst_y * dst_step + (dst_x+1) * PIXSIZE);
227 storepix(convertToT(sum), dstData + (dst_y+1) * dst_step + dst_x * PIXSIZE);
232 storepix(convertToT(sum), dstData + (dst_y+1) * dst_step + (dst_x+1) * PIXSIZE);
/external/libyuv/files/source/
Dplanar_functions.cc978 int dst_x, int dst_y, in ARGBRect() argument
983 dst_x < 0 || dst_y < 0) { in ARGBRect()
986 uint8* dst = dst_argb + dst_y * dst_stride_argb + dst_x * 4; in ARGBRect()
1119 int dst_x, int dst_y, in ARGBGray() argument
1121 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) { in ARGBGray()
1132 uint8* dst = dst_argb + dst_y * dst_stride_argb + dst_x * 4; in ARGBGray()
1143 int dst_x, int dst_y, int width, int height) { in ARGBSepia() argument
1144 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) { in ARGBSepia()
1154 uint8* dst = dst_argb + dst_y * dst_stride_argb + dst_x * 4; in ARGBSepia()
1166 int dst_x, int dst_y, int width, int height) { in ARGBColorMatrix() argument
[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
252 dst_x = 0; 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()
533 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_blend_test() local
545 dst_x = 0; in g2d_blend_test()
598 ret = g2d_solid_fill(ctx, &dst_img, dst_x, dst_y, img_w, img_h); in g2d_blend_test()
632 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_checkerboard_test() local
644 dst_x = 0; in g2d_checkerboard_test()
690 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_checkerboard_test()
/external/webrtc/webrtc/modules/desktop_capture/x11/
Dx_server_pixel_buffer.cc273 int dst_x = rect.left(), dst_y = rect.top(); in FastBlit() local
276 dst_pos += dst_x * DesktopFrame::kBytesPerPixel; in FastBlit()
291 int dst_x = rect.left(), dst_y = rect.top(); in SlowBlit() local
306 dst_pos += dst_x * DesktopFrame::kBytesPerPixel; in SlowBlit()
/external/libvpx/libvpx/third_party/libyuv/source/
Dplanar_functions.cc1185 int dst_x, int dst_y, in ARGBRect() argument
1192 dst_x < 0 || dst_y < 0) { in ARGBRect()
1200 dst_argb += dst_y * dst_stride_argb + dst_x * 4; in ARGBRect()
1400 int dst_x, int dst_y, in ARGBGray() argument
1405 uint8* dst = dst_argb + dst_y * dst_stride_argb + dst_x * 4; in ARGBGray()
1406 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) { in ARGBGray()
1435 int dst_x, int dst_y, int width, int height) { in ARGBSepia() argument
1438 uint8* dst = dst_argb + dst_y * dst_stride_argb + dst_x * 4; in ARGBSepia()
1439 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) { in ARGBSepia()
1513 int dst_x, int dst_y, int width, int height) { in RGBColorMatrix() argument
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dpyr_down.hpp178 const int dst_x = (blockIdx.x * blockDim.x + tid2) / 2; in pyrDown() local
180 if (dst_x < dst_cols) in pyrDown()
181 dst(y, dst_x) = saturate_cast<DstType>(sum); in pyrDown()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_yuv.c114 int dst_x, in xa_yuv_planar_blit() argument
150 (float)src_x + scale_x * (x - dst_x), in xa_yuv_planar_blit()

123