/external/skia/src/core/ |
H A D | SkSpriteBlitterTemplate.h | 17 int srcY = y - fTop; local 19 const SkSPRITE_SRC_TYPE* SK_RESTRICT src = fSource.SkSPRITE_SRC_GETADDR(srcX, srcY); 24 SkDEBUGCODE((void)fSource.SkSPRITE_SRC_GETADDR(srcX + width - 1, srcY + height - 1);) 26 SkSPRITE_PREAMBLE(fSource, srcX, srcY);
|
H A D | SkImageCacherator.cpp | 169 int srcX, int srcY) { 173 if (srcX || srcY || genInfo.width() != info.width() || genInfo.height() != info.height()) { 168 directGeneratePixels(const SkImageInfo& info, void* pixels, size_t rb, int srcX, int srcY) argument
|
/external/skia/src/image/ |
H A D | SkImage_Generator.cpp | 29 bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, 52 int srcX, int srcY, CachingHint chint) const { 58 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); 63 if (fCache.directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) { 71 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); 51 onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int srcX, int srcY, CachingHint chint) const argument
|
H A D | SkSurface.cpp | 174 int srcX, int srcY) { 175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); 173 readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY) argument
|
H A D | SkImage_Raster.cpp | 89 bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const override; 169 int srcX, int srcY, CachingHint) const { 171 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); 168 onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint) const argument
|
H A D | SkImage.cpp | 56 int srcX, int srcY, CachingHint chint) const { 57 return as_IB(this)->onReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); 212 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { argument 213 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); 55 readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint chint) const argument
|
H A D | SkImage_Gpu.cpp | 180 int srcX, int srcY, CachingHint) const { 185 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, srcX, srcY); 179 onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int srcX, int srcY, CachingHint) const argument
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
H A D | TJCompressor.java | 158 srcY = y; 171 srcX = srcY = -1; 201 srcY = y; 346 if (srcX >= 0 && srcY >= 0) 347 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, 355 if (srcX >= 0 && srcY >= 0) 356 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, 434 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, 438 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, 648 private int srcY field in class:TJCompressor [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_copypix.c | 445 GLint srcX, GLint srcY, GLsizei width, GLsizei height, 497 srcY < 0 || srcY + height > (GLint) srcFb->Height || 523 srcMap = map + srcY * rowStride + srcX * pixelBytes; 527 if (srcY < dstY) { 542 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, 444 swrast_fast_copy_pixels(struct gl_context *ctx, GLint srcX, GLint srcY, GLsizei width, GLsizei height, GLint dstX, GLint dstY, GLenum type) argument
|
/external/skia/src/codec/ |
H A D | SkSampledCodec.cpp | 314 int srcY = this->codec()->nextScanline(); local 315 if (is_coord_necessary(srcY, sampleY, dstHeight)) { 317 rowBytes * get_dst_coord(srcY, sampleY)); 337 int srcY = this->codec()->outputScanline(y); local 338 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { 342 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY));
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_composite.c | 504 int srcX, int srcY, int maskX, int maskY, 512 int pos[6] = {srcX, srcY, maskX, maskY, dstX, dstY}; 503 xa_composite_rect(struct xa_context *ctx, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int width, int height) argument
|
H A D | xa_renderer.c | 187 float srcX, float srcY, float dstX, float dstY, 195 pt0[1] = srcY; 197 pt1[1] = srcY; 199 pt2[1] = (srcY + height); 201 pt3[1] = (srcY + height); 231 float srcX, float srcY, float maskX, float maskY, 243 spt0[1] = srcY; 245 spt1[1] = srcY + height; 289 float srcY, 301 spt0[1] = srcY; 186 add_vertex_data1(struct xa_context *r, float srcX, float srcY, float dstX, float dstY, float width, float height, struct pipe_resource *src, const float *src_matrix) argument 230 add_vertex_data2(struct xa_context *r, float srcX, float srcY, float maskX, float maskY, float dstX, float dstY, float width, float height, struct pipe_resource *src, struct pipe_resource *mask, const float *src_matrix, const float *mask_matrix) argument 287 setup_vertex_data_yuv(struct xa_context *r, float srcX, float srcY, float srcW, float srcH, float dstX, float dstY, float dstW, float dstH, struct xa_surface *srf[]) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_composite.c | 505 int srcX, int srcY, int maskX, int maskY, 513 int pos[6] = {srcX, srcY, maskX, maskY, dstX, dstY}; 503 xorg_composite(struct exa_context *exa, struct exa_pixmap_priv *dst, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int width, int height) argument
|
H A D | xorg_exa.c | 469 ExaCopy(PixmapPtr pDstPixmap, int srcX, int srcY, int dstX, int dstY, argument 478 srcX, srcY, dstX, dstY, width, height); 482 u_box_2d(srcX, srcY, width, height, &src_box); 489 (dstY + height) < srcY || dstY > (srcY + height))) { 506 srcX, srcY, 0, 686 ExaComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, argument 695 srcX, srcY, maskX, maskY, dstX, dstY, width, height); 699 xorg_composite(exa, priv, srcX, srcY, maskX, maskY,
|
H A D | xorg_renderer.c | 140 float srcX, float srcY, float dstX, float dstY, 148 pt0[1] = srcY; 150 pt1[1] = srcY; 152 pt2[1] = (srcY + height); 154 pt3[1] = (srcY + height); 210 float srcX, float srcY, float maskX, float maskY, 222 spt0[1] = srcY; 224 spt1[1] = srcY; 226 spt2[1] = (srcY + height); 228 spt3[1] = (srcY 139 add_vertex_data1(struct xorg_renderer *r, float srcX, float srcY, float dstX, float dstY, float width, float height, struct pipe_resource *src, float *src_matrix) argument 209 add_vertex_data2(struct xorg_renderer *r, float srcX, float srcY, float maskX, float maskY, float dstX, float dstY, float width, float height, struct pipe_resource *src, struct pipe_resource *mask, float *src_matrix, float *mask_matrix) argument 286 setup_vertex_data_yuv(struct xorg_renderer *r, float srcX, float srcY, float srcW, float srcH, float dstX, float dstY, float dstW, float dstH, struct pipe_resource **tex) argument [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | xm_dd.c | 387 const int srcY = clippedUnpack.SkipRows; local 405 + ((srcY + h - 1) * rowLength + srcX) * 4; 521 const int srcY = clippedUnpack.SkipRows; local 538 + ((srcY + h - 1) * rowLength + srcX) * 2;
|
/external/mesa3d/src/mesa/main/ |
H A D | image.c | 663 GLint *srcX, GLint *srcY, 687 if (*srcY < 0) { 688 pack->SkipRows += (0 - *srcY); 689 *height -= (0 - *srcY); 690 *srcY = 0; 693 if (*srcY + *height > (GLsizei) buffer->Height) 694 *height -= (*srcY + *height - buffer->Height); 714 GLint *srcX, GLint *srcY, 718 const GLint srcX0 = *srcX, srcY0 = *srcY; 721 srcX, srcY, widt 662 _mesa_clip_readpixels(const struct gl_context *ctx, GLint *srcX, GLint *srcY, GLsizei *width, GLsizei *height, struct gl_pixelstore_attrib *pack) argument 712 _mesa_clip_copytexsubimage(const struct gl_context *ctx, GLint *destX, GLint *destY, GLint *srcX, GLint *srcY, GLsizei *width, GLsizei *height) argument [all...] |
H A D | teximage.c | 3414 GLint srcX = x, srcY = y, dstX = 0, dstY = 0, dstZ = 0; local 3427 if (_mesa_clip_copytexsubimage(ctx, &dstX, &dstY, &srcX, &srcY, 3433 srcRb, srcX, srcY, width, height);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 1309 regions_overlap(GLint srcX, GLint srcY, GLint dstX, GLint dstY, argument 1314 srcY + height <= dstY || 1315 dstY + height <= srcY)
|
H A D | st_cb_texture.c | 711 * Note: srcY=0=TOP of renderbuffer 719 GLint srcX, GLint srcY, 732 srcY = strb->Base.Height - srcY - height; 740 srcX, srcY, 763 srcY = height - 1; 767 srcY = 0; 775 for (row = 0; row < height; row++, srcY += yStep) { 776 pipe_get_tile_z(pipe, src_trans, 0, srcY, width, 1, data); 912 * Note: srcY 714 fallback_copy_texsubimage(struct gl_context *ctx, struct st_renderbuffer *strb, struct st_texture_image *stImage, GLenum baseFormat, GLint destX, GLint destY, GLint destZ, GLint srcX, GLint srcY, GLsizei width, GLsizei height) argument 915 st_CopyTexSubImage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint destX, GLint destY, GLint destZ, struct gl_renderbuffer *rb, GLint srcX, GLint srcY, GLsizei width, GLsizei height) argument [all...] |
/external/skia/src/effects/ |
H A D | SkDisplacementMapEffect.cpp | 82 const int srcY = y + SkScalarTruncToInt(displY); local 83 *dstPtr++ = ((srcX < 0) || (srcX >= srcW) || (srcY < 0) || (srcY >= srcH)) ? 84 0 : *(src.getAddr32(srcX, srcY));
|
/external/skia/tests/ |
H A D | ImageTest.cpp | 64 const int srcY = subsetA ? subsetA->y() : 0; local 66 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY));
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga_reg.h | 790 * srcX, srcY, srcWidth and srcHeight represent subset of the source 804 uint32 srcY; member in struct:SVGAOverlayUnit 944 uint32 srcY; member in struct:__anon14841
|
/external/swiftshader/src/Renderer/ |
H A D | Surface.cpp | 3365 void Surface::copyInternal(const Surface* source, int x, int y, float srcX, float srcY, bool filter) argument 3373 color = source->internal.read((int)srcX, (int)srcY); 3377 color = source->internal.sample(srcX, srcY); 3383 void Surface::copyInternal(const Surface* source, int x, int y, int z, float srcX, float srcY, float srcZ, bool filter) argument 3391 color = source->internal.read((int)srcX, (int)srcY, int(srcZ)); 3395 color = source->internal.sample(srcX, srcY, srcZ);
|
/external/libvncserver/rfb/ |
H A D | rfbproto.h | 621 uint16_t srcY; member in struct:__anon11651
|