Home
last modified time | relevance | path

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

123456

/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()
DSkImage_GpuBase.h33 int srcX,
/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/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 …]
DSkImage.cpp51 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, in readPixels() argument
53 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()
DSkImage_Raster.cpp75 …bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const overri…
154 int srcX, int srcY, CachingHint) const { in onReadPixels() argument
156 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
/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
DTextureImpl.cpp50 GLint srcX, in copyRenderbufferSubData() argument
68 GLint srcX, in copyTextureSubData() argument
/third_party/mingw-w64/mingw-w64-headers/include/
Diimgctx.h67 …STDMETHOD(StretchBlt)(THIS_ HDC hdc,int dstX,int dstY,int dstXE,int dstYE,int srcX,int srcY,int sr… in DECLARE_INTERFACE_()
83 …This,hdc,dstX,dstY,dstXE,dstYE,srcX,srcY,srcXE,srcYE,dwROP) (This)->lpVtbl->StretchBlt(This,hdc,ds… argument
/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()
DRenderbuffer.h98 GLint srcX,
112 GLint srcX,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRenderbufferVk.h43 GLint srcX,
57 GLint srcX,
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()
/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/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/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/experimental/graphite/src/
DImage_Graphite.h24 int srcX, in onReadPixels() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DTextureNULL.h90 GLint srcX,
104 GLint srcX,

123456