Home
last modified time | relevance | path

Searched refs:srcInfo (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
DSkConfig8888.cpp141 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in CopyPixels() argument
143 if (srcInfo.dimensions() != dstInfo.dimensions()) { in CopyPixels()
147 const int width = srcInfo.width(); in CopyPixels()
148 const int height = srcInfo.height(); in CopyPixels()
151 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { in CopyPixels()
159 srcPI.fColorType = srcInfo.colorType(); in CopyPixels()
160 srcPI.fAlphaType = srcInfo.alphaType(); in CopyPixels()
169 if (srcInfo.colorType() == dstInfo.colorType()) { in CopyPixels()
170 switch (srcInfo.colorType()) { in CopyPixels()
176 if (srcInfo.alphaType() != dstInfo.alphaType()) { in CopyPixels()
[all …]
DSkDevice.cpp157 const SkImageInfo& srcInfo = this->imageInfo(); in readPixels() local
158 SkASSERT(x + info.width() <= srcInfo.width()); in readPixels()
159 SkASSERT(y + info.height() <= srcInfo.height()); in readPixels()
DSkBitmapDevice.cpp150 bool SkBitmapDevice::onWritePixels(const SkImageInfo& srcInfo, const void* srcPixels, in onWritePixels() argument
157 const SkImageInfo dstInfo = fBitmap.info().makeWH(srcInfo.width(), srcInfo.height()); in onWritePixels()
162 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) { in onWritePixels()
DSkConfig8888.h19 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes,
DSkBitmap.cpp879 const SkImageInfo srcInfo = this->info().makeWH(dstInfo.width(), dstInfo.height()); in readPixels() local
882 return SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, this->rowBytes(), in readPixels()
/external/skia/src/core/
DSkBitmapDevice.cpp172 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes) { in copy_pixels() argument
173 if (srcInfo.dimensions() != dstInfo.dimensions()) { in copy_pixels()
176 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { in copy_pixels()
184 srcPI.fColorType = srcInfo.colorType(); in copy_pixels()
185 srcPI.fAlphaType = srcInfo.alphaType(); in copy_pixels()
189 return srcPI.convertPixelsTo(&dstPI, srcInfo.width(), srcInfo.height()); in copy_pixels()
191 if (srcInfo.colorType() == dstInfo.colorType()) { in copy_pixels()
192 switch (srcInfo.colorType()) { in copy_pixels()
197 if (srcInfo.alphaType() != dstInfo.alphaType()) { in copy_pixels()
205 srcInfo.width() * srcInfo.bytesPerPixel(), srcInfo.height()); in copy_pixels()
[all …]
DSkDevice.cpp87 const SkImageInfo& srcInfo = this->imageInfo(); in readPixels() local
88 SkASSERT(x + info.width() <= srcInfo.width()); in readPixels()
89 SkASSERT(y + info.height() <= srcInfo.height()); in readPixels()
/external/javassist/src/main/javassist/
DCtBehavior.java44 MethodInfo srcInfo = src.methodInfo; in copy() local
66 methodInfo = new MethodInfo(cp, srcInfo.getName(), srcInfo, map); in copy()
415 static void setBody0(CtClass srcClass, MethodInfo srcInfo, in setBody0() argument
425 CodeAttribute cattr = srcInfo.getCodeAttribute(); in setBody0()
/external/javassist/src/main/javassist/bytecode/
DAttributeInfo.java173 byte[] srcInfo = info; in copy()
176 newInfo[i] = srcInfo[i]; in copy()
/external/chromium_org/third_party/skia/tests/
DBitmapCopyTest.cpp585 const SkImageInfo srcInfo = SkImageInfo::MakeN32Premul(W, H); in DEF_TEST() local
589 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()