Home
last modified time | relevance | path

Searched refs:allocPixels (Results 1 – 25 of 178) sorted by relevance

12345678

/third_party/skia/tests/
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(info); in DEF_TEST()
[all …]
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(SkImageInfo::Make(1, 1, kRGBA_F16_SkColorType, kPremul_SkAlphaType)); in DEF_TEST()
[all …]
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()
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(info); in DEF_TEST()
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()
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 …]
DPinnedImageTest.cpp24 bm.allocPixels(ii); in surface_is_expected_color()
43 bm.allocPixels(ii); in basic_test()
93 bm.allocPixels(ii); in cleanup_test()
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()
DWebpTest.cpp28 premulBm.allocPixels(premulInfo); in DEF_TEST()
29 changeBm.allocPixels(premulInfo); // The SkBitmap's SkAlphaType is unrelated to the bug. in DEF_TEST()
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/
Dskbug_9819.cpp19 rgba.allocPixels(info.makeColorType(kRGBA_8888_SkColorType));
20 bgra.allocPixels(info.makeColorType(kBGRA_8888_SkColorType));
34 bm.allocPixels(SkImageInfo::Make(1,1, in __anonacfd2ce40102()
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(SkImageInfo::Make(ii.width()/2, ii.height()/2, in extract_planes()
[all …]
Dunpremul.cpp25 bm.allocPixels(SkImageInfo::Make(1,1, in __anonfa3e83260102()
70 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
Dbitmapimage.cpp57 legacyBMCanvas.allocPixels(linearInfo); in onDraw()
68 srgbBMCanvas.allocPixels(srgbInfo); in onDraw()
Dalpha_image.cpp23 bm.allocPixels(SkImageInfo::MakeA8(w, h)); in make_alpha_image()
68 bm.allocPixels(SkImageInfo::MakeA8(64, 64));
Dp3.cpp68 bm.allocPixels(SkImageInfo::Make(1,1, kRGBA_F32_SkColorType, kUnpremul_SkAlphaType, canvas_cs)); in compare_pixel()
140 bm.allocPixels(SkImageInfo::Make(60,60, kRGBA_F16_SkColorType, kPremul_SkAlphaType, p3));
157 bm.allocPixels(SkImageInfo::Make(60,60, kRGBA_F16_SkColorType, kPremul_SkAlphaType, p3));
175 bm.allocPixels(SkImageInfo::Make(60,60, kRGBA_F16_SkColorType, kPremul_SkAlphaType, p3));
Dandroidblendmodes.cpp46 fCompositeSrc.allocPixels(ii); in onOnceBeforeDraw()
56 fCompositeDst.allocPixels(ii); in onOnceBeforeDraw()
/third_party/skia/bench/
DReadPixBench.cpp40 bitmap.allocPixels(info); in onDraw()
75 fSrc.allocPixels(info); in onDelayedSetup()
77 fDst.allocPixels(info.makeDimensions(info.dimensions())); in onDelayedSetup()
115 fBM.allocPixels(SkImageInfo::Make(1024, 1024, fCT, kPremul_SkAlphaType)); in onDelayedSetup()
DPremulAndUnpremulAlphaOpsBench.cpp34 fBmp1.allocPixels(info); // used in writePixels in onDelayedSetup()
43 fBmp2.allocPixels(info); // used in readPixels() in onDelayedSetup()
/third_party/skia/tools/skqp/
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/
DUnpremulGPU.cpp9 premulBitmap.allocPixels(premulInfo); in draw()
19 unpremulBitmap.allocPixels(unpremulInfo); in draw()
DImageInfo_MakeS32.cpp16 bitmap.allocPixels(SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType)); in draw()
20 bitmap.allocPixels(SkImageInfo::MakeS32(width, height, kPremul_SkAlphaType)); in draw()
DImageInfo_makeColorSpace.cpp26 bitmap.allocPixels(offscreenInfo);
34 bitmap.allocPixels(linearGamma);
/third_party/skia/src/core/
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/
DSkBitmap.h492 void allocPixels(const SkImageInfo& info, size_t rowBytes);
528 void allocPixels(const SkImageInfo& info);
668 void allocPixels();
692 void allocPixels(Allocator* allocator);

12345678