Home
last modified time | relevance | path

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

123

/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/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()
DSkImageCacherator.h91 int srcX, int srcY);
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java158 srcY = y; in setSourceImage()
171 srcX = srcY = -1; in setSourceImage()
201 srcY = y; in setSourceImage()
346 if (srcX >= 0 && srcY >= 0) in compress()
347 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress()
355 if (srcX >= 0 && srcY >= 0) in compress()
356 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress()
434 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV()
438 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV()
648 private int srcY = -1; field in TJCompressor
/external/skia/src/image/
DSkImage_Generator.cpp29 bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY,
52 int srcX, int srcY, CachingHint chint) const { in onReadPixels() argument
58 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
63 if (fCache.directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) { in onReadPixels()
71 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
DSkImage.cpp56 int srcX, int srcY, CachingHint chint) const { in readPixels() argument
57 return as_IB(this)->onReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels()
212 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() argument
213 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
DSkSurface.cpp174 int srcX, int srcY) { in readPixels() argument
175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels()
DSkImage_Raster.cpp89 …bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const overri…
169 int srcX, int srcY, CachingHint) const { in onReadPixels() argument
171 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
DSkImage_Gpu.h60 int srcX, int srcY, CachingHint) const override;
DSkImage_Base.h48 int srcX, int srcY, CachingHint) const = 0;
/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 …]
Dxa_composite.h135 int srcX, int srcY, int maskX, int maskY,
/external/skia/src/codec/
DSkSampledCodec.cpp314 int srcY = this->codec()->nextScanline(); in sampledDecode() local
315 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
317 rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
337 int srcY = this->codec()->outputScanline(y); in sampledDecode() local
338 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
342 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
/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/
DSkPixmap.h186 int srcX, int srcY) const;
190 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument
191 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
DSkImage.h263 int srcX, int srcY, CachingHint = kAllow_CachingHint) const;
265 bool readPixels(const SkPixmap& dst, int srcX, int srcY,
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h804 uint32 srcY; member
944 uint32 srcY; member
/external/skia/src/effects/
DSkDisplacementMapEffect.cpp82 const int srcY = y + SkScalarTruncToInt(displY); in computeDisplacement() local
83 *dstPtr++ = ((srcX < 0) || (srcX >= srcW) || (srcY < 0) || (srcY >= srcH)) ? in computeDisplacement()
84 0 : *(src.getAddr32(srcX, srcY)); in computeDisplacement()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c387 const int srcY = clippedUnpack.SkipRows; in xmesa_DrawPixels_8R8G8B() local
405 + ((srcY + h - 1) * rowLength + srcX) * 4; in xmesa_DrawPixels_8R8G8B()
521 const int srcY = clippedUnpack.SkipRows; in xmesa_DrawPixels_5R6G5B() local
538 + ((srcY + h - 1) * rowLength + srcX) * 2; in xmesa_DrawPixels_5R6G5B()

123