HomeSort by relevance Sort by last modified time
    Searched refs:SkImageInfo (Results 176 - 200 of 329) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/skia/tests/
IndexedPngOverflowTest.cpp 11 #include "SkImageInfo.h"
36 SkAutoTUnref<SkSurface> surface(SkSurface::NewRaster(SkImageInfo::MakeN32Premul(20, 1)));
DrawBitmapRectTest.cpp 24 FailurePixelRef(const SkImageInfo& info) : SkPixelRef(info) {}
39 const SkImageInfo info = SkImageInfo::MakeN32Premul(100, 100);
CodexTest.cpp 54 * Test decoding an SkCodec to a particular SkImageInfo.
60 static void test_info(skiatest::Reporter* r, Codec* codec, const SkImageInfo& info,
87 static void test_codec(skiatest::Reporter* r, Codec* codec, SkBitmap& bm, const SkImageInfo& info,
105 SkImageInfo info565 = info.makeColorType(kRGB_565_SkColorType);
183 const SkImageInfo info = codec->getInfo().makeColorType(kN32_SkColorType);
271 SkImageInfo subsetInfo = info.makeWH(subset.width(), subset.height());
432 const SkImageInfo info = codec->getInfo().makeColorType(kN32_SkColorType);
558 SkImageInfo scaledInfo = codec->getInfo()
680 const SkImageInfo bmInfo = SkImageInfo::Make(w, h, kRGBA_8888_SkColorType
    [all...]
ImageFilterTest.cpp 410 const SkImageInfo info = SkImageInfo::MakeN32Premul(100, 100);
668 const SkImageInfo info = SkImageInfo::MakeN32Premul(100, 100);
    [all...]
SkResourceCacheTest.cpp 21 static void make_bitmap(SkBitmap* bitmap, const SkImageInfo& info, SkBitmap::Allocator* allocator) {
49 make_bitmap(&cachedBitmap, SkImageInfo::MakeN32Premul(5, 5), allocator);
204 make_bitmap(&cachedBitmap, SkImageInfo::Make(5, 5, testType, kPremul_SkAlphaType),
233 make_bitmap(&cachedBitmap, SkImageInfo::Make(5, 5, testType, kPremul_SkAlphaType),
  /external/skia/gm/
xfermodes3.cpp 128 SkImageInfo baseInfo = baseCanvas->imageInfo();
129 SkImageInfo info = SkImageInfo::Make(w, h, baseInfo.colorType(), baseInfo.alphaType(),
bitmappremul.cpp 26 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct,
bitmapshader.cpp 31 bm->allocPixels(SkImageInfo::MakeA8(20, 20));
  /external/skia/src/gpu/
GrSurface.cpp 119 SkImageInfo GrSurface::info(SkAlphaType alphaType) const {
125 return SkImageInfo::Make(this->width(), this->height(), colorType, alphaType,
133 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(this->width(), this->height()))) {
  /external/skia/src/image/
SkSurface_Gpu.cpp 71 SkSurface* SkSurface_Gpu::onNewSurface(const SkImageInfo& info) {
99 const SkImageInfo info = fDevice->imageInfo();
144 SkSurface* SkSurface::NewRenderTarget(GrContext* ctx, SkBudgeted budgeted, const SkImageInfo& info,
SkImage_Gpu.cpp 46 static SkImageInfo make_info(int w, int h, bool isOpaque) {
47 return SkImageInfo::MakeN32(w, h, isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
89 static void apply_premul(const SkImageInfo& info, void* pixels, size_t rowBytes) {
110 bool SkImage_Gpu::onReadPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
  /external/skia/src/utils/mac/
SkCreateCGImageRef.cpp 247 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* pixels,
284 SkImageInfo info = SkImageInfo::MakeN32Premul(width, height);
  /external/skia/src/views/
SkWindow.cpp 57 void SkWindow::resize(const SkImageInfo& info) {
70 const SkImageInfo& info = fBitmap.info();
71 this->resize(SkImageInfo::Make(info.width(), info.height(), ct, kPremul_SkAlphaType, pt));
  /frameworks/base/core/jni/android/graphics/
Bitmap.cpp 7 #include "SkImageInfo.h"
39 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
53 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) {
76 SkImageInfo* myInfo = const_cast<SkImageInfo*>(&this->info());
131 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
143 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
155 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
222 const SkImageInfo& Bitmap::info() const {
253 void Bitmap::reconfigure(const SkImageInfo& info, size_t rowBytes
    [all...]
BitmapFactory.cpp 174 const SkImageInfo& info = bitmap->info();
388 const SkImageInfo decodeInfo = SkImageInfo::Make(size.width(), size.height(), decodeColorType,
390 SkImageInfo bitmapInfo = decodeInfo;
396 bitmapInfo = SkImageInfo::MakeA8(size.width(), size.height());
401 // SkAndroidCodec should recommend a valid SkImageInfo, so setInfo()
483 outputBitmap.setInfo(SkImageInfo::Make(scaledWidth, scaledHeight,
  /external/skia/src/codec/
SkSampledCodec.cpp 73 SkCodec::Result SkSampledCodec::onGetAndroidPixels(const SkImageInfo& info, void* pixels,
138 SkCodec::Result SkSampledCodec::sampledDecode(const SkImageInfo& info, void* pixels,
257 const SkImageInfo fillInfo = info.makeWH(info.width(), 1);
  /external/skia/src/core/
SkConfig8888.cpp 143 const SkImageInfo& srcInfo) {
170 bool SkPixelInfo::CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
171 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB,
SkSpanProcs.cpp 49 SkLoadSpanProc SkLoadSpanProc_Choose(const SkImageInfo& info) {
  /external/skia/bench/
BitmapRectBench.cpp 58 fBitmap.setInfo(SkImageInfo::MakeN32Premul(kWidth, kHeight));
PDFBench.cpp 53 pixmap.alloc(SkImageInfo::MakeN32Premul(img->dimensions()));
  /external/skia/cmake/
example.cpp 58 SkImageInfo::MakeN32Premul(w,h)));
  /external/skia/src/images/
SkImageDecoder_libbmp.cpp 139 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(),
SkImageDecoder_pkm.cpp 54 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(),
SkImageEncoder.cpp 56 SkData* SkImageEncoder::EncodeData(const SkImageInfo& info, const void* pixels, size_t rowBytes,
  /external/skia/src/svg/
SkSVGDevice.h 19 SkImageInfo imageInfo() const override;

Completed in 477 milliseconds

1 2 3 4 5 6 78 91011>>