Searched refs:srcInfo (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/third_party/skia/src/core/ |
D | SkConfig8888.cpp | 141 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 …]
|
D | SkDevice.cpp | 157 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()
|
D | SkBitmapDevice.cpp | 150 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()
|
D | SkConfig8888.h | 19 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes,
|
D | SkBitmap.cpp | 879 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/ |
D | SkBitmapDevice.cpp | 172 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 …]
|
D | SkDevice.cpp | 87 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/ |
D | CtBehavior.java | 44 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/ |
D | AttributeInfo.java | 173 byte[] srcInfo = info; in copy() 176 newInfo[i] = srcInfo[i]; in copy()
|
/external/chromium_org/third_party/skia/tests/ |
D | BitmapCopyTest.cpp | 585 const SkImageInfo srcInfo = SkImageInfo::MakeN32Premul(W, H); in DEF_TEST() local 589 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()
|