Home
last modified time | relevance | path

Searched refs:imageInfo (Results 1 – 25 of 62) sorted by relevance

123

/external/skia/tests/
DRecordingXfermodeTest.cpp35 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo() function in __anonf1040fd30111::Drawer
77 BitmapBackedCanvasStrategy(const SkImageInfo& imageInfo) { in BitmapBackedCanvasStrategy() argument
78 fBitmap.allocPixels(imageInfo); in BitmapBackedCanvasStrategy()
101 PictureStrategy(const SkImageInfo& imageInfo) { in PictureStrategy() argument
102 fBitmap.allocPixels(imageInfo); in PictureStrategy()
103 fWidth = imageInfo.width(); in PictureStrategy()
104 fHeight = imageInfo.height(); in PictureStrategy()
139 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); in DEF_TEST()
140 PictureStrategy picture(drawer.imageInfo()); in DEF_TEST()
DSwizzlerTest.cpp19 const SkImageInfo& imageInfo, in check_fill() argument
31 const size_t totalBytes = imageInfo.getSafeSize(rowBytes) + offset; in check_fill()
39 const SkImageInfo fillInfo = imageInfo.makeWH(imageInfo.width(), endRow - startRow + 1); in check_fill()
49 for (int32_t x = 0; x < imageInfo.width(); x++) { in check_fill()
50 switch (imageInfo.colorType()) { in check_fill()
DPDFInvalidBitmapTest.cpp32 SkBitmap make_invalid_bitmap(const SkImageInfo& imageInfo) { in make_invalid_bitmap() argument
34 bitmap.setInfo(imageInfo); in make_invalid_bitmap()
35 bitmap.setPixelRef(new InvalidPixelRef(imageInfo))->unref(); in make_invalid_bitmap()
DTextureStorageAllocator.cpp77 SkImageInfo imageInfo = SkImageInfo::MakeN32Premul(1,1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
79 REPORTER_ASSERT(reporter, image->readPixels(imageInfo, &dest, 4 * kWidth, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
87 REPORTER_ASSERT(reporter, image2->readPixels(imageInfo, &dest, 4 * kWidth, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/jmonkeyengine/engine/src/android/com/jme3/texture/plugins/
DAndroidImageLoader.java13 AndroidImageInfo imageInfo = new AndroidImageInfo(info); in load() local
14 Bitmap bitmap = imageInfo.getBitmap(); in load()
16 Image image = new Image(imageInfo.getFormat(), bitmap.getWidth(), bitmap.getHeight(), null); in load()
17 image.setEfficentData(imageInfo); in load()
/external/skia/src/gpu/vk/
DGrVkProgram.cpp289 VkDescriptorImageInfo imageInfo; in writeSamplers() local
290 memset(&imageInfo, 0, sizeof(VkDescriptorImageInfo)); in writeSamplers()
291 imageInfo.sampler = fSamplers[i]->sampler(); in writeSamplers()
292 imageInfo.imageView = texture->textureView()->imageView(); in writeSamplers()
293 imageInfo.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in writeSamplers()
304 writeInfo.pImageInfo = &imageInfo; in writeSamplers()
/external/skia/src/codec/
DSkPngCodec.cpp190 SkImageInfo* imageInfo, int* bitDepthPtr, int* numberPassesPtr) { in read_header() argument
318 if (imageInfo) { in read_header()
319 *imageInfo = SkImageInfo::Make(origWidth, origHeight, colorType, alphaType, profileType); in read_header()
733 SkImageInfo imageInfo; in NewFromStream() local
737 if (!read_header(stream, chunkReader, &png_ptr, &info_ptr, &imageInfo, &bitDepth, in NewFromStream()
743 return new SkPngScanlineDecoder(imageInfo, streamDeleter.detach(), chunkReader, in NewFromStream()
747 return new SkPngInterlacedScanlineDecoder(imageInfo, streamDeleter.detach(), chunkReader, in NewFromStream()
DSkBmpCodec.cpp505 const SkImageInfo& imageInfo = SkImageInfo::Make(width, height, in ReadHeader() local
513 *codecOut = new SkBmpStandardCodec(imageInfo, stream, bitsPerPixel, numColors, in ReadHeader()
523 *codecOut = new SkBmpMaskCodec(imageInfo, stream, bitsPerPixel, masks.detach(), in ReadHeader()
532 *codecOut = new SkBmpRLECodec(imageInfo, stream, bitsPerPixel, numColors, in ReadHeader()
/external/skia/include/core/
DSkDevice.h41 virtual SkImageInfo imageInfo() const;
61 return this->imageInfo().width(); in width()
65 return this->imageInfo().height(); in height()
69 return this->imageInfo().isOpaque(); in isOpaque()
/external/lzma/CPP/Windows/Control/
DImageList.h56 bool GetImageInfo(int index, IMAGEINFO* imageInfo) const in GetImageInfo() argument
57 { return BOOLToBool(ImageList_GetImageInfo(m_Object, index, imageInfo)); } in GetImageInfo()
/external/skia/tools/VisualBench/
DWrappedBenchmark.h83 fOffScreen.reset(SkSurface::NewRaster(canvas->imageInfo(), &this->surfaceProps())); in setupOffScreen()
109 canvas->imageInfo(), in setupOffScreen()
/external/skia/gm/
Dshapes.cpp71 canvas->translate(canvas->imageInfo().width() / 2.f, canvas->imageInfo().height() / 2.f); in onDraw()
Dblend.cpp38 if (canvas->imageInfo().colorType() == kN32_SkColorType) {
/external/skia/experimental/SkV8Example/
DDrawingMethods.cpp131 drawingMethods->fGlobal->getIsolate(), canvas->imageInfo().width())); in GetWidth()
144 drawingMethods->fGlobal->getIsolate(), canvas->imageInfo().height())); in GetHeight()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp703 …ipLevels (const VkImageFormatProperties& imageFormatProperties, const VkImageCreateInfo &imageInfo) in getImageMaxMipLevels() argument
705 …const deUint32 widestEdge = std::max(std::max(imageInfo.extent.width, imageInfo.extent.height), im… in getImageMaxMipLevels()
/external/skia/src/animator/
DSkSnapshot.cpp65 pixels.allocPixels(maker.fCanvas->imageInfo()); in draw()
/external/skia/tools/debugger/
DSkDebugCanvas.h168 SkIntToScalar(this->imageInfo().width()), in getClipBounds()
169 SkIntToScalar(this->imageInfo().height())); in getClipBounds()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DTextureUtil.java124 AndroidImageInfo imageInfo = (AndroidImageInfo) img.getEfficentData(); in uploadTexture() local
125 uploadTextureBitmap(target, imageInfo.getBitmap(), generateMips, powerOf2); in uploadTexture()
/external/ImageMagick/Magick++/lib/Magick++/
DSTL.h888 MagickCore::ImageInfo *imageInfo(void);
1976 MagickCore::AnimateImages(first_->imageInfo(),first_->image(), in animateImages()
2288 MagickCore::DisplayImages(first_->imageInfo(),first_->image(), in displayImages()
2665 *imageInfo; in readImages() local
2667 imageInfo=options.imageInfo(); in readImages()
2668 imageSpec_.copy(imageInfo->filename,MagickPathExtent-1); in readImages()
2669 imageInfo->filename[imageSpec_.length()] = 0; in readImages()
2671 images=MagickCore::ReadImage(imageInfo,exceptionInfo); in readImages()
2690 images=MagickCore::BlobToImage(options.imageInfo(),blob_.data(), in readImages()
2784 void* data = MagickCore::ImagesToBlob( first_->imageInfo(),
/external/skia/src/gpu/
DSkGpuDevice.h62 SkBaseDevice* dev = this->onCreateDevice(CreateInfo(this->imageInfo(), kPossible_TileUsage, in cloneDevice()
77 SkImageInfo imageInfo() const override { in imageInfo() function
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp35 : INHERITED(canvas->imageInfo().width(), canvas->imageInfo().height()) { in SkPaintFilterCanvas()
/external/skia/src/core/
DSkDevice.cpp44 SkImageInfo SkBaseDevice::imageInfo() const { in imageInfo() function in SkBaseDevice
229 const SkImageInfo& srcInfo = this->imageInfo(); in readPixels()
244 const SkImageInfo& dstInfo = this->imageInfo(); in writePixels()
/external/ImageMagick/Magick++/lib/
DOptions.cpp308 DestroyString(RemoveImageOption(imageInfo(),"family")); in fontFamily()
313 (void) SetImageOption(imageInfo(),"family",family_.c_str()); in fontFamily()
717 (void) SetImageOption(imageInfo(),"encoding",encoding_.c_str()); in textEncoding()
960 MagickCore::ImageInfo *Magick::Options::imageInfo(void) in imageInfo() function in Magick::Options
989 (void) SetImageOption(imageInfo(),name,option.c_str()); in setOption()
DImageRef.cpp25 _image=AcquireImage(_options->imageInfo(),exceptionInfo); in ImageRef()
/external/skia/src/svg/
DSkSVGDevice.h19 SkImageInfo imageInfo() const override;

123