Searched defs:srcX (Results 1 - 25 of 47) sorted by relevance

12

/external/clang/test/CodeGenCXX/
H A Dcopy-assign-synthesis.cpp69 X srcX; variable
74 dstY = dstX = srcX;
75 srcX.pr();
H A Dcopy-assign-synthesis-1.cpp84 X srcX; variable
89 dstY = dstX = srcX;
90 srcX.pr();
/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/skia/src/core/
H A DSkSpriteBlitterTemplate.h16 int srcX = x - fLeft; 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.cpp113 int srcX, int srcY) {
117 if (srcX || srcY || genInfo.width() != info.width() || genInfo.height() != info.height()) {
112 directGeneratePixels(const SkImageInfo& info, void* pixels, size_t rb, int srcX, int srcY) argument
/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_Gpu.cpp111 int srcX, int srcY, CachingHint) const {
119 if (!fTexture->readPixels(srcX, srcY, info.width(), info.height(), config,
110 onReadPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, int srcX, int srcY, CachingHint) const argument
H A DSkImage_Raster.cpp69 bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const override;
138 int srcX, int srcY, CachingHint) const {
140 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
137 onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint) const argument
H A DSkSurface.cpp190 int srcX, int srcY) {
191 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
189 readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY) 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
/external/libgdx/gdx/jni/
H A Dcom.badlogic.gdx.graphics.g2d.Gdx2DPixmap.cpp150 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_drawPixmap(JNIEnv* env, jclass clazz, jlong src, jlong dst, jint srcX, jint srcY, jint srcWidth, jint srcHeight, jint dstX, jint dstY, jint dstWidth, jint dstHeight) { argument
155 gdx2d_draw_pixmap((gdx2d_pixmap*)src, (gdx2d_pixmap*)dst, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
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, 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...]
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
90 * @param srcX the x-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
106 * @param srcX the x-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.
119 * @param srcX the x-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 DSpriteCache.java368 public void add (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight) { argument
371 final float u = srcX * invTexWidth;
373 final float u2 = (srcX + srcWidth) * invTexWidth;
426 public void add (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, argument
431 float u = srcX * invTexWidth;
433 float u2 = (srcX + srcWidth) * invTexWidth;
498 float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY) {
576 float u = srcX * invTexWidth;
578 float u2 = (srcX + srcWidth) * invTexWidth;
497 add(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 DPolygonSpriteBatch.java364 float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY) {
459 float u = srcX * invTexWidth;
461 float u2 = (srcX + srcWidth) * invTexWidth;
505 public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, argument
527 float u = srcX * invTexWidth;
529 float u2 = (srcX + srcWidth) * invTexWidth;
575 public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight) { argument
596 final float u = srcX * invTexWidth;
598 final float u2 = (srcX + srcWidth) * invTexWidth;
363 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 DSprite.java70 public Sprite (Texture texture, int srcX, int srcY, int srcWidth, int srcHeight) { argument
73 setRegion(srcX, srcY, srcWidth, srcHeight);
93 public Sprite (TextureRegion region, int srcX, int srcY, int srcWidth, int srcHeight) { argument
94 setRegion(region, srcX, srcY, srcWidth, srcHeight);
H A DSpriteBatch.java230 float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY) {
314 float u = srcX * invTexWidth;
316 float u2 = (srcX + srcWidth) * invTexWidth;
360 public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, argument
371 float u = srcX * invTexWidth;
373 float u2 = (srcX + srcWidth) * invTexWidth;
419 public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight) { argument
429 final float u = srcX * invTexWidth;
431 final float u2 = (srcX + srcWidth) * invTexWidth;
229 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
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
H A DTJCompressor.java155 srcX = x;
169 srcX = srcY = -1;
198 srcX = x;
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,
637 private int srcX field in class:TJCompressor
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_copypix.c445 GLint srcX, GLint srcY, GLsizei width, GLsizei height,
496 if (srcX < 0 || srcX + width > (GLint) srcFb->Width ||
523 srcMap = map + srcY * rowStride + srcX * pixelBytes;
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/include/core/
H A DSkPixmap.h152 int srcX, int srcY) const;
156 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { argument
157 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY);
/external/skia/src/codec/
H A DSkBmpStandardCodec.cpp309 int srcX = srcStartX; local
313 SkTDivMod(srcX, 8, &quotient, &modulus);
317 srcX += sampleX;
/external/skia/src/utils/
H A DSkNinePatch.cpp257 const int32_t srcX[4] = { local
292 s.fLeft = srcX[x];
293 s.fRight = srcX[x+1];
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_composite.c504 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
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/
H A DPixmap.java472 private void image (CanvasElement image, int srcX, int srcY, int srcWidth, int srcHeight, int dstX, int dstY, int dstWidth, int dstHeight) { argument
485 context.drawImage(image, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);

Completed in 1202 milliseconds

12