Home
last modified time | relevance | path

Searched refs:allocPixels (Results 1 - 25 of 177) sorted by relevance

12345678

/third_party/skia/tests/
H A DNdkDecodeTest.cpp53 bm.allocPixels(info); in DEF_TEST()
58 bm.allocPixels(unpremulInfo); in DEF_TEST()
88 bm.allocPixels(SkImageInfo::Make(10, 10, kRGBA_F16_SkColorType, kOpaque_SkAlphaType, cs)); in DEF_TEST()
134 bm.allocPixels(info); in DEF_TEST()
175 bm.allocPixels(info); in DEF_TEST()
208 orig.allocPixels(noColorCorrection); in DEF_TEST()
212 corrected.allocPixels(noColorCorrection.makeColorSpace(rec.fCorrectedColorSpace)); in DEF_TEST()
218 reuse.allocPixels(noColorCorrection); in DEF_TEST()
250 bm.allocPixels(info); in DEF_TEST()
279 bm.allocPixels(inf in DEF_TEST()
[all...]
H A DBitmapTest.cpp40 bm.allocPixels(info); in test_peekpixels()
70 bm.allocPixels(); in test_allocpixels()
73 bm.allocPixels(info); in test_allocpixels()
78 bm.allocPixels(); in test_allocpixels()
81 bm.allocPixels(info, explicitRowBytes); in test_allocpixels()
88 bm.allocPixels(info, 0); in test_allocpixels()
158 bm.allocPixels(); in DEF_TEST()
194 bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType)); in test_erasecolor_premul()
219 bm.allocPixels(SkImageInfo::Make(13, 17, ct, at)); in DEF_TEST()
235 bm.allocPixels(SkImageInf in DEF_TEST()
[all...]
H A DCodecPartialTest.cpp41 dst->allocPixels(info); in create_truth()
84 incremental.allocPixels(info); in test_partial()
244 frame.allocPixels(info); in DEF_TEST()
293 frame.allocPixels(info); in DEF_TEST()
344 incremental.allocPixels(info); in test_interleaved()
357 full.allocPixels(info); in test_interleaved()
407 truth.allocPixels(info); in DEF_TEST()
419 bm.allocPixels(info); in DEF_TEST()
438 bm.allocPixels(info); in DEF_TEST()
483 bm.allocPixels(inf in DEF_TEST()
[all...]
H A DPremulAlphaRoundTripTest.cpp70 readBmp1.allocPixels(info); in test_premul_alpha_roundtrip()
72 readBmp2.allocPixels(info); in test_premul_alpha_roundtrip()
176 SkBitmap src; src.allocPixels(upmInfo); in DEF_TEST()
189 SkBitmap surf; surf.allocPixels(pmInfo); in DEF_TEST()
192 SkBitmap read1; read1.allocPixels(upmInfo); in DEF_TEST()
195 SkBitmap surf2; surf2.allocPixels(pmInfo); in DEF_TEST()
198 SkBitmap read2; read2.allocPixels(upmInfo); in DEF_TEST()
H A DNdkEncodeTest.cpp50 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
72 bm2.allocPixels(bm.info()); in DEF_TEST()
101 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
122 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
192 bm.allocPixels(info); in DEF_TEST()
200 bm.allocPixels(info); in DEF_TEST()
283 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType, colorSpace.cs)); in DEF_TEST()
347 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType, unsupported)); in DEF_TEST()
H A DPinnedImageTest.cpp24 bm.allocPixels(ii); in surface_is_expected_color()
43 bm.allocPixels(ii); in basic_test()
93 bm.allocPixels(ii); in cleanup_test()
H A DCodecTest.cpp100 bm.allocPixels(info); in test_info()
125 bm.allocPixels(info); in test_incremental_decode()
139 bm.allocPixels(info); in test_in_stripes()
183 bm.allocPixels(info); in test_codec()
199 bm565.allocPixels(info565); in test_codec()
227 grayBm.allocPixels(grayInfo); in test_codec()
400 bm.allocPixels(subsetInfo); in check_subset_decode()
455 bm.allocPixels(info); in check_codec_image_generator()
754 bm.allocPixels(); in DEF_TEST()
864 decodedBm.allocPixels(); in DEF_TEST()
[all...]
H A DEncodedInfoTest.cpp24 bm.allocPixels(codec->getInfo().makeColorType(kAlpha_8_SkColorType).makeColorSpace(nullptr)); in DEF_TEST()
37 bm2.allocPixels(codec->getInfo().makeColorSpace(nullptr)); in DEF_TEST()
H A DWebpTest.cpp28 premulBm.allocPixels(premulInfo); in DEF_TEST()
29 changeBm.allocPixels(premulInfo); // The SkBitmap's SkAlphaType is unrelated to the bug. in DEF_TEST()
H A DAnimatedImageTest.cpp177 bm.allocPixels(SkImageInfo::MakeN32Premul(info.width(), info.height())); in DEF_TEST()
255 bm.allocPixels(imageInfo); in DEF_TEST()
275 test.allocPixels(imageInfo); in DEF_TEST()
321 bm.allocPixels(info); in DEF_TEST()
355 test.allocPixels(imageInfo); in DEF_TEST()
/third_party/skia/gm/
H A Dskbug_9819.cpp19 rgba.allocPixels(info.makeColorType(kRGBA_8888_SkColorType)); in DEF_SIMPLE_GM()
20 bgra.allocPixels(info.makeColorType(kBGRA_8888_SkColorType)); in DEF_SIMPLE_GM()
34 bm.allocPixels(SkImageInfo::Make(1,1, in DEF_SIMPLE_GM()
H A Dunpremul.cpp25 bm.allocPixels(SkImageInfo::Make(1,1, in DEF_SIMPLE_GM()
70 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType)); in DEF_SIMPLE_GM()
H A Dalpha_image.cpp23 bm.allocPixels(SkImageInfo::MakeA8(w, h)); in make_alpha_image()
68 bm.allocPixels(SkImageInfo::MakeA8(64, 64)); in DEF_SIMPLE_GM()
H A Dbitmapimage.cpp57 legacyBMCanvas.allocPixels(linearInfo);
68 srgbBMCanvas.allocPixels(srgbInfo);
H A Dandroidblendmodes.cpp46 fCompositeSrc.allocPixels(ii);
56 fCompositeDst.allocPixels(ii);
H A Dwacky_yuv_formats.cpp334 bm.allocPixels(ii); in make_bitmap()
390 orientedBM.allocPixels(ii); in extract_planes()
404 planes->fYFull.allocPixels( in extract_planes()
406 planes->fUFull.allocPixels( in extract_planes()
408 planes->fVFull.allocPixels( in extract_planes()
410 planes->fAFull.allocPixels(SkImageInfo::MakeA8(ii.dimensions())); in extract_planes()
411 planes->fUQuarter.allocPixels(SkImageInfo::Make(ii.width()/2, ii.height()/2, in extract_planes()
413 planes->fVQuarter.allocPixels(SkImageInfo::Make(ii.width()/2, ii.height()/2, in extract_planes()
416 planes->fFull.allocPixels( in extract_planes()
418 planes->fQuarter.allocPixels(SkImageInf in extract_planes()
[all...]
/third_party/skia/bench/
H A DReadPixBench.cpp40 bitmap.allocPixels(info);
75 fSrc.allocPixels(info);
77 fDst.allocPixels(info.makeDimensions(info.dimensions()));
115 fBM.allocPixels(SkImageInfo::Make(1024, 1024, fCT, kPremul_SkAlphaType));
H A DPremulAndUnpremulAlphaOpsBench.cpp34 fBmp1.allocPixels(info); // used in writePixels
43 fBmp2.allocPixels(info); // used in readPixels()
/third_party/skia/tools/skqp/
H A Dmake_skqp_model.cpp13 maxBitmap->allocPixels(bm.info()); in update()
15 minBitmap->allocPixels(bm.info()); in update()
49 dst.allocPixels(SkImageInfo::Make( in decode_to_srgb_8888_unpremul()
/third_party/skia/docs/examples/
H A DUnpremulGPU.cpp9 premulBitmap.allocPixels(premulInfo); in REG_FIDDLE()
19 unpremulBitmap.allocPixels(unpremulInfo); in REG_FIDDLE()
H A DImageInfo_MakeS32.cpp16 bitmap.allocPixels(SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType)); in REG_FIDDLE()
20 bitmap.allocPixels(SkImageInfo::MakeS32(width, height, kPremul_SkAlphaType)); in REG_FIDDLE()
H A DImageInfo_makeColorSpace.cpp26 bitmap.allocPixels(offscreenInfo); in REG_FIDDLE()
34 bitmap.allocPixels(linearGamma); in REG_FIDDLE()
/third_party/skia/src/core/
H A DSkBitmap.cpp222 this->allocPixels(info); in allocN32Pixels()
225 void SkBitmap::allocPixels() { in allocPixels() function in SkBitmap
226 this->allocPixels((Allocator*)nullptr); in allocPixels()
229 void SkBitmap::allocPixels(Allocator* allocator) { in allocPixels() function in SkBitmap
242 void SkBitmap::allocPixels(const SkImageInfo& info, size_t rowBytes) { in allocPixels() function in SkBitmap
246 void SkBitmap::allocPixels(const SkImageInfo& info) { in allocPixels() function in SkBitmap
247 this->allocPixels(info, info.minRowBytes()); in allocPixels()
/third_party/skia/include/core/
H A DSkBitmap.h492 void allocPixels(const SkImageInfo& info, size_t rowBytes);
528 void allocPixels(const SkImageInfo& info);
668 void allocPixels();
692 void allocPixels(Allocator* allocator);
1169 allocPixels().
/third_party/skia/gm/verifiers/
H A Dgmverifier.cpp68 goldBmp.allocPixels(SkImageInfo::Make(size, colorInfo)); in RenderGoldBmp()
77 goldVerifierBmp.allocPixels(SkImageInfo::Make(size, VerifierColorInfo())); in RenderGoldBmp()

Completed in 15 milliseconds

12345678