Searched refs:dstX (Results 1 - 25 of 56) sorted by relevance

123

/external/clang/test/CodeGenCXX/
H A Dcopy-assign-synthesis.cpp70 X dstX; variable
74 dstY = dstX = srcX;
76 dstX.pr();
H A Dcopy-assign-synthesis-1.cpp85 X dstX; variable
89 dstY = dstX = srcX;
91 dstX.pr();
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_renderer.c200 float srcX, float srcY, float dstX, float dstY,
233 add_vertex_1tex(r, dstX, dstY, s0, t0);
235 add_vertex_1tex(r, dstX + width, dstY, s1, t1);
237 add_vertex_1tex(r, dstX + width, dstY + height, s2, t2);
239 add_vertex_1tex(r, dstX, dstY + height, s3, t3);
245 float dstX, float dstY, float width, float height,
286 add_vertex_2tex(r, dstX, dstY,
289 add_vertex_2tex(r, dstX + width, dstY,
292 add_vertex_2tex(r, dstX + width, dstY + height,
295 add_vertex_2tex(r, dstX, dst
199 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
243 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
300 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.h136 int dstX, int dstY, int width, int height);
H A Dxa_composite.c511 int dstX, int dstY, int width, int height)
514 renderer_solid(ctx, dstX, dstY, dstX + width, dstY + height,
518 int pos[6] = {srcX, srcY, maskX, maskY, dstX, dstY};
522 xa_scissor_update(ctx, dstX, dstY, dstX + width, dstY + height);
509 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/skia/src/codec/
H A DSkBmpRLECodec.cpp176 const int dstX = get_dst_coord(x, fSampleX); local
181 dstRow[dstX] = fColorTable->operator[](index);
186 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index));
210 const int dstX = get_dst_coord(x, fSampleX); local
214 dstRow[dstX] = SkPackARGB_as_RGBA(0xFF, red, green, blue);
219 dstRow[dstX] = SkPackARGB_as_BGRA(0xFF, red, green, blue);
224 dstRow[dstX] = SkPack888ToRGB16(red, green, blue);
H A DSkBmpStandardCodec.cpp319 for (int dstX = 0; dstX < sampledWidth; dstX++) {
325 applyMask(dstRow, dstX, alphaBit);
H A DSkWebpCodec.cpp452 int dstX = frameRect.x(); local
466 int minXOffset = SkTMin(dstX, subset.x());
468 dstX -= minXOffset;
503 dstX = scaleX * dstX;
589 config.output.u.RGBA.rgba = reinterpret_cast<uint8_t*>(webpDst.getAddr(dstX, dstY));
621 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY);
/external/skqp/src/codec/
H A DSkBmpRLECodec.cpp176 const int dstX = get_dst_coord(x, fSampleX); local
181 dstRow[dstX] = fColorTable->operator[](index);
186 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index));
210 const int dstX = get_dst_coord(x, fSampleX); local
214 dstRow[dstX] = SkPackARGB_as_RGBA(0xFF, red, green, blue);
219 dstRow[dstX] = SkPackARGB_as_BGRA(0xFF, red, green, blue);
224 dstRow[dstX] = SkPack888ToRGB16(red, green, blue);
H A DSkBmpStandardCodec.cpp319 for (int dstX = 0; dstX < sampledWidth; dstX++) {
325 applyMask(dstRow, dstX, alphaBit);
H A DSkWebpCodec.cpp452 int dstX = frameRect.x(); local
466 int minXOffset = SkTMin(dstX, subset.x());
468 dstX -= minXOffset;
503 dstX = scaleX * dstX;
589 config.output.u.RGBA.rgba = reinterpret_cast<uint8_t*>(webpDst.getAddr(dstX, dstY));
621 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY);
/external/mesa3d/src/mesa/main/
H A Dcopyimage.c457 GLint dstX, GLint dstY, GLint dstZ,
478 dstX, dstY, dstZ,
530 if ((dstX % dst_bw != 0) || (dstY % dst_bh != 0)) {
560 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth,
610 dstX, dstY, newDstZ,
454 _mesa_CopyImageSubData(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) argument
/external/skia/include/core/
H A DSkSurface.h664 Destination SkRect corners are (dstX, dstY) and (dstX + Surface width(), dstY + Surface height()).
669 @param dstX x position relative to SkSurface to begin copy; may be negative
672 void writePixels(const SkPixmap& src, int dstX, int dstY);
677 Destination SkRect corners are (dstX, dstY) and (dstX + Surface width(), dstY + Surface height()).
682 @param dstX x position relative to SkSurface to begin copy; may be negative
685 void writePixels(const SkBitmap& src, int dstX, int dstY);
H A DSkBitmap.h1038 /** Copies a SkRect of pixels from src. Copy starts at (dstX, dstY), and does not exceed
1055 dstX and dstY may be negative to copy only top or left of source. Returns
1057 Returns false if abs(dstX) >= Bitmap width(), or if abs(dstY) >= Bitmap height().
1060 @param dstX column index whose absolute value is less than width()
1064 bool writePixels(const SkPixmap& src, int dstX, int dstY) { argument
1065 return this->writePixels(src, dstX, dstY, SkTransferFunctionBehavior::kRespect);
/external/skia/tests/
H A DBitmapCopyTest.cpp197 const int dstX = gRec[i].fExpectedDstLoc.x();
204 int sx = x - dstX + srcR.x();
/external/skqp/tests/
H A DBitmapCopyTest.cpp197 const int dstX = gRec[i].fExpectedDstLoc.x();
204 int sx = x - dstX + srcR.x();
/external/mesa3d/src/mesa/swrast/
H A Ds_copypix.c437 GLint dstX, GLint dstY, GLenum type)
487 dstX < dstFb->_Xmin || dstX + width > dstFb->_Xmax ||
513 dstMap = map + dstY * rowStride + dstX * pixelBytes;
538 ctx->Driver.MapRenderbuffer(ctx, dstRb, dstX, dstY,
433 swrast_fast_copy_pixels(struct gl_context *ctx, struct gl_framebuffer *srcFb, struct gl_framebuffer *dstFb, GLint srcX, GLint srcY, GLsizei width, GLsizei height, GLint dstX, GLint dstY, GLenum type) argument
H A Dswrast.h146 GLint dstX, GLint dstY, GLenum type);
/external/skia/src/pdf/
H A DSkPDFUtils.cpp77 SkScalar dstX, SkScalar dstY, SkWStream* content) {
83 if (ctl2X != dstX || ctl2Y != dstY) {
90 SkPDFUtils::AppendScalar(dstX, content);
75 AppendCubic(SkScalar ctl1X, SkScalar ctl1Y, SkScalar ctl2X, SkScalar ctl2Y, SkScalar dstX, SkScalar dstY, SkWStream* content) argument
H A DSkPDFUtils.h55 SkScalar dstX, SkScalar dstY, SkWStream* content);
/external/skqp/src/pdf/
H A DSkPDFUtils.cpp77 SkScalar dstX, SkScalar dstY, SkWStream* content) {
83 if (ctl2X != dstX || ctl2Y != dstY) {
90 SkPDFUtils::AppendScalar(dstX, content);
75 AppendCubic(SkScalar ctl1X, SkScalar ctl1Y, SkScalar ctl2X, SkScalar ctl2Y, SkScalar dstX, SkScalar dstY, SkWStream* content) argument
H A DSkPDFUtils.h55 SkScalar dstX, SkScalar dstY, SkWStream* content);
/external/skqp/include/core/
H A DSkBitmap.h1048 /** Copies a SkRect of pixels from src. Copy starts at (dstX, dstY), and does not exceed
1065 dstX and dstY may be negative to copy only top or left of source. Returns
1067 Returns false if abs(dstX) >= this->width(), or if abs(dstY) >= this->height().
1070 @param dstX column index whose absolute value is less than width()
1074 bool writePixels(const SkPixmap& src, int dstX, int dstY) { argument
1075 return this->writePixels(src, dstX, dstY, SkTransferFunctionBehavior::kRespect);
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_dd.c349 int dstX = x; local
377 if (_mesa_clip_drawpixels(ctx, &dstX, &dstY, &w, &h, &clippedUnpack)) {
414 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h);
481 int dstX = x; local
509 if (_mesa_clip_drawpixels(ctx, &dstX, &dstY, &w, &h, &clippedUnpack)) {
545 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h);
/external/swiftshader/src/OpenGL/libGLESv2/
H A DDevice.cpp400 byte *dstX = destBuffer; local
401 for(unsigned int x = 0; x < width; ++x, dstX += bytes, srcX -= bytes)
403 memcpy(dstX, srcX, bytes);
412 byte *dstX = destBuffer; local
413 for(unsigned int x = 0; x < width; ++x, dstX += bytes, srcX -= bytes)
415 memcpy(dstX, srcX, bytes);

Completed in 123 milliseconds

123