Home
last modified time | relevance | path

Searched refs:srcY (Results 1 – 25 of 73) sorted by relevance

123

/external/skia/src/image/
DSkImage_Generator.cpp24 …bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const overri…
43 int srcX, int srcY, CachingHint chint) const { in onReadPixels() argument
47 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
52 if (fCache->directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) { in onReadPixels()
60 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
DSkImage.cpp52 int srcX, int srcY, CachingHint chint) const { in readPixels() argument
53 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels()
226 int srcX, int srcY, CachingHint) const { in onReadPixels() argument
237 canvas.drawImage(this, -SkIntToScalar(srcX), -SkIntToScalar(srcY), &paint); in onReadPixels()
257 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() argument
258 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
DSkImage_Raster.cpp69 …bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const overri…
138 int srcX, int srcY, CachingHint) const { in onReadPixels() argument
140 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
DSkSurface.cpp190 int srcX, int srcY) { in readPixels() argument
191 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels()
/external/skia/src/core/
DSkSpriteBlitterTemplate.h17 int srcY = y - fTop; in blitRect() local
19 const SkSPRITE_SRC_TYPE* SK_RESTRICT src = fSource.SkSPRITE_SRC_GETADDR(srcX, srcY); in blitRect()
24 SkDEBUGCODE((void)fSource.SkSPRITE_SRC_GETADDR(srcX + width - 1, srcY + height - 1);) in blitRect()
26 SkSPRITE_PREAMBLE(fSource, srcX, srcY); in blitRect()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_renderer.c140 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument
148 pt0[1] = srcY; in add_vertex_data1()
150 pt1[1] = srcY; in add_vertex_data1()
152 pt2[1] = (srcY + height); in add_vertex_data1()
154 pt3[1] = (srcY + height); in add_vertex_data1()
210 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument
222 spt0[1] = srcY; in add_vertex_data2()
224 spt1[1] = srcY; in add_vertex_data2()
226 spt2[1] = (srcY + height); in add_vertex_data2()
228 spt3[1] = (srcY + height); in add_vertex_data2()
[all …]
Dxorg_exa.c469 ExaCopy(PixmapPtr pDstPixmap, int srcX, int srcY, int dstX, int dstY, in ExaCopy() argument
478 srcX, srcY, dstX, dstY, width, height); in ExaCopy()
482 u_box_2d(srcX, srcY, width, height, &src_box); in ExaCopy()
489 (dstY + height) < srcY || dstY > (srcY + height))) { in ExaCopy()
506 srcX, srcY, 0, in ExaCopy()
686 ExaComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, in ExaComposite() argument
695 srcX, srcY, maskX, maskY, dstX, dstY, width, height); in ExaComposite()
699 xorg_composite(exa, priv, srcX, srcY, maskX, maskY, in ExaComposite()
Dxorg_composite.h22 int srcX, int srcY, int maskX, int maskY,
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java156 srcY = y; in setSourceImage()
169 srcX = srcY = -1; in setSourceImage()
199 srcY = y; in setSourceImage()
344 if (srcX >= 0 && srcY >= 0) in compress()
345 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress()
353 if (srcX >= 0 && srcY >= 0) in compress()
354 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress()
433 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV()
437 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV()
638 private int srcY = -1; field in TJCompressor
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DSortedSpriteTest.java48 public MySprite (Texture texture, int srcX, int srcY, int srcWidth, int srcHeight) { in MySprite() argument
49 super(texture, srcX, srcY, srcWidth, srcHeight); in MySprite()
60 public MySprite (TextureRegion region, int srcX, int srcY, int srcWidth, int srcHeight) { in MySprite() argument
61 super(region, srcX, srcY, srcWidth, srcHeight); in MySprite()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_renderer.c187 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument
195 pt0[1] = srcY; in add_vertex_data1()
197 pt1[1] = srcY; in add_vertex_data1()
199 pt2[1] = (srcY + height); in add_vertex_data1()
201 pt3[1] = (srcY + height); in add_vertex_data1()
231 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument
243 spt0[1] = srcY; in add_vertex_data2()
245 spt1[1] = srcY + height; in add_vertex_data2()
289 float srcY, in setup_vertex_data_yuv() argument
301 spt0[1] = srcY; in setup_vertex_data_yuv()
[all …]
/external/skia/src/codec/
DSkSampledCodec.cpp236 int srcY = this->codec()->nextScanline(); in sampledDecode() local
237 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
239 rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
259 int srcY = this->codec()->outputScanline(y); in sampledDecode() local
260 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
264 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
DSkCodec.cpp379 for (int srcY = linesDecoded; srcY < linesRequested; srcY++) { in fillIncompleteImage() local
380 fillDst = SkTAddOffset<void>(dst, this->outputScanline(srcY) * rowBytes); in fillIncompleteImage()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DBatch.java97 …float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, bool… in draw() argument
112 …public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY in draw() argument
123 …public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeig… in draw() argument
DGdx2DPixmap.java197 …public void drawPixmap (Gdx2DPixmap src, int srcX, int srcY, int dstX, int dstY, int width, int he… in drawPixmap() argument
198 drawPixmap(src.basePtr, basePtr, srcX, srcY, width, height, dstX, dstY, width, height); in drawPixmap()
201 …public void drawPixmap (Gdx2DPixmap src, int srcX, int srcY, int srcWidth, int srcHeight, int dstX… in drawPixmap() argument
203 …drawPixmap(src.basePtr, basePtr, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight); in drawPixmap()
350 …private static native void drawPixmap (long src, long dst, int srcX, int srcY, int srcWidth, int s… in drawPixmap() argument
DCpuSpriteBatch.java152 …float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, bool… in draw() argument
154 …super.draw(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, s… in draw()
157 …e, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeigh… in draw()
163 …public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY in draw() argument
166 super.draw(texture, x, y, width, height, srcX, srcY, srcWidth, srcHeight, flipX, flipY); in draw()
168 …drawAdjusted(texture, x, y, 0, 0, width, height, 1, 1, 0, srcX, srcY, srcWidth, srcHeight, flipX, … in draw()
173 …public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeig… in draw() argument
175 super.draw(texture, x, y, srcX, srcY, srcWidth, srcHeight); in draw()
177 drawAdjusted(texture, x, y, 0, 0, srcWidth, srcHeight, 1, 1, 0, srcX, srcY, srcWidth, srcHeight, in draw()
275 …float scaleX, float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boole… in drawAdjusted() argument
[all …]
DSpriteCache.java368 …public void add (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeigh… in add() argument
372 final float v = (srcY + srcHeight) * invTexHeight; in add()
374 final float v2 = srcY * invTexHeight; in add()
426 …public void add (Texture texture, float x, float y, float width, float height, int srcX, int srcY,… in add() argument
432 float v = (srcY + srcHeight) * invTexHeight; in add()
434 float v2 = srcY * invTexHeight; in add()
498 …float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, bool… in add() argument
577 float v = (srcY + srcHeight) * invTexHeight; in add()
579 float v2 = srcY * invTexHeight; in add()
DSpriteBatch.java230 …float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, bool… in draw() argument
315 float v = (srcY + srcHeight) * invTexHeight; in draw()
317 float v2 = srcY * invTexHeight; in draw()
360 …public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY in draw() argument
372 float v = (srcY + srcHeight) * invTexHeight; in draw()
374 float v2 = srcY * invTexHeight; in draw()
419 …public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeig… in draw() argument
430 final float v = (srcY + srcHeight) * invTexHeight; in draw()
432 final float v2 = srcY * invTexHeight; in draw()
/external/mesa3d/src/mesa/main/
Dimage.c663 GLint *srcX, GLint *srcY, in _mesa_clip_readpixels() argument
687 if (*srcY < 0) { in _mesa_clip_readpixels()
688 pack->SkipRows += (0 - *srcY); in _mesa_clip_readpixels()
689 *height -= (0 - *srcY); in _mesa_clip_readpixels()
690 *srcY = 0; in _mesa_clip_readpixels()
693 if (*srcY + *height > (GLsizei) buffer->Height) in _mesa_clip_readpixels()
694 *height -= (*srcY + *height - buffer->Height); in _mesa_clip_readpixels()
714 GLint *srcX, GLint *srcY, in _mesa_clip_copytexsubimage() argument
718 const GLint srcX0 = *srcX, srcY0 = *srcY; in _mesa_clip_copytexsubimage()
721 srcX, srcY, width, height)) { in _mesa_clip_copytexsubimage()
[all …]
Dimage.h112 GLint *srcX, GLint *srcY,
119 GLint *srcX, GLint *srcY,
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c719 GLint srcX, GLint srcY, in fallback_copy_texsubimage() argument
732 srcY = strb->Base.Height - srcY - height; in fallback_copy_texsubimage()
740 srcX, srcY, in fallback_copy_texsubimage()
763 srcY = height - 1; in fallback_copy_texsubimage()
767 srcY = 0; in fallback_copy_texsubimage()
775 for (row = 0; row < height; row++, srcY += yStep) { in fallback_copy_texsubimage()
776 pipe_get_tile_z(pipe, src_trans, 0, srcY, width, 1, data); in fallback_copy_texsubimage()
919 GLint srcX, GLint srcY, GLsizei width, GLsizei height) in st_CopyTexSubImage() argument
1002 u_box_2d_zslice(srcX, srcY, strb->surface->u.tex.first_layer, in st_CopyTexSubImage()
1050 srcY1 = strb->Base.Height - srcY - height; in st_CopyTexSubImage()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java313 for (int srcY = 0; srcY < srcData.height; srcY++) { in rotateOptimized()
315 int destX = srcY; in rotateOptimized()
318 int srcIndex = srcY * srcData.bytesPerLine + srcX * bytesPerPixel; in rotateOptimized()
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c445 GLint srcX, GLint srcY, GLsizei width, GLsizei height, in swrast_fast_copy_pixels() argument
497 srcY < 0 || srcY + height > (GLint) srcFb->Height || in swrast_fast_copy_pixels()
523 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels()
527 if (srcY < dstY) { in swrast_fast_copy_pixels()
542 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, in swrast_fast_copy_pixels()
/external/skia/include/core/
DSkImage.h246 int srcX, int srcY, CachingHint = kAllow_CachingHint) const;
248 bool readPixels(const SkPixmap& dst, int srcX, int srcY,
DSkPixmap.h152 int srcX, int srcY) const;
156 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument
157 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()

123