/third_party/skia/gm/ |
H A D | imagefromyuvtextures.cpp | 66 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 in CreatePlanes() [all...] |
H A D | yuv420_odd_dim.cpp | 108 SkPixmap pixmaps[4]; in DEF_SIMPLE_GM_CAN_FAIL() local 110 planes[i]->peekPixels(&pixmaps[i]); in DEF_SIMPLE_GM_CAN_FAIL() 112 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in DEF_SIMPLE_GM_CAN_FAIL()
|
H A 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()
|
H A D | wacky_yuv_formats.cpp | 843 SkYUVAPixmaps pixmaps = in createImages() local 848 auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(std::move(pixmaps)); in createImages() 1209 SkPixmap pixmaps[4]; variable 1211 planes[i]->peekPixels(&pixmaps[i]); 1213 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(info, pixmaps);
|
/third_party/skia/src/core/ |
H A 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[kMaxPlane in FromExternalPixmaps() 240 FromExternalPixmaps(const SkYUVAInfo& yuvaInfo, const SkPixmap pixmaps[kMaxPlanes]) FromExternalPixmaps() argument 266 SkYUVAPixmaps(const SkYUVAInfo& yuvaInfo, DataType dataType, const SkPixmap pixmaps[kMaxPlanes]) SkYUVAPixmaps() argument [all...] |
H A 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() 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() 76 FindAndRef(uint32_t genID, SkYUVAPixmaps* pixmaps, SkResourceCache* localCache) FindAndRef() argument
|
H A D | SkYUVPlanesCache.h | 27 SkYUVAPixmaps* pixmaps, 34 static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
|
/third_party/skia/tools/gpu/ |
H A D | YUVUtils.cpp | 54 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 { 121 SkASSERT(pixmaps.yuvaInfo() == fPixmaps.yuvaInfo()); 122 for (int i = 0; i < pixmaps.numPlanes(); ++i) { 123 SkASSERT(fPixmaps.plane(i).colorType() == pixmaps.plane(i).colorType()); 124 SkASSERT(fPixmaps.plane(i).dimensions() == pixmaps.plane(i).dimensions()); 125 SkASSERT(fPixmaps.plane(i).rowBytes() == pixmaps.plane(i).rowBytes()); 126 fPixmaps.plane(i).readPixels(pixmaps 200 Make(SkYUVAPixmaps pixmaps, GrMipmapped mipmapped, sk_sp<SkColorSpace> cs) Make() argument 247 reset(SkYUVAPixmaps pixmaps, GrMipmapped mipmapped, sk_sp<SkColorSpace> cs) reset() argument [all...] |
H A D | YUVUtils.h | 66 bool reset(SkYUVAPixmaps pixmaps, GrMipmapped, sk_sp<SkColorSpace>);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/icons/ |
H A D | Makefile | 18 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/ |
H A 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
|
/third_party/skia/src/image/ |
H A D | SkImage_GpuYUVA.cpp | 259 const SkYUVAPixmaps& pixmaps, in MakeFromYUVAPixmaps() 267 if (!pixmaps.isValid()) { in MakeFromYUVAPixmaps() 275 // Resize the pixmaps if necessary. 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 in MakeFromYUVAPixmaps() 258 MakeFromYUVAPixmaps(GrRecordingContext* context, const SkYUVAPixmaps& pixmaps, GrMipmapped buildMips, bool limitToMaxTextureSize, sk_sp<SkColorSpace> imageColorSpace) MakeFromYUVAPixmaps() argument [all...] |
H A D | SkImage_Lazy.h | 83 SkYUVAPixmaps* pixmaps) const;
|
/third_party/skia/tests/ |
H A 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()
|
H A D | BackendAllocationTest.cpp | 436 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() 433 make_pixmaps(SkColorType skColorType, GrMipmapped mipmapped, const SkColor4f colors[6], SkPixmap pixmaps[6], std::unique_ptr<char[]>* mem) make_pixmaps() argument
|
H A D | NdkEncodeTest.cpp | 151 std::vector<SkPixmap> pixmaps{ SkPixmap(SkImageInfo::MakeN32Premul(-10, 10), pixels, 1000), in DEF_TEST() 158 pixmaps.emplace_back(SkImageInfo::MakeN32Premul(10, 10), pixels, in DEF_TEST() 161 for (const auto& pm : pixmaps) { in DEF_TEST()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglMultiThreadTests.cpp | 831 // Clear pixmaps in deinit() 989 vector<pair<eglu::NativePixmap*, EGLSurface> >& pixmaps = (thread.getId() == 0 ? m_nativePixmaps0 : m_nativePixmaps1); in createDestroyObjects() local 1020 else if (pixmaps.size() > 5 && ((m_types & TYPE_PIXMAP) != 0)) in createDestroyObjects() 1035 else if (pixmaps.size() < 3 && ((m_types & TYPE_PIXMAP) != 0)) in createDestroyObjects() 1159 pixmaps.push_back(std::make_pair(pixmap, surface)); in createDestroyObjects() 1233 const int pixmapNdx = rnd.getInt(0, (int)(pixmaps.size()-1)); in createDestroyObjects() 1235 thread.getLog() << ThreadLog::BeginMessage << "eglDestroySurface(" << m_display << ", " << pixmaps[pixmapNdx].second << ")" << ThreadLog::EndMessage; in createDestroyObjects() 1236 EGLU_CHECK_CALL(egl, destroySurface(m_display, pixmaps[pixmapNdx].second)); in createDestroyObjects() 1237 pixmaps[pixmapNdx].second = EGL_NO_SURFACE; in createDestroyObjects() 1238 delete pixmaps[pixmapNd in createDestroyObjects() 1268 vector<pair<eglu::NativePixmap*, EGLSurface> >& pixmaps = (thread.getId() == 0 ? m_nativePixmaps0 : m_nativePixmaps1); pushObjectsToShared() local 1297 vector<pair<eglu::NativePixmap*, EGLSurface> >& pixmaps = (thread.getId() == 0 ? m_nativePixmaps0 : m_nativePixmaps1); pullObjectsFromShared() local 1426 vector<pair<eglu::NativePixmap*, EGLSurface> >& pixmaps = (thread.getId() == 0 ? m_nativePixmaps0 : m_nativePixmaps1); destroyObjects() local [all...] |
/third_party/skia/experimental/ffmpeg/ |
H A 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()
|
/third_party/lame/frontend/ |
H A D | gpkplotting.c | 50 static GdkPixmap *pixmaps[10]; variable 90 return &pixmaps[i]; in findpixmap() 323 pixmaps[num_plotwindows] = NULL; in gpk_plot_new()
|
/third_party/skia/tools/ |
H A D | DDLPromiseImageHelper.cpp | 47 std::unique_ptr<SkPixmap[]> pixmaps(new SkPixmap[this->numMipLevels()]); in normalMipLevels() 48 pixmaps[0] = fBaseLevel.pixmap(); in normalMipLevels() 53 pixmaps[i+1] = mipLevel.fPixmap; in normalMipLevels() 56 return pixmaps; in normalMipLevels()
|
/third_party/skia/include/core/ |
H A D | SkYUVAPixmaps.h | 65 * Update to add support for pixmaps with numChannel channels where each channel is 82 * If the SkColorType is supported for YUVA pixmaps this will return the number of YUVA channels 145 * the first numPlanes() entries in pixmaps array to point into that memory. The remaining 146 * entries of pixmaps are default initialized. Fails if this SkYUVAPixmapInfo not valid. 148 bool initPixmapsFromSingleAllocation(void* memory, SkPixmap pixmaps[kMaxPlanes]) const; 169 * allocating/freeing memory for pixmaps or use external memory. 178 /** Allocate space for pixmaps' pixels in the SkYUVAPixmaps. */ 182 * Use storage in SkData as backing store for pixmaps' pixels. SkData is retained by the 194 * Use passed in memory as backing store for pixmaps' pixels. Caller must ensure memory remains 195 * allocated while pixmaps ar [all...] |
H A D | SkImage.h | 438 @param pixmaps The planes as pixmaps with supported SkYUVAInfo that 447 const SkYUVAPixmaps& pixmaps,
|