Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkConfig8888.cpp143 const SkImageInfo& srcInfo) { in copy_32_to_g8() argument
147 const int w = srcInfo.width(); in copy_32_to_g8()
148 const int h = srcInfo.height(); in copy_32_to_g8()
149 const bool isBGRA = (kBGRA_8888_SkColorType == srcInfo.colorType()); in copy_32_to_g8()
171 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in CopyPixels() argument
173 if (srcInfo.dimensions() != dstInfo.dimensions()) { in CopyPixels()
177 const int width = srcInfo.width(); in CopyPixels()
178 const int height = srcInfo.height(); in CopyPixels()
181 if ((srcInfo == dstInfo) && !ctable) { in CopyPixels()
182 size_t bytes = width * srcInfo.bytesPerPixel(); in CopyPixels()
[all …]
DSkBitmapDevice.cpp161 bool SkBitmapDevice::onWritePixels(const SkImageInfo& srcInfo, const void* srcPixels, in onWritePixels() argument
168 const SkImageInfo dstInfo = fBitmap.info().makeWH(srcInfo.width(), srcInfo.height()); in onWritePixels()
173 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) { in onWritePixels()
DSkConfig8888.h21 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes,
DSkDevice.cpp229 const SkImageInfo& srcInfo = this->imageInfo(); in readPixels() local
230 SkASSERT(x + info.width() <= srcInfo.width()); in readPixels()
231 SkASSERT(y + info.height() <= srcInfo.height()); in readPixels()
DSkPixmap.cpp106 const SkImageInfo srcInfo = this->info().makeWH(dstInfo.width(), dstInfo.height()); in readPixels() local
109 srcInfo, srcPixels, this->rowBytes(), this->ctable()); in readPixels()
/external/skia/src/codec/
DSkMaskSwizzler.cpp229 const SkImageInfo& srcInfo, SkMasks* masks, uint32_t bitsPerPixel, in CreateMaskSwizzler() argument
238 if (kOpaque_SkAlphaType == srcInfo.alphaType()) { in CreateMaskSwizzler()
263 if (kOpaque_SkAlphaType == srcInfo.alphaType()) { in CreateMaskSwizzler()
288 if (kOpaque_SkAlphaType == srcInfo.alphaType()) { in CreateMaskSwizzler()
DSkBmpMaskCodec.h31 SkBmpMaskCodec(const SkImageInfo& srcInfo, SkStream* stream,
DSkPngCodec.cpp543 SkPngScanlineDecoder(const SkImageInfo& srcInfo, SkStream* stream, in SkPngScanlineDecoder() argument
545 : INHERITED(srcInfo, stream, chunkReader, png_ptr, info_ptr, bitDepth, 1) in SkPngScanlineDecoder()
608 SkPngInterlacedScanlineDecoder(const SkImageInfo& srcInfo, SkStream* stream, in SkPngInterlacedScanlineDecoder() argument
611 : INHERITED(srcInfo, stream, chunkReader, png_ptr, info_ptr, bitDepth, numberPasses) in SkPngInterlacedScanlineDecoder()
DSkMaskSwizzler.h29 const SkImageInfo& srcInfo,
DSkIcoCodec.h74 SkIcoCodec(const SkImageInfo& srcInfo, SkTArray<SkAutoTDelete<SkCodec>, true>* embeddedCodecs);
DSkBmpStandardCodec.h40 SkBmpStandardCodec(const SkImageInfo& srcInfo, SkStream* stream,
DSkJpegCodec.h93 SkJpegCodec(const SkImageInfo& srcInfo, SkStream* stream, JpegDecoderMgr* decoderMgr);
DSkBmpRLECodec.h38 SkBmpRLECodec(const SkImageInfo& srcInfo, SkStream* stream,
DSkGifCodec.h191 SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType* gif, uint32_t transIndex,
DSkGifCodec.cpp242 SkGifCodec::SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType* gif, in SkGifCodec() argument
244 : INHERITED(srcInfo, stream) in SkGifCodec()
DSkJpegCodec.cpp78 SkJpegCodec::SkJpegCodec(const SkImageInfo& srcInfo, SkStream* stream, in SkJpegCodec() argument
80 : INHERITED(srcInfo, stream) in SkJpegCodec()
/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/skia/tests/
DBitmapCopyTest.cpp580 const SkImageInfo srcInfo = SkImageInfo::MakeN32Premul(W, H); in DEF_TEST() local
584 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()
DImageTest.cpp245 const SkImageInfo srcInfo = SkImageInfo::Make(2, 2, kIndex_8_SkColorType, kPremul_SkAlphaType); in DEF_TEST() local
248 SkAutoTUnref<SkImage> image(SkImage::NewRasterCopy(srcInfo, indices, srcRowBytes, ctable)); in DEF_TEST()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp1872 void generateCopies (vector<Copy>& copies, const ImageInfo& srcInfo, const ImageInfo& dstInfo) in generateCopies() argument
1874 const deUint32 srcTarget = srcInfo.getTarget(); in generateCopies()
1877 const bool srcIsTexture = isTextureTarget(srcInfo.getTarget()); in generateCopies()
1883 const IVec3 srcBlockPixelSize = getTexelBlockPixelSize(srcInfo.getFormat()); in generateCopies()
1893 …l = (srcIsTexture ? (levels[levelNdx] >= 0 ? levels[levelNdx] : getLastFullLevel(srcInfo)) : 0); in generateCopies()
1896 const IVec3 srcSize = getLevelSize(srcInfo.getTarget(), srcInfo.getSize(), srcLevel); in generateCopies()