Home
last modified time | relevance | path

Searched refs:srcX (Results 1 – 25 of 58) 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()
DSkImage_Gpu.h45 int srcX, int srcY, CachingHint) const override;
/external/skia/src/core/
DSkSpriteBlitterTemplate.h16 int srcX = x - fLeft; 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
147 pt0[0] = srcX; in add_vertex_data1()
149 pt1[0] = (srcX + width); in add_vertex_data1()
151 pt2[0] = (srcX + width); in add_vertex_data1()
153 pt3[0] = srcX; in add_vertex_data1()
210 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument
221 spt0[0] = srcX; in add_vertex_data2()
223 spt1[0] = (srcX + width); in add_vertex_data2()
225 spt2[0] = (srcX + width); in add_vertex_data2()
227 spt3[0] = srcX; 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()
488 !((dstX + width) < srcX || dstX > (srcX + width) || 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.java155 srcX = x; in setSourceImage()
169 srcX = srcY = -1; in setSourceImage()
198 srcX = x; 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()
637 private int srcX = -1; field in TJCompressor
/external/clang/test/CodeGenCXX/
Dcopy-assign-synthesis.cpp69 X srcX; variable
74 dstY = dstX = srcX; in main()
75 srcX.pr(); in main()
Dcopy-assign-synthesis-1.cpp84 X srcX; variable
89 dstY = dstX = srcX; in main()
90 srcX.pr(); in main()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_renderer.c187 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument
194 pt0[0] = srcX; in add_vertex_data1()
196 pt1[0] = (srcX + width); in add_vertex_data1()
198 pt2[0] = (srcX + width); in add_vertex_data1()
200 pt3[0] = srcX; in add_vertex_data1()
231 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument
242 spt0[0] = srcX; in add_vertex_data2()
244 spt1[0] = srcX + width; in add_vertex_data2()
288 float srcX, in setup_vertex_data_yuv() argument
300 spt0[0] = srcX; in setup_vertex_data_yuv()
[all …]
Dxa_composite.h135 int srcX, int srcY, int maskX, int maskY,
/external/mesa3d/src/mesa/main/
Dimage.c663 GLint *srcX, GLint *srcY, in _mesa_clip_readpixels() argument
674 if (*srcX < 0) { in _mesa_clip_readpixels()
675 pack->SkipPixels += (0 - *srcX); in _mesa_clip_readpixels()
676 *width -= (0 - *srcX); in _mesa_clip_readpixels()
677 *srcX = 0; in _mesa_clip_readpixels()
680 if (*srcX + *width > (GLsizei) buffer->Width) in _mesa_clip_readpixels()
681 *width -= (*srcX + *width - buffer->Width); 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/opencv3/modules/imgproc/src/opencl/
Dfilter2D.cl188 int srcX = srcOffsetX + x;
194 if (srcX >= srcBeginX && srcX < srcEndX)
199 … data[sy + sy_index] = convertToWT(loadpix(srcptr + mad24(srcY, src_step, srcX * SRCSIZE)));
212 EXTRAPOLATE(srcX, srcBeginX, srcEndX);
217 data[sy + sy_index] = convertToWT(loadpix(srcptr + mad24(tempY, src_step, srcX * SRCSIZE)));
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java314 for (int srcX = 0; srcX < srcData.width; srcX++) { in rotateOptimized()
316 int destY = srcData.width - srcX - 1; in rotateOptimized()
318 int srcIndex = srcY * srcData.bytesPerLine + srcX * bytesPerPixel; in rotateOptimized()
/external/skia/src/codec/
DSkBmpStandardCodec.cpp309 int srcX = srcStartX; in decodeIcoMask() local
313 SkTDivMod(srcX, 8, &quotient, &modulus); in decodeIcoMask()
317 srcX += sampleX; in decodeIcoMask()
/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()
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c445 GLint srcX, GLint srcY, GLsizei width, GLsizei height, in swrast_fast_copy_pixels() argument
496 if (srcX < 0 || srcX + width > (GLint) srcFb->Width || in swrast_fast_copy_pixels()
523 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels()
542 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, in swrast_fast_copy_pixels()
/external/skia/src/utils/
DSkNinePatch.cpp257 const int32_t srcX[4] = { in drawNineViaRects() local
292 s.fLeft = srcX[x]; in drawNineViaRects()
293 s.fRight = srcX[x+1]; in drawNineViaRects()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h803 uint32 srcX; member
943 uint32 srcX; member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c719 GLint srcX, GLint srcY, in fallback_copy_texsubimage() argument
740 srcX, srcY, 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()
1075 srcX, srcY0, in st_CopyTexSubImage()
1076 srcX + width, srcY1, in st_CopyTexSubImage()
1098 srcX, srcY, width, height); in st_CopyTexSubImage()

123