Searched refs:pixelStorage (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/ports/ |
D | SkImageEncoder_WIC.cpp | 76 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()
|
/external/skqp/src/ports/ |
D | SkImageEncoder_WIC.cpp | 76 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()
|
/external/skia/src/gpu/ |
D | GrPixmap.h | 25 sk_sp<SkData> pixelStorage() const { return fPixelStorage; } in pixelStorage() function 127 if (auto storage = pixmap.pixelStorage()) { in GrCPixmap()
|
D | GrSurfaceContext.cpp | 606 srcLevels[i] = {src[i].addr(), src[i].rowBytes(), src[i].pixelStorage()}; in internalWritePixels() 825 result->addCpuPlane(pm.pixelStorage(), pm.rowBytes()); in asyncReadPixels() 1048 result->addCpuPlane(yPmp.pixelStorage(), yPmp.rowBytes()); in asyncRescaleAndReadPixelsYUV420() 1049 result->addCpuPlane(uPmp.pixelStorage(), uPmp.rowBytes()); in asyncRescaleAndReadPixelsYUV420() 1050 result->addCpuPlane(vPmp.pixelStorage(), vPmp.rowBytes()); in asyncRescaleAndReadPixelsYUV420()
|
/external/skqp/tests/ |
D | CodecTest.cpp | 982 SkAutoMalloc pixelStorage(height * rowBytes); in DEF_TEST() local 988 auto result = codec->getAndroidPixels(sampledInfo, pixelStorage.get(), rowBytes, &opts); in DEF_TEST() 992 result = codec->getPixels(codec->getInfo(), pixelStorage.get(), rowBytes); in DEF_TEST() 1000 result = codec->getAndroidPixels(codec->getInfo().makeWH(100, 100), pixelStorage.get(), in DEF_TEST() 1011 result = codec->getAndroidPixels(codec->getInfo(), pixelStorage.get(), rowBytes, &opts); in DEF_TEST() 1033 SkAutoMalloc pixelStorage(dstInfo.computeByteSize(rowBytes)); in check_color_xform() local 1034 SkCodec::Result result = codec->getAndroidPixels(dstInfo, pixelStorage.get(), rowBytes, &opts); in check_color_xform()
|
/external/skia/tests/ |
D | CodecTest.cpp | 989 SkAutoMalloc pixelStorage(height * rowBytes); in DEF_TEST() local 995 auto result = codec->getAndroidPixels(sampledInfo, pixelStorage.get(), rowBytes, &opts); in DEF_TEST() 999 result = codec->getPixels(codec->getInfo(), pixelStorage.get(), rowBytes); in DEF_TEST() 1007 result = codec->getAndroidPixels(codec->getInfo().makeWH(100, 100), pixelStorage.get(), in DEF_TEST() 1018 result = codec->getAndroidPixels(codec->getInfo(), pixelStorage.get(), rowBytes, &opts); in DEF_TEST() 1040 SkAutoMalloc pixelStorage(dstInfo.computeByteSize(rowBytes)); in check_color_xform() local 1041 SkCodec::Result result = codec->getAndroidPixels(dstInfo, pixelStorage.get(), rowBytes, &opts); in check_color_xform()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 986 std::unique_ptr<char[]> pixelStorage; in uploadColorToTex() local 995 if (!pixelStorage) { in uploadColorToTex() 999 pixelStorage.reset(new char[rb * levelDims.height()]); in uploadColorToTex() 1000 if (!GrClearImage(ii, pixelStorage.get(), ii.minRowBytes(), color)) { in uploadColorToTex() 1005 levels[i] = {pixelStorage.get(), levelDims.width()*bpp, nullptr}; in uploadColorToTex()
|