/third_party/mesa3d/src/mesa/main/ |
D | copyimage.c | 541 int srcX, int srcY, int srcZ, int srcLevel, in copy_image_subdata() argument 572 srcX, srcY, newSrcZ, in copy_image_subdata() 581 GLint srcX, GLint srcY, GLint srcZ, in _mesa_CopyImageSubData_no_error() argument 597 copy_image_subdata(ctx, srcTexImage, srcRenderbuffer, srcX, srcY, srcZ, in _mesa_CopyImageSubData_no_error() 604 GLint srcX, GLint srcY, GLint srcZ, in _mesa_CopyImageSubData() argument 624 srcX, srcY, srcZ, in _mesa_CopyImageSubData() 671 if ((srcX % src_bw != 0) || (srcY % src_bh != 0) || in _mesa_CopyImageSubData() 672 (srcWidth % src_bw != 0 && (srcX + srcWidth) != src_w) || in _mesa_CopyImageSubData() 705 srcX, srcY, srcZ, srcWidth, srcHeight, srcDepth, in _mesa_CopyImageSubData() 733 copy_image_subdata(ctx, srcTexImage, srcRenderbuffer, srcX, srcY, srcZ, in _mesa_CopyImageSubData() [all …]
|
D | copyimage.h | 40 GLint srcX, GLint srcY, GLint srcZ, 47 GLint srcX, GLint srcY, GLint srcZ, 54 GLint srcX, GLint srcY, GLint srcZ, 61 GLint srcX, GLint srcY, GLint srcZ,
|
D | image.c | 677 GLint *srcX, GLint *srcY, in _mesa_clip_readpixels() argument 700 if (*srcX < 0) { in _mesa_clip_readpixels() 701 pack->SkipPixels += (0 - *srcX); in _mesa_clip_readpixels() 702 *width -= (0 - *srcX); in _mesa_clip_readpixels() 703 *srcX = 0; in _mesa_clip_readpixels() 706 if (*srcX + *width > clip_width) in _mesa_clip_readpixels() 707 *width -= (*srcX + *width - clip_width); 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 …]
|
D | image.h | 114 GLint *srcX, GLint *srcY, 121 GLint *srcX, GLint *srcY,
|
/third_party/skia/src/image/ |
D | SkRescaleAndReadPixels.cpp | 67 int srcX = srcRect.fLeft; in SkRescaleAndReadPixels() local 83 linearSurf->getCanvas()->drawImage(bmp.asImage().get(), -srcX, -srcY, sampling, &paint); in SkRescaleAndReadPixels() 86 srcX = 0; in SkRescaleAndReadPixels() 125 srcImage.get(), SkRect::Make(SkIRect::MakeXYWH(srcX, srcY, srcW, srcH)), in SkRescaleAndReadPixels() 129 srcX = srcY = 0; in SkRescaleAndReadPixels() 138 if (srcImage->readPixels(nullptr, pm, srcX, srcY)) { in SkRescaleAndReadPixels()
|
D | SkSurface.cpp | 239 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() argument 240 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels() 244 int srcX, int srcY) { in readPixels() argument 245 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels() 248 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels() argument 250 return bitmap.peekPixels(&pm) && this->readPixels(pm, srcX, srcY); in readPixels()
|
D | SkImage.cpp | 61 size_t dstRowBytes, int srcX, int srcY, CachingHint chint) const { in readPixels() argument 62 return as_IB(this)->onReadPixels(dContext, dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels() 67 size_t dstRowBytes, int srcX, int srcY, CachingHint chint) const { in readPixels() argument 69 return this->readPixels(dContext, dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels() 455 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels() argument 457 return this->readPixels(dContext, pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, in readPixels() 462 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() argument 464 return this->readPixels(dContext, pmap, srcX, srcY, chint); in readPixels()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 158 srcX = x; in setSourceImage() 173 srcX = srcY = -1; in setSourceImage() 202 srcX = x; in setSourceImage() 348 if (srcX >= 0 && srcY >= 0) in compress() 349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress() 357 if (srcX >= 0 && srcY >= 0) in compress() 358 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress() 438 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV() 442 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV() 666 private int srcX = -1; field in TJCompressor
|
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 158 srcX = x; in setSourceImage() 173 srcX = srcY = -1; in setSourceImage() 202 srcX = x; in setSourceImage() 348 if (srcX >= 0 && srcY >= 0) in compress() 349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress() 357 if (srcX >= 0 && srcY >= 0) in compress() 358 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress() 445 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV() 449 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV() 673 private int srcX = -1; field in TJCompressor
|
/third_party/flutter/skia/src/image/ |
D | SkSurface.cpp | 129 int srcX = srcRect.fLeft; in onAsyncRescaleAndReadPixels() local 151 this->draw(linearSurf->getCanvas(), -srcX, -srcY, &paint); in onAsyncRescaleAndReadPixels() 153 srcX = 0; in onAsyncRescaleAndReadPixels() 189 src->makeImageSnapshot(), SkIRect::MakeXYWH(srcX, srcY, srcW, srcH), in onAsyncRescaleAndReadPixels() 192 srcX = srcY = 0; in onAsyncRescaleAndReadPixels() 200 if (src->readPixels(pm, srcX, srcY)) { in onAsyncRescaleAndReadPixels() 336 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() argument 337 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels() 341 int srcX, int srcY) { in readPixels() argument 342 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | common_func_fp32.c | 76 const float *srcX = S + x * unitStep; in WinogradTransLeft() local 80 const float *srcY = srcX + i * w * unitStep; in WinogradTransLeft() 103 const float *srcX = srcY + i * unitStep; in WinogradTransRight() local 109 dstX[j] += srcX[j] * b; in WinogradTransRight()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | RenderbufferImpl.h | 55 GLint srcX, 69 GLint srcX, 100 GLint srcX, in copyRenderbufferSubData() argument 118 GLint srcX, in copyTextureSubData() argument
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_renderer.c | 232 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument 238 compute_src_coords(srcX, srcY, src, src_matrix, width, height, in add_vertex_data1() 252 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument 261 compute_src_coords(srcX, srcY, src, src_matrix, width, height, in add_vertex_data2() 282 float srcX, in setup_vertex_data_yuv() argument 294 spt0[0] = srcX; in setup_vertex_data_yuv() 296 spt1[0] = srcX + srcW; in setup_vertex_data_yuv()
|
/third_party/flutter/skia/include/core/ |
D | SkPixmap.h | 597 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, 622 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument 623 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
|
D | SkSurface.h | 660 bool readPixels(const SkPixmap& dst, int srcX, int srcY); 692 int srcX, int srcY); 722 bool readPixels(const SkBitmap& dst, int srcX, int srcY);
|
/third_party/skia/include/core/ |
D | SkPixmap.h | 593 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, 618 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument 619 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
|
D | SkImage.h | 815 int srcX, int srcY, 851 int srcX, 858 int srcX, int srcY, CachingHint cachingHint = kAllow_CachingHint) const; 859 bool readPixels(const SkPixmap& dst, int srcX, int srcY,
|
D | SkSurface.h | 694 bool readPixels(const SkPixmap& dst, int srcX, int srcY); 726 int srcX, int srcY); 758 bool readPixels(const SkBitmap& dst, int srcX, int srcY);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Renderbuffer.cpp | 198 GLint srcX, in copyRenderbufferSubData() argument 209 ANGLE_TRY(mImplementation->copyRenderbufferSubData(context, srcBuffer, srcLevel, srcX, srcY, in copyRenderbufferSubData() 219 GLint srcX, in copyTextureSubData() argument 230 ANGLE_TRY(mImplementation->copyTextureSubData(context, srcTexture, srcLevel, srcX, srcY, srcZ, in copyTextureSubData()
|
/third_party/flutter/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 451 int srcX = srcRect.fLeft; in rescale() local 461 srcX = 0; in rescale() 502 srcX = 0; in rescale() 549 matrix.setScaleTranslate((float)srcW / nextW, (float)srcH / nextH, srcX, srcY); in rescale() 559 SkIRect::MakeXYWH(srcX, srcY, srcW, srcH), GrTextureDomain::kClamp_Mode); in rescale() 575 auto srcSubset = SkRect::MakeXYWH(srcX, srcY, srcW, srcH); in rescale() 581 srcX = srcY = 0; in rescale()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | RenderbufferVk.cpp | 197 GLint srcX, in copyRenderbufferSubData() argument 214 return vk::ImageHelper::CopyImageSubData(context, sourceVk->getImage(), srcLevel, srcX, srcY, in copyRenderbufferSubData() 222 GLint srcX, in copyTextureSubData() argument 240 return vk::ImageHelper::CopyImageSubData(context, &sourceVk->getImage(), srcLevel, srcX, srcY, in copyTextureSubData()
|
D | RenderbufferVk.h | 43 GLint srcX, 57 GLint srcX,
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_copypix.c | 436 GLint srcX, GLint srcY, GLsizei width, GLsizei height, in swrast_fast_copy_pixels() argument 485 if (srcX < 0 || srcX + width > (GLint) srcFb->Width || in swrast_fast_copy_pixels() 512 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels() 531 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, in swrast_fast_copy_pixels()
|
/third_party/flutter/skia/src/codec/ |
D | SkBmpStandardCodec.cpp | 330 int srcX = srcStartX; in decodeIcoMask() local 334 SkTDivMod(srcX, 8, "ient, &modulus); in decodeIcoMask() 338 srcX += sampleX; in decodeIcoMask()
|
/third_party/skia/src/codec/ |
D | SkBmpStandardCodec.cpp | 330 int srcX = srcStartX; in decodeIcoMask() local 334 SkTDivMod(srcX, 8, "ient, &modulus); in decodeIcoMask() 338 srcX += sampleX; in decodeIcoMask()
|