Home
last modified time | relevance | path

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

123

/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/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/mesa3d/src/gallium/state_trackers/xa/
Dxa_renderer.c200 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument
208 pt0[1] = srcY; in add_vertex_data1()
210 pt1[1] = srcY; in add_vertex_data1()
212 pt2[1] = (srcY + height); in add_vertex_data1()
214 pt3[1] = (srcY + height); in add_vertex_data1()
244 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument
256 spt0[1] = srcY; in add_vertex_data2()
258 spt1[1] = srcY + height; in add_vertex_data2()
302 float srcY, in setup_vertex_data_yuv() argument
314 spt0[1] = srcY; in setup_vertex_data_yuv()
[all …]
Dxa_composite.h135 int srcX, int srcY, int maskX, int maskY,
Dxa_composite.c510 int srcX, int srcY, int maskX, int maskY, in xa_composite_rect() argument
518 int pos[6] = {srcX, srcY, maskX, maskY, dstX, dstY}; in xa_composite_rect()
/external/skia/include/core/
DSkPixmap.h179 int srcX, int srcY, SkTransferFunctionBehavior behavior) const;
184 int srcY) const { in readPixels() argument
185 return this->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, in readPixels()
188 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument
189 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
DSkBitmap.h615 int srcX, int srcY, SkTransferFunctionBehavior behavior) const;
617 int srcX, int srcY) const { in readPixels() argument
618 return this->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, in readPixels()
621 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const;
DSkImage.h347 int srcX, int srcY, CachingHint = kAllow_CachingHint) const;
349 bool readPixels(const SkPixmap& dst, int srcX, int srcY,
/external/mesa3d/src/mesa/main/
Dcopyimage.c455 GLint srcX, GLint srcY, GLint srcZ, in _mesa_CopyImageSubData() argument
476 srcX, srcY, srcZ, in _mesa_CopyImageSubData()
521 if ((srcX % src_bw != 0) || (srcY % src_bh != 0) || in _mesa_CopyImageSubData()
523 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubData()
555 srcX, srcY, srcZ, srcWidth, srcHeight, srcDepth, in _mesa_CopyImageSubData()
608 srcX, srcY, newSrcZ, in _mesa_CopyImageSubData()
Dimage.c677 GLint *srcX, GLint *srcY, in _mesa_clip_readpixels() argument
713 if (*srcY < 0) { in _mesa_clip_readpixels()
714 pack->SkipRows += (0 - *srcY); in _mesa_clip_readpixels()
715 *height -= (0 - *srcY); in _mesa_clip_readpixels()
716 *srcY = 0; in _mesa_clip_readpixels()
719 if (*srcY + *height > clip_height) in _mesa_clip_readpixels()
720 *height -= (*srcY + *height - clip_height); in _mesa_clip_readpixels()
740 GLint *srcX, GLint *srcY, in _mesa_clip_copytexsubimage() argument
744 const GLint srcX0 = *srcX, srcY0 = *srcY; in _mesa_clip_copytexsubimage()
747 srcX, srcY, width, height)) { in _mesa_clip_copytexsubimage()
[all …]
Dimage.h115 GLint *srcX, GLint *srcY,
122 GLint *srcX, GLint *srcY,
Dcopyimage.h40 GLint srcX, GLint srcY, GLint srcZ,
/external/skia/src/codec/
DSkSampledCodec.cpp312 int srcY = this->codec()->nextScanline(); in sampledDecode() local
313 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
315 rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
335 int srcY = this->codec()->outputScanline(y); in sampledDecode() local
336 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
340 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
/external/skia/src/image/
DSkImage_Lazy.cpp78 bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY,
103 int srcX, int srcY, SkTransferFunctionBehavior behavior) const;
427 int srcX, int srcY, in directGeneratePixels() argument
432 if (srcX || srcY || genInfo.width() != info.width() || genInfo.height() != info.height()) { in directGeneratePixels()
540 int srcX, int srcY, CachingHint chint) const { in onReadPixels() argument
548 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
553 if (this->directGeneratePixels(genPixelsInfo, dstPixels, dstRB, srcX, srcY, behavior)) { in onReadPixels()
561 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
DSkImage.cpp54 int srcX, int srcY, CachingHint chint) const { in readPixels() argument
55 return as_IB(this)->onReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels()
216 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() argument
217 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
DSkImage_Raster.cpp85 …bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const overri…
157 int srcX, int srcY, CachingHint) const { in onReadPixels() argument
159 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
DSkSurface.cpp174 int srcX, int srcY) { in readPixels() argument
175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels()
DSkImage_Gpu.h56 int srcX, int srcY, CachingHint) const override;
DSkImage_Base.h45 int srcX, int srcY, CachingHint) const = 0;
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c436 GLint srcX, GLint srcY, GLsizei width, GLsizei height, in swrast_fast_copy_pixels() argument
486 srcY < 0 || srcY + height > (GLint) srcFb->Height || in swrast_fast_copy_pixels()
512 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels()
516 if (srcY < dstY) { in swrast_fast_copy_pixels()
531 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, in swrast_fast_copy_pixels()
Dswrast.h145 GLint srcX, GLint srcY, GLsizei width, GLsizei height,
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h1137 uint32 srcY; member
1354 uint32 srcY; member
1377 uint32 srcY; member
/external/skia/src/effects/
DSkDisplacementMapEffect.cpp91 const int srcY = y + SkScalarTruncToInt(displY); in computeDisplacement() local
92 *dstPtr++ = ((srcX < 0) || (srcX >= srcW) || (srcY < 0) || (srcY >= srcH)) ? in computeDisplacement()
93 0 : *(src.getAddr32(srcX, srcY)); in computeDisplacement()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c2124 GLint srcX, GLint srcY, in fallback_copy_texsubimage() argument
2142 srcY = strb->Base.Height - srcY - height; in fallback_copy_texsubimage()
2150 srcX, srcY, in fallback_copy_texsubimage()
2174 srcY = height - 1; in fallback_copy_texsubimage()
2178 srcY = 0; in fallback_copy_texsubimage()
2186 for (row = 0; row < height; row++, srcY += yStep) { in fallback_copy_texsubimage()
2187 pipe_get_tile_z(src_trans, map, 0, srcY, width, 1, data); in fallback_copy_texsubimage()
2276 GLint srcX, GLint srcY, GLsizei width, GLsizei height) in st_CopyTexSubImage() argument
2337 srcY1 = strb->Base.Height - srcY - height; in st_CopyTexSubImage()
2341 srcY0 = srcY; in st_CopyTexSubImage()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c385 const int srcY = clippedUnpack.SkipRows; in xmesa_DrawPixels_8R8G8B() local
403 + ((srcY + h - 1) * rowLength + srcX) * 4; in xmesa_DrawPixels_8R8G8B()
517 const int srcY = clippedUnpack.SkipRows; in xmesa_DrawPixels_5R6G5B() local
534 + ((srcY + h - 1) * rowLength + srcX) * 2; in xmesa_DrawPixels_5R6G5B()

123