/external/skia/src/core/ |
D | SkConvertPixels.cpp | 55 void swizzle_and_multiply(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in swizzle_and_multiply() argument 84 proc((uint32_t*) dstPixels, srcPixels, dstInfo.width()); in swizzle_and_multiply() 85 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_and_multiply() 121 static inline void apply_color_xform(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in apply_color_xform() argument 155 SkAssertResult(xform->apply(dstFormat, dstPixels, srcFormat, srcPixels, dstInfo.width(), in apply_color_xform() 157 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in apply_color_xform() 164 void do_index8(const SkImageInfo& dstInfo, T* dstPixels, size_t dstRB, in do_index8() argument 177 dstPixels[x] = dstCTable[srcPixels[x]]; in do_index8() 179 dstPixels = SkTAddOffset<T>(dstPixels, dstRB); in do_index8() 184 void convert_from_index8(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in convert_from_index8() argument [all …]
|
D | SkConvertPixels.h | 16 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
D | SkBitmap.cpp | 507 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels() argument 513 return src.readPixels(requestedDstInfo, dstPixels, dstRB, x, y, behavior); in readPixels() 531 void* dstPixels = this->getAddr(rec.fX, rec.fY); in writePixels() local 533 SkConvertPixels(dstInfo, dstPixels, this->rowBytes(), rec.fInfo, rec.fPixels, rec.fRowBytes, in writePixels()
|
D | SkPixmap.cpp | 75 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int x, int y, in readPixels() argument 81 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, x, y); in readPixels()
|
D | SkBitmapDevice.cpp | 167 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels() argument 169 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y); in onReadPixels()
|
/external/skia/tests/ |
D | ColorSpaceXformTest.cpp | 81 uint32_t dstPixels[width]; in test_identity_xform() local 85 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels, in test_identity_xform() 94 SkGetPackedB32(dstPixels[i]))); in test_identity_xform() 96 SkGetPackedG32(dstPixels[i]))); in test_identity_xform() 98 SkGetPackedR32(dstPixels[i]))); in test_identity_xform() 100 SkGetPackedA32(dstPixels[i]))); in test_identity_xform() 117 uint32_t dstPixels[width]; in test_identity_xform_A2B() local 121 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels, in test_identity_xform_A2B() 130 SkGetPackedB32(dstPixels[i]), tol)); in test_identity_xform_A2B() 132 SkGetPackedG32(dstPixels[i]), tol)); in test_identity_xform_A2B() [all …]
|
D | CopySurfaceTest.cpp | 37 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 39 dstPixels.get()[i] = ~i; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 85 dstPixels.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 158 uint32_t d = dstPixels.get()[y * kW + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BitmapCopyTest.cpp | 169 SkPMColor dstPixels[16]; in DEF_TEST() local 187 clear_4x4_pixels(dstPixels); in DEF_TEST() 191 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, in DEF_TEST() 202 SkPMColor dstC = dstPixels[y*4+x]; in DEF_TEST()
|
D | ReadPixelsTest.cpp | 547 uint64_t dstPixels[kNumPixels]; in test_conversion() local 548 SkPixmap dstPixmap(dstInfo, dstPixels, dstInfo.minRowBytes()); in test_conversion() 561 REPORTER_ASSERT(r, 0 == memcmp(dstPixels, five_reference_pixels(dstInfo.colorType()), in test_conversion()
|
/external/skia/include/core/ |
D | SkPixmap.h | 178 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 180 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() argument 181 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels() 183 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, in readPixels() argument 185 return this->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, in readPixels()
|
D | SkBitmap.h | 614 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 616 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() argument 618 return this->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, in readPixels()
|
D | SkSurface.h | 326 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
D | SkImage.h | 346 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skia/gm/ |
D | encode-alpha-jpeg.cpp | 16 static inline void read_into_pixmap(SkPixmap* dst, SkImageInfo dstInfo, void* dstPixels, in read_into_pixmap() argument 18 dst->reset(dstInfo, dstPixels, dstInfo.minRowBytes()); in read_into_pixmap()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 925 uint8_t* dstPixels = SkMask::AllocImage(dstSize); in BlurGroundTruth() local 926 SkAutoTCallVProc<uint8_t, SkMask_FreeImage> autoCall(dstPixels); in BlurGroundTruth() 980 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth() 986 dst->fImage = dstPixels; in BlurGroundTruth() 998 dstPixels + pad*dst->fRowBytes + pad, in BlurGroundTruth() 1000 SkMask::FreeImage(dstPixels); in BlurGroundTruth() 1002 clamp_with_orig(dstPixels + pad*dst->fRowBytes + pad, in BlurGroundTruth()
|
D | SkRRectsGaussianEdgeMaskFilter.cpp | 160 uint8_t* dstPixels = dst->fImage = SkMask::AllocImage(dstSize); in filterMask() local 166 uint8_t* dstRow = dstPixels + y*dst->fRowBytes; in filterMask()
|
/external/skia/include/utils/mac/ |
D | SkCGUtils.h | 47 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* dstPixels,
|
/external/skia/src/image/ |
D | SkImage_Lazy.cpp | 102 bool directGeneratePixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, 539 bool SkImage_Lazy::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in onReadPixels() argument 548 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels() 553 if (this->directGeneratePixels(genPixelsInfo, dstPixels, dstRB, srcX, srcY, behavior)) { in onReadPixels() 561 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
|
D | SkSurface.cpp | 173 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() argument 175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels()
|
D | SkImage_Gpu.h | 55 bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
|
D | SkImage_Base.h | 44 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
D | SkImage_Raster.cpp | 156 bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels() argument 159 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
|
D | SkImage.cpp | 53 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() argument 55 return as_IB(this)->onReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels()
|
D | SkImage_Gpu.cpp | 187 bool SkImage_Gpu::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in onReadPixels() argument 193 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 197 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels() argument 205 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, x, y); in onReadPixels()
|