/external/skia/tools/gpu/ |
D | YUVUtils.cpp | 51 Generator(SkYUVAPixmaps pixmaps, sk_sp<SkColorSpace> cs) in Generator() argument 52 : SkImageGenerator(SkImageInfo::Make(pixmaps.yuvaInfo().dimensions(), in Generator() 56 , fPixmaps(std::move(pixmaps)) {} in Generator() 117 bool onGetYUVAPlanes(const SkYUVAPixmaps& pixmaps) override { in onGetYUVAPlanes() argument 118 SkASSERT(pixmaps.yuvaInfo() == fPixmaps.yuvaInfo()); in onGetYUVAPlanes() 119 for (int i = 0; i < pixmaps.numPlanes(); ++i) { in onGetYUVAPlanes() 120 SkASSERT(fPixmaps.plane(i).colorType() == pixmaps.plane(i).colorType()); in onGetYUVAPlanes() 121 SkASSERT(fPixmaps.plane(i).dimensions() == pixmaps.plane(i).dimensions()); in onGetYUVAPlanes() 122 SkASSERT(fPixmaps.plane(i).rowBytes() == pixmaps.plane(i).rowBytes()); in onGetYUVAPlanes() 123 fPixmaps.plane(i).readPixels(pixmaps.plane(i)); in onGetYUVAPlanes() [all …]
|
D | YUVUtils.h | 54 bool reset(SkYUVAPixmaps pixmaps, GrMipmapped, sk_sp<SkColorSpace>);
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 68 auto pixmaps = SkYUVAPixmaps::Allocate(pixmapInfo); in CreatePlanes() local 71 static_cast<unsigned char*>(pixmaps.planes()[0].writable_addr()), in CreatePlanes() 72 static_cast<unsigned char*>(pixmaps.planes()[1].writable_addr()), in CreatePlanes() 73 static_cast<unsigned char*>(pixmaps.planes()[2].writable_addr()), in CreatePlanes() 74 static_cast<unsigned char*>(pixmaps.planes()[3].writable_addr()), in CreatePlanes() 78 SkColorMatrix_RGB2YUV(pixmaps.yuvaInfo().yuvColorSpace(), m); in CreatePlanes() 81 for (int j = 0; j < pixmaps.planes()[0].height(); ++j) { in CreatePlanes() 82 for (int i = 0; i < pixmaps.planes()[0].width(); ++i) { in CreatePlanes() 88 yuvPixels[0][j*pixmaps.planes()[0].width() + i] = SkToU8( in CreatePlanes() 90 yuvPixels[3][j*pixmaps.planes()[0].width() + i] = SkToU8(sk_float_round2int( in CreatePlanes() [all …]
|
D | asyncrescaleandread.cpp | 107 auto pixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, yuvPMs); in do_read_and_scale_yuv() local 108 SkASSERT(pixmaps.isValid()); in do_read_and_scale_yuv() 109 auto lazyYUVImage = sk_gpu_test::LazyYUVImage::Make(pixmaps); in do_read_and_scale_yuv()
|
/external/skia/src/core/ |
D | SkYUVAPixmaps.cpp | 150 SkPixmap pixmaps[kMaxPlanes]) const { in initPixmapsFromSingleAllocation() 154 SkASSERT(pixmaps); in initPixmapsFromSingleAllocation() 159 pixmaps[i].reset(fPlaneInfos[i], addr, fRowBytes[i]); in initPixmapsFromSingleAllocation() 160 size_t planeSize = pixmaps[i].rowBytes()*pixmaps[i].height(); in initPixmapsFromSingleAllocation() 165 pixmaps[i] = {}; in initPixmapsFromSingleAllocation() 235 SkPixmap pixmaps[kMaxPlanes]; in FromExternalMemory() local 236 yuvaPixmapInfo.initPixmapsFromSingleAllocation(memory, pixmaps); in FromExternalMemory() 237 return SkYUVAPixmaps(yuvaPixmapInfo.yuvaInfo(), yuvaPixmapInfo.dataType(), pixmaps); in FromExternalMemory() 241 const SkPixmap pixmaps[kMaxPlanes]) { in FromExternalPixmaps() 246 colorTypes[i] = pixmaps[i].colorType(); in FromExternalPixmaps() [all …]
|
D | SkYUVPlanesCache.cpp | 38 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, const SkYUVAPixmaps& pixmaps) in YUVPlanesRec() 42 fValue.fPixmaps = pixmaps; in YUVPlanesRec() 77 SkYUVAPixmaps* pixmaps, in FindAndRef() argument 85 *pixmaps = result.fPixmaps; in FindAndRef() 89 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps, in Add() argument 92 return CHECK_LOCAL(localCache, add, Add, new YUVPlanesRec(key, data, pixmaps)); in Add()
|
D | SkYUVPlanesCache.h | 27 SkYUVAPixmaps* pixmaps, 34 static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/icons/ |
D | Makefile | 32 mkdir -p pixmaps/ 33 convert hicolor/16x16/apps/$(@:.xpm=.png) pixmaps/$(@:.xpm=-16.xpm) 34 convert hicolor/32x32/apps/$(@:.xpm=.png) pixmaps/$@ 37 $(RM) -r pixmaps hicolor
|
D | .gitignore | 2 pixmaps
|
/external/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 259 const SkYUVAPixmaps& pixmaps, in MakeFromYUVAPixmaps() argument 267 if (!pixmaps.isValid()) { in MakeFromYUVAPixmaps() 276 int numPlanes = pixmaps.numPlanes(); in MakeFromYUVAPixmaps() 278 int maxDim = std::max(pixmaps.yuvaInfo().width(), pixmaps.yuvaInfo().height()); in MakeFromYUVAPixmaps() 281 const SkYUVAPixmaps* pixmapsToUpload = &pixmaps; in MakeFromYUVAPixmaps() 289 std::min(static_cast<int>(pixmaps.yuvaInfo().width() *scale), maxTextureSize), in MakeFromYUVAPixmaps() 290 std::min(static_cast<int>(pixmaps.yuvaInfo().height()*scale), maxTextureSize) in MakeFromYUVAPixmaps() 292 SkYUVAInfo newInfo = pixmaps.yuvaInfo().makeDimensions(newDimensions); in MakeFromYUVAPixmaps() 293 SkYUVAPixmapInfo newPixmapInfo(newInfo, pixmaps.dataType(), /*row bytes*/ nullptr); in MakeFromYUVAPixmaps() 300 if (!pixmaps.plane(i).scalePixels(tempPixmaps.plane(i), sampling)) { in MakeFromYUVAPixmaps()
|
D | SkImage_Lazy.h | 83 SkYUVAPixmaps* pixmaps) const;
|
/external/deqp/modules/egl/ |
D | teglMultiThreadTests.cpp | 985 …vector<pair<eglu::NativePixmap*, EGLSurface> >& pixmaps = (thread.getId() == 0 ? m_nativePixmaps0… in createDestroyObjects() local 1016 else if (pixmaps.size() > 5 && ((m_types & TYPE_PIXMAP) != 0)) in createDestroyObjects() 1031 else if (pixmaps.size() < 3 && ((m_types & TYPE_PIXMAP) != 0)) in createDestroyObjects() 1155 pixmaps.push_back(std::make_pair(pixmap, surface)); in createDestroyObjects() 1229 const int pixmapNdx = rnd.getInt(0, (int)(pixmaps.size()-1)); in createDestroyObjects() 1231 … ThreadLog::BeginMessage << "eglDestroySurface(" << m_display << ", " << pixmaps[pixmapNdx].second… in createDestroyObjects() 1232 EGLU_CHECK_CALL(egl, destroySurface(m_display, pixmaps[pixmapNdx].second)); in createDestroyObjects() 1233 pixmaps[pixmapNdx].second = EGL_NO_SURFACE; in createDestroyObjects() 1234 delete pixmaps[pixmapNdx].first; in createDestroyObjects() 1235 pixmaps[pixmapNdx].first = DE_NULL; in createDestroyObjects() [all …]
|
/external/skia/tests/ |
D | YUVTest.cpp | 69 auto pixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in codec_yuv() local 70 REPORTER_ASSERT(reporter, pixmaps.isValid()); in codec_yuv() 73 REPORTER_ASSERT(reporter, pixmaps.plane(i).info() == yuvaPixmapInfo.planeInfo(i)); in codec_yuv() 76 REPORTER_ASSERT(reporter, pixmaps.plane(i).rowBytes() == 0); in codec_yuv() 80 REPORTER_ASSERT(reporter, SkCodec::kSuccess == codec->getYUVAPlanes(pixmaps)); in codec_yuv()
|
D | BackendAllocationTest.cpp | 443 SkPixmap pixmaps[6], in make_pixmaps() 463 pixmaps[level].reset(ii[level], addr, rowBytes[level]); in make_pixmaps() 465 pixmaps[level].erase(colors[level]); in make_pixmaps() 483 SkPixmap pixmaps[6]; in test_pixmap_init() local 494 int numMipLevels = make_pixmaps(skColorType, mipmapped, colors, pixmaps, &memForPixmaps); in test_pixmap_init() 497 sk_sp<ManagedBackendTexture> mbet = create(dContext, pixmaps, numMipLevels, origin, renderable); in test_pixmap_init() 539 make_pixmaps(skColorType, mipmapped, colorsNew, pixmaps, &memForPixmaps); in test_pixmap_init() 543 pixmaps, in test_pixmap_init()
|
D | NdkEncodeTest.cpp | 151 std::vector<SkPixmap> pixmaps{ SkPixmap(SkImageInfo::MakeN32Premul(-10, 10), pixels, 1000), in DEF_TEST() local 158 pixmaps.emplace_back(SkImageInfo::MakeN32Premul(10, 10), pixels, in DEF_TEST() 161 for (const auto& pm : pixmaps) { in DEF_TEST()
|
/external/selinux/gui/ |
D | Makefile | 30 -mkdir -p $(DESTDIR)$(DATADIR)/pixmaps 46 install -m 644 system-config-selinux.png $(DESTDIR)$(DATADIR)/pixmaps 50 -mkdir -p $(DESTDIR)$(DATADIR)/pixmaps 51 install -m 644 sepolicy_256.png $(DESTDIR)$(DATADIR)/pixmaps/sepolicy.png
|
/external/skia/experimental/ffmpeg/ |
D | SkVideoDecoder.cpp | 172 SkPixmap pixmaps[3]; in make_yuv_420() local 173 pixmaps[0].reset(SkImageInfo::MakeA8(w, h), data[0], strides[0]); in make_yuv_420() 176 pixmaps[1].reset(SkImageInfo::MakeA8(w, h), data[1], strides[1]); in make_yuv_420() 177 pixmaps[2].reset(SkImageInfo::MakeA8(w, h), data[2], strides[2]); in make_yuv_420() 178 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in make_yuv_420()
|
/external/mesa3d/docs/_extra/specs/ |
D | MESA_pixmap_colormap.spec | 37 Xlib functions but there is no colormap associated with pixmaps. 64 pixmaps of any visual class, not just TrueColor or DirectColor. In order
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 47 std::unique_ptr<SkPixmap[]> pixmaps(new SkPixmap[this->numMipLevels()]); in normalMipLevels() local 48 pixmaps[0] = fBaseLevel.pixmap(); in normalMipLevels() 53 pixmaps[i+1] = mipLevel.fPixmap; in normalMipLevels() 56 return pixmaps; in normalMipLevels()
|
/external/ImageMagick/MagickCore/ |
D | animate.c | 1061 window_info.pixmaps=(Pixmap *) AcquireQuantumMemory(number_scenes, in XAnimateBackgroundImage() 1062 sizeof(*window_info.pixmaps)); in XAnimateBackgroundImage() 1065 if ((window_info.pixmaps == (Pixmap *) NULL) || in XAnimateBackgroundImage() 1069 window_info.pixmaps[0]=window_info.pixmap; in XAnimateBackgroundImage() 1130 window_info.pixmaps[scene]=window_info.pixmap; in XAnimateBackgroundImage() 1155 window_info.pixmap=window_info.pixmaps[scene]; in XAnimateBackgroundImage() 1917 windows->image.pixmaps=(Pixmap *) AcquireQuantumMemory(number_scenes, in XAnimateImages() 1918 sizeof(*windows->image.pixmaps)); in XAnimateImages() 1920 sizeof(*windows->image.pixmaps)); in XAnimateImages() 1921 if ((windows->image.pixmaps == (Pixmap *) NULL) || in XAnimateImages() [all …]
|
D | xwdfile.h_vms | 69 /* bitmap_pad applies to pixmaps (non-bitmaps) only. 76 * or bitmap_pad (pixmaps). It is the delta (in bytes) to get
|
D | xwindow-private.h | 412 *pixmaps, member
|
/external/mesa3d/src/glx/apple/ |
D | TODO | 8 Test GLXPixmap support with invalid pixmaps (to stress the protocol code).
|
/external/skia/include/core/ |
D | SkYUVAPixmaps.h | 148 bool initPixmapsFromSingleAllocation(void* memory, SkPixmap pixmaps[kMaxPlanes]) const;
|
/external/mesa3d/docs/relnotes/ |
D | 18.1.6.rst | 92 - egl: Fix leak of X11 pixmaps backing pbuffers in DRI3.
|