Searched refs:srcx (Results 1 - 25 of 46) sorted by relevance

12

/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_extend.h26 int srcx, int srch, int srcw);
H A Dvp9_extend.c158 int srcx, int srch, int srcw) {
161 const int el_y = srcx ? 0 : dst->border;
165 const int er_y = srcx + srcw != src->y_width
168 const int src_y_offset = srcy * src->y_stride + srcx;
169 const int dst_y_offset = srcy * dst->y_stride + srcx;
175 const int src_uv_offset = ((srcy * src->uv_stride) >> 1) + (srcx >> 1);
176 const int dst_uv_offset = ((srcy * dst->uv_stride) >> 1) + (srcx >> 1);
156 vp9_copy_and_extend_frame_with_rect(const YV12_BUFFER_CONFIG *src, YV12_BUFFER_CONFIG *dst, int srcy, int srcx, int srch, int srcw) argument
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_tiling.c43 for (unsigned srcx = 0; srcx < width; ++srcx) { \
44 unsigned dstx = basex + srcx; \
47 ((type *)src)[srcy * src_stride + srcx]; \
59 unsigned srcx = basex + dstx; \
61 ((type *)src)[sy + (srcx / TEX_TILE_WIDTH) * TEX_TILE_WORDS + \
62 (srcx % TEX_TILE_WIDTH)]; \
/external/libvpx/libvpx/vp8/common/
H A Dextend.h26 int srcx, int srch, int srcw);
H A Dextend.c93 int srcx, int srch, int srcw) {
98 int src_y_offset = srcy * src->y_stride + srcx;
99 int dst_y_offset = srcy * dst->y_stride + srcx;
100 int src_uv_offset = ((srcy * src->uv_stride) >> 1) + (srcx >> 1);
101 int dst_uv_offset = ((srcy * dst->uv_stride) >> 1) + (srcx >> 1);
105 if (srcx) el = 0;
107 if (srcx + srcw != src->y_width) er = 0;
91 vp8_copy_and_extend_frame_with_rect(YV12_BUFFER_CONFIG *src, YV12_BUFFER_CONFIG *dst, int srcy, int srcx, int srch, int srcw) argument
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_copy.c51 GLint srcx, GLint srcy,
157 srcx += dstx - orig_dstx;
161 orig_srcx = srcx;
165 &srcx, &srcy, &width, &height))
168 dstx += srcx - orig_srcx;
173 srcx, srcy, _mesa_is_winsys_fbo(read_fb),
196 GLint srcx, GLint srcy,
205 if (do_blit_copypixels(ctx, srcx, srcy, width, height, destx, desty, type))
209 _mesa_meta_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type);
50 do_blit_copypixels(struct gl_context * ctx, GLint srcx, GLint srcy, GLsizei width, GLsizei height, GLint dstx, GLint dsty, GLenum type) argument
195 intelCopyPixels(struct gl_context * ctx, GLint srcx, GLint srcy, GLsizei width, GLsizei height, GLint destx, GLint desty, GLenum type) argument
H A Dintel_pixel.h53 GLint srcx, GLint srcy,
H A Dintel_blit.h49 GLshort srcx, GLshort srcy,
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_copy.c48 GLint srcx, GLint srcy,
159 srcx += dstx - orig_dstx;
163 orig_srcx = srcx;
167 &srcx, &srcy, &width, &height))
170 dstx += srcx - orig_srcx;
175 srcx, srcy, _mesa_is_winsys_fbo(read_fb),
197 GLint srcx, GLint srcy,
206 if (do_blit_copypixels(ctx, srcx, srcy, width, height, destx, desty, type))
210 _mesa_meta_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type);
47 do_blit_copypixels(struct gl_context * ctx, GLint srcx, GLint srcy, GLsizei width, GLsizei height, GLint dstx, GLint dsty, GLenum type) argument
196 intelCopyPixels(struct gl_context * ctx, GLint srcx, GLint srcy, GLsizei width, GLsizei height, GLint destx, GLint desty, GLenum type) argument
H A Dintel_pixel.h51 GLint srcx, GLint srcy,
H A Dintel_blit.h44 GLshort srcx, GLshort srcy,
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_blit.h41 short srcx, short srcy,
/external/mesa3d/src/mesa/swrast/
H A Ds_copypix.c50 regions_overlap(GLint srcx, GLint srcy, argument
56 return _mesa_regions_overlap(srcx, srcy, srcx + width, srcy + height,
61 if (srcx > (dstx + ((zoomX > 0.0F) ? (width * zoomX + 1.0F) : 0.0F))) {
65 else if (srcx + width + 1.0F < dstx + ((zoomX > 0.0F) ? 0.0F : (width * zoomX))) {
88 copy_rgba_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, argument
104 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height,
140 width, srcx, sy + row, p );
164 width, srcx, sy, rgba );
232 copy_depth_pixels( struct gl_context *ctx, GLint srcx, GLin argument
334 copy_stencil_pixels( struct gl_context *ctx, GLint srcx, GLint srcy, GLint width, GLint height, GLint destx, GLint desty ) argument
612 _swrast_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy, GLsizei width, GLsizei height, GLint destx, GLint desty, GLenum type) argument
[all...]
H A Dswrast.h136 GLint srcx, GLint srcy,
/external/mesa3d/src/mesa/main/
H A Ddrawpix.h36 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
H A Ddrawpix.c191 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height, argument
201 srcx, srcy, width, height,
270 ctx->Driver.CopyPixels( ctx, srcx, srcy, width, height, destx, desty,
/external/mesa3d/src/gallium/drivers/radeon/
H A Dr600_test_dma.c315 int srcx, srcy, srcz, dstx, dsty, dstz; local
326 srcx = srcy = srcz = dstx = dsty = dstz = 0;
342 srcx = rand() % (tsrc.width0 - width + 1) & ~0x7;
354 srcx = rand() % (tsrc.width0 - width + 1);
365 srcx = 0;
372 u_box_3d(srcx, srcy, srcz, width, height, depth, &box);
385 srcx, srcy, srcz);
H A Dr600_buffer_common.c301 unsigned dstx, unsigned srcx, unsigned size)
303 bool dword_aligned = !(dstx % 4) && !(srcx % 4) && !(size % 4);
300 r600_can_dma_copy_buffer(struct r600_common_context *rctx, unsigned dstx, unsigned srcx, unsigned size) argument
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dcik_sdma.c176 unsigned srcx = src_box->x / rsrc->surface.blk_w; local
199 if (srcx >= (1 << 14) ||
226 (srcx + copy_width != (1 << 14) &&
237 radeon_emit(cs, srcx | (srcy << 16));
261 unsigned tiled_x = tiled == rsrc ? srcx : dstx;
262 unsigned linear_x = linear == rsrc ? srcx : dstx;
430 srcx % 8 == 0 &&
453 srcx + copy_width == src_width &&
482 (srcx + copy_width_aligned != (1 << 14) &&
493 radeon_emit(cs, srcx | (src
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_ioctl.h71 GLint srcx, GLint srcy,
/external/mesa3d/src/gallium/state_trackers/xvmc/
H A Dsurface.c350 short srcx, short srcy, unsigned short srcw, unsigned short srch,
365 struct u_rect src_rect = {srcx, srcx + srcw, srcy, srcy + srch};
384 assert(srcx + srcw - 1 < surface->width);
349 XvMCPutSurface(Display *dpy, XvMCSurface *surface, Drawable drawable, short srcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short desty, unsigned short destw, unsigned short desth, int flags) argument
H A Dsubpicture.c338 short srcx, short srcy, unsigned short width, unsigned short height,
370 upload_sampler(pipe, subpicture_priv->sampler, &dst_box, image->data, src_stride, srcx, srcy);
337 XvMCCompositeSubpicture(Display *dpy, XvMCSubpicture *subpicture, XvImage *image, short srcx, short srcy, unsigned short width, unsigned short height, short dstx, short dsty) argument
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_drawpixels.c1189 copy_stencil_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, argument
1212 _mesa_readpixels(ctx, srcx, srcy, width, height,
1297 blit_copy_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, argument
1333 readX = srcx;
1421 st_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy, argument
1447 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_STENCIL);
1448 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_DEPTH);
1454 copy_stencil_pixels(ctx, srcx, srcy, width, height, dstx, dsty);
1458 if (blit_copy_pixels(ctx, srcx, srcy, width, height, dstx, dsty, type))
1561 readX = srcx;
[all...]
/external/ImageMagick/MagickCore/
H A Daccelerate-kernels-private.h2958 int srcx = ix + j;
2959 srcx = (srcx < 0) ? -srcx : srcx;
2960 srcx = (srcx >= columns) ? (2 * columns - srcx - 1) : srcx;
2961 value += filter[i + j] * ReadFloat4(image, number_channels, columns, srcx, src
[all...]
/external/mesa3d/src/mesa/program/
H A Dprog_to_nir.c321 nir_ssa_def *srcx = ptn_channel(b, src[0], X); local
323 ptn_move_dest_masked(b, dest, nir_fexp2(b, nir_ffloor(b, srcx)), WRITEMASK_X);
324 ptn_move_dest_masked(b, dest, nir_fsub(b, srcx, nir_ffloor(b, srcx)), WRITEMASK_Y);
325 ptn_move_dest_masked(b, dest, nir_fexp2(b, srcx), WRITEMASK_Z);

Completed in 1789 milliseconds

12