Searched refs:srcY (Results 1 - 25 of 82) sorted by relevance

1234

/external/skia/src/core/
H A DSkSpriteBlitterTemplate.h17 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 DSkImageCacherator.h67 int srcX, int srcY);
/external/skia/src/image/
H A DSkImage_Generator.cpp24 bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const override;
43 int srcX, int srcY, CachingHint chint) const {
47 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY);
52 if (fCache->directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) {
60 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY);
42 onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int srcX, int srcY, CachingHint chint) const argument
H A DSkImage.cpp52 int srcX, int srcY, CachingHint chint) const {
53 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
226 int srcX, int srcY, CachingHint) const {
237 canvas.drawImage(this, -SkIntToScalar(srcX), -SkIntToScalar(srcY), &paint);
257 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { argument
258 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint);
51 readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint chint) const argument
225 onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint) const argument
H A DSkImage_Base.h33 int srcX, int srcY, CachingHint) const;
H A DSkImage_Gpu.h45 int srcX, int srcY, CachingHint) const override;
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DSortedSpriteTest.java48 public MySprite (Texture texture, int srcX, int srcY, int srcWidth, int srcHeight) { argument
49 super(texture, srcX, srcY, srcWidth, srcHeight);
60 public MySprite (TextureRegion region, int srcX, int srcY, int srcWidth, int srcHeight) { argument
61 super(region, srcX, srcY, srcWidth, srcHeight);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
H A DBatch.java79 * portion of the {@link Texture} given by srcX, srcY and srcWidth, srcHeight is used. These coordinates and sizes are given in
91 * @param srcY the y-coordinate in texel space
97 float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY);
100 * {@link Texture} given by srcX, srcY and srcWidth, srcHeight is used. These coordinates and sizes are given in texels. FlipX
107 * @param srcY the y-coordinate in texel space
112 public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, argument
116 * {@link Texture} given by srcX, srcY and srcWidth, srcHeight are used. These coordinates and sizes are given in texels.
120 * @param srcY the y-coordinate in texel space
123 public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight); argument
96 draw(Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY) argument
H A DGdx2DPixmap.java197 public void drawPixmap (Gdx2DPixmap src, int srcX, int srcY, int dstX, int dstY, int width, int height) { argument
198 drawPixmap(src.basePtr, basePtr, srcX, srcY, width, height, dstX, dstY, width, height);
201 public void drawPixmap (Gdx2DPixmap src, int srcX, int srcY, int srcWidth, int srcHeight, int dstX, int dstY, int dstWidth, argument
203 drawPixmap(src.basePtr, basePtr, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
350 private static native void drawPixmap (long src, long dst, int srcX, int srcY, int srcWidth, int srcHeight, int dstX, argument
352 gdx2d_draw_pixmap((gdx2d_pixmap*)src, (gdx2d_pixmap*)dst, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
H A DCpuSpriteBatch.java152 float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY) {
154 super.draw(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeight,
157 drawAdjusted(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeight,
163 public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, argument
166 super.draw(texture, x, y, width, height, srcX, srcY, srcWidth, srcHeight, flipX, flipY);
168 drawAdjusted(texture, x, y, 0, 0, width, height, 1, 1, 0, srcX, srcY, srcWidth, srcHeight, flipX, flipY);
173 public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight) { argument
175 super.draw(texture, x, y, srcX, srcY, srcWidth, srcHeight);
177 drawAdjusted(texture, x, y, 0, 0, srcWidth, srcHeight, 1, 1, 0, srcX, srcY, srcWidth, srcHeight,
275 float scaleX, float scaleY, float rotation, int srcX, int srcY, in
151 draw(Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY) argument
274 drawAdjusted(Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_composite.h22 int srcX, int srcY, int maskX, int maskY,
H A Dxorg_renderer.c140 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/opencv3/modules/imgproc/src/opencl/
H A Dfilter2D.cl189 int srcY = srcOffsetY + y - ANCHOR_Y;
196 for (int sy = 0, sy_index = 0; sy < KERNEL_SIZE_Y; sy++, srcY++)
198 if (srcY >= srcBeginY && srcY < srcEndY)
199 data[sy + sy_index] = convertToWT(loadpix(srcptr + mad24(srcY, src_step, srcX * SRCSIZE)));
206 for (int sy = 0, sy_index = 0; sy < KERNEL_SIZE_Y; sy++, srcY++)
213 for (int sy = 0, sy_index = 0; sy < KERNEL_SIZE_Y; sy++, srcY++)
215 int tempY = srcY;
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
H A DTJCompressor.java156 srcY = y;
169 srcX = srcY = -1;
199 srcY = y;
344 if (srcX >= 0 && srcY >= 0)
345 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch,
353 if (srcX >= 0 && srcY >= 0)
354 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride,
433 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight,
437 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight,
638 private int srcY field in class:TJCompressor
[all...]
/external/skia/src/codec/
H A DSkSampledCodec.cpp236 int srcY = this->codec()->nextScanline(); local
237 if (is_coord_necessary(srcY, sampleY, dstHeight)) {
239 rowBytes * get_dst_coord(srcY, sampleY));
259 int srcY = this->codec()->outputScanline(y); local
260 if (!is_coord_necessary(srcY, sampleY, dstHeight)) {
264 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY));
H A DSkCodec.cpp379 for (int srcY = linesDecoded; srcY < linesRequested; srcY++) {
380 fillDst = SkTAddOffset<void>(dst, this->outputScanline(srcY) * rowBytes);
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_renderer.c187 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...]
H A Dxa_composite.h135 int srcX, int srcY, int maskX, int maskY,
/external/skia/src/images/
H A DSkScaledBitmapSampler.h63 bool sampleInterlaced(const uint8_t* SK_RESTRICT src, int srcY);
/external/mesa3d/src/mesa/main/
H A Dimage.h112 GLint *srcX, GLint *srcY,
119 GLint *srcX, GLint *srcY,
H A Dimage.c663 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...]
/external/skia/include/core/
H A DSkImage.h230 * starting at the specified (srcX,srcY) location.
232 * The specified ImageInfo and (srcX,srcY) offset specifies a source rectangle
234 * srcR.setXYWH(srcX, srcY, dstInfo.width(), dstInfo.height());
246 int srcX, int srcY, CachingHint = kAllow_CachingHint) const;
248 bool readPixels(const SkPixmap& dst, int srcX, int srcY,
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DDrawUtils.java313 for (int srcY = 0; srcY < srcData.height; srcY++) {
315 int destX = srcY;
318 int srcIndex = srcY * srcData.bytesPerLine + srcX * bytesPerPixel;
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_texture.c711 * 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/mesa3d/src/mesa/swrast/
H A Ds_copypix.c445 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

Completed in 2285 milliseconds

1234