Home
last modified time | relevance | path

Searched refs:pixelStorage (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/ports/
DSkImageEncoder_WIC.cpp76 SkAutoMalloc pixelStorage; in SkEncodeImageWithWIC() local
81 pixelStorage.reset(rowBytes * bitmap.height()); in SkEncodeImageWithWIC()
83 uint8_t* dstRow = SkTAddOffset<uint8_t>(pixelStorage.get(), y * rowBytes); in SkEncodeImageWithWIC()
93 pixels = pixelStorage.get(); in SkEncodeImageWithWIC()
/third_party/skia/src/gpu/
DGrPixmap.h25 sk_sp<SkData> pixelStorage() const { return fPixelStorage; } in pixelStorage() function
127 if (auto storage = pixmap.pixelStorage()) { in GrCPixmap()
DSurfaceContext.cpp517 srcLevels[i] = {src[i].addr(), src[i].rowBytes(), src[i].pixelStorage()}; in internalWritePixels()
736 result->addCpuPlane(pm.pixelStorage(), pm.rowBytes()); in asyncReadPixels()
972 result->addCpuPlane(yPmp.pixelStorage(), yPmp.rowBytes()); in asyncRescaleAndReadPixelsYUV420()
973 result->addCpuPlane(uPmp.pixelStorage(), uPmp.rowBytes()); in asyncRescaleAndReadPixelsYUV420()
974 result->addCpuPlane(vPmp.pixelStorage(), vPmp.rowBytes()); in asyncRescaleAndReadPixelsYUV420()
/third_party/skia/tests/
DCodecTest.cpp1032 SkAutoMalloc pixelStorage(height * rowBytes); in DEF_TEST() local
1038 auto result = codec->getAndroidPixels(sampledInfo, pixelStorage.get(), rowBytes, &opts); in DEF_TEST()
1042 result = codec->getPixels(codec->getInfo(), pixelStorage.get(), rowBytes); in DEF_TEST()
1050 result = codec->getAndroidPixels(codec->getInfo().makeWH(100, 100), pixelStorage.get(), in DEF_TEST()
1061 result = codec->getAndroidPixels(codec->getInfo(), pixelStorage.get(), rowBytes, &opts); in DEF_TEST()
1083 SkAutoMalloc pixelStorage(dstInfo.computeByteSize(rowBytes)); in check_color_xform() local
1084 SkCodec::Result result = codec->getAndroidPixels(dstInfo, pixelStorage.get(), rowBytes, &opts); in check_color_xform()
/third_party/skia/src/gpu/gl/
DGrGLGpu.cpp1006 std::unique_ptr<char[]> pixelStorage; in uploadColorToTex() local
1015 if (!pixelStorage) { in uploadColorToTex()
1019 pixelStorage.reset(new char[rb * levelDims.height()]); in uploadColorToTex()
1020 if (!GrClearImage(ii, pixelStorage.get(), ii.minRowBytes(), color)) { in uploadColorToTex()
1025 levels[i] = {pixelStorage.get(), levelDims.width()*bpp, nullptr}; in uploadColorToTex()