Home
last modified time | relevance | path

Searched refs:pixmaps (Results 1 – 25 of 58) sorted by relevance

123

/third_party/skia/gm/
Dimagefromyuvtextures.cpp66 auto pixmaps = SkYUVAPixmaps::Allocate(pixmapInfo); in CreatePlanes() local
69 static_cast<unsigned char*>(pixmaps.planes()[0].writable_addr()), in CreatePlanes()
70 static_cast<unsigned char*>(pixmaps.planes()[1].writable_addr()), in CreatePlanes()
71 static_cast<unsigned char*>(pixmaps.planes()[2].writable_addr()), in CreatePlanes()
72 static_cast<unsigned char*>(pixmaps.planes()[3].writable_addr()), in CreatePlanes()
76 SkColorMatrix_RGB2YUV(pixmaps.yuvaInfo().yuvColorSpace(), m); in CreatePlanes()
79 for (int j = 0; j < pixmaps.planes()[0].height(); ++j) { in CreatePlanes()
80 for (int i = 0; i < pixmaps.planes()[0].width(); ++i) { in CreatePlanes()
86 yuvPixels[0][j*pixmaps.planes()[0].width() + i] = SkToU8( in CreatePlanes()
88 yuvPixels[3][j*pixmaps.planes()[0].width() + i] = SkToU8(sk_float_round2int( in CreatePlanes()
[all …]
Dyuv420_odd_dim.cpp108 SkPixmap pixmaps[4]; variable
110 planes[i]->peekPixels(&pixmaps[i]);
112 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps);
/third_party/skia/tools/gpu/
DYUVUtils.cpp54 Generator(SkYUVAPixmaps pixmaps, sk_sp<SkColorSpace> cs) in Generator() argument
55 : SkImageGenerator(SkImageInfo::Make(pixmaps.yuvaInfo().dimensions(), in Generator()
59 , fPixmaps(std::move(pixmaps)) {} in Generator()
120 bool onGetYUVAPlanes(const SkYUVAPixmaps& pixmaps) override { in onGetYUVAPlanes() argument
121 SkASSERT(pixmaps.yuvaInfo() == fPixmaps.yuvaInfo()); in onGetYUVAPlanes()
122 for (int i = 0; i < pixmaps.numPlanes(); ++i) { in onGetYUVAPlanes()
123 SkASSERT(fPixmaps.plane(i).colorType() == pixmaps.plane(i).colorType()); in onGetYUVAPlanes()
124 SkASSERT(fPixmaps.plane(i).dimensions() == pixmaps.plane(i).dimensions()); in onGetYUVAPlanes()
125 SkASSERT(fPixmaps.plane(i).rowBytes() == pixmaps.plane(i).rowBytes()); in onGetYUVAPlanes()
126 fPixmaps.plane(i).readPixels(pixmaps.plane(i)); in onGetYUVAPlanes()
[all …]
DYUVUtils.h66 bool reset(SkYUVAPixmaps pixmaps, GrMipmapped, sk_sp<SkColorSpace>);
/third_party/skia/src/core/
DSkYUVAPixmaps.cpp150 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 …]
DSkYUVPlanesCache.cpp38 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()
DSkYUVPlanesCache.h27 SkYUVAPixmaps* pixmaps,
34 static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/icons/
DMakefile18 mkdir -p pixmaps/
19 convert hicolor/16x16/apps/$(@:.xpm=.png) pixmaps/$(@:.xpm=-16.xpm)
20 convert hicolor/32x32/apps/$(@:.xpm=.png) pixmaps/$@
23 $(RM) -r pixmaps hicolor
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/icons/
DMakefile32 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.gitignore2 pixmaps
/third_party/skia/src/image/
DSkImage_GpuYUVA.cpp259 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()
DSkImage_Lazy.h83 SkYUVAPixmaps* pixmaps) const;
/third_party/vk-gl-cts/modules/egl/
DteglMultiThreadTests.cpp985 …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 …]
/third_party/skia/tests/
DYUVTest.cpp69 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()
DBackendAllocationTest.cpp436 SkPixmap pixmaps[6], in make_pixmaps()
456 pixmaps[level].reset(ii[level], addr, rowBytes[level]); in make_pixmaps()
458 pixmaps[level].erase(colors[level]); in make_pixmaps()
476 SkPixmap pixmaps[6]; in test_pixmap_init() local
487 int numMipLevels = make_pixmaps(skColorType, mipmapped, colors, pixmaps, &memForPixmaps); in test_pixmap_init()
490 sk_sp<ManagedBackendTexture> mbet = create(dContext, pixmaps, numMipLevels, origin, renderable); in test_pixmap_init()
532 make_pixmaps(skColorType, mipmapped, colorsNew, pixmaps, &memForPixmaps); in test_pixmap_init()
536 pixmaps, in test_pixmap_init()
DNdkEncodeTest.cpp151 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()
/third_party/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp172 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()
/third_party/mesa3d/docs/_extra/specs/
DMESA_pixmap_colormap.spec37 Xlib functions but there is no colormap associated with pixmaps.
64 pixmaps of any visual class, not just TrueColor or DirectColor. In order
/third_party/openGLES/extensions/MESA/
DGLX_MESA_pixmap_colormap.txt37 Xlib functions but there is no colormap associated with pixmaps.
64 pixmaps of any visual class, not just TrueColor or DirectColor. In order
/third_party/skia/third_party/externals/opengl-registry/extensions/MESA/
DGLX_MESA_pixmap_colormap.txt37 Xlib functions but there is no colormap associated with pixmaps.
64 pixmaps of any visual class, not just TrueColor or DirectColor. In order
/third_party/skia/tools/
DDDLPromiseImageHelper.cpp47 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()
/third_party/mesa3d/src/glx/apple/
DTODO8 Test GLXPixmap support with invalid pixmaps (to stress the protocol code).
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_image.txt64 and allows creating EGLImages from EGL native pixmaps.
113 - Add eglCreateImageKHR error if native pixmaps are not supported by
/third_party/EGL/extensions/KHR/
DEGL_KHR_image_pixmap.txt55 native pixmaps, or to support eglCreatePixmapSurface).
131 pixmaps which already have a pixmap surface associated with them, and
DEGL_KHR_image.txt64 and allows creating EGLImages from EGL native pixmaps.
113 - Add eglCreateImageKHR error if native pixmaps are not supported by

123