Home
last modified time | relevance | path

Searched refs:srcX (Results 1 – 25 of 179) sorted by relevance

12345678

/third_party/mesa3d/src/mesa/main/
Dcopyimage.c541 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 …]
Dcopyimage.h40 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,
Dimage.c677 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 …]
Dimage.h114 GLint *srcX, GLint *srcY,
121 GLint *srcX, GLint *srcY,
/third_party/skia/src/image/
DSkRescaleAndReadPixels.cpp67 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()
DSkSurface.cpp239 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()
DSkImage.cpp61 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/
DTJCompressor.java158 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/
DTJCompressor.java158 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/
DSkSurface.cpp129 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/
Dcommon_func_fp32.c76 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/
DRenderbufferImpl.h55 GLint srcX,
69 GLint srcX,
100 GLint srcX, in copyRenderbufferSubData() argument
118 GLint srcX, in copyTextureSubData() argument
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_renderer.c232 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/
DSkPixmap.h597 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()
DSkSurface.h660 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/
DSkPixmap.h593 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()
DSkImage.h815 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,
DSkSurface.h694 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/
DRenderbuffer.cpp198 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/
DGrSurfaceContext.cpp451 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/
DRenderbufferVk.cpp197 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()
DRenderbufferVk.h43 GLint srcX,
57 GLint srcX,
/third_party/mesa3d/src/mesa/swrast/
Ds_copypix.c436 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/
DSkBmpStandardCodec.cpp330 int srcX = srcStartX; in decodeIcoMask() local
334 SkTDivMod(srcX, 8, &quotient, &modulus); in decodeIcoMask()
338 srcX += sampleX; in decodeIcoMask()
/third_party/skia/src/codec/
DSkBmpStandardCodec.cpp330 int srcX = srcStartX; in decodeIcoMask() local
334 SkTDivMod(srcX, 8, &quotient, &modulus); in decodeIcoMask()
338 srcX += sampleX; in decodeIcoMask()

12345678