Home
last modified time | relevance | path

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

123

/external/skia/tests/
DRecordingXfermodeTest.cpp35 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo() function in __anon60800ab20111::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/opencv3/modules/videoio/src/
Dcap_giganetix.cpp442 gige::IImageInfo imageInfo; in grabImage() local
443 m_device->GetImageInfo (&imageInfo); in grabImage()
444 assert(imageInfo.IsValid()); in grabImage()
451 imageInfo->GetPixelType(newPixelType); in grabImage()
452 imageInfo->GetSize(newWidth, newHeight); in grabImage()
459 m_raw_image->imageSize == (int)(imageInfo->GetRawDataSize ()) in grabImage()
484 m_raw_image->imageData = (char*)(imageInfo->GetRawData ()); in grabImage()
497 m_raw_image->imageData = (char*)(imageInfo->GetRawData ()); in grabImage()
508 m_device->PopImage (imageInfo); in grabImage()
Dcap_intelperc.cpp59 ret = (double)m_profiles[m_profileIdx].imageInfo.width; in getProperty()
63 ret = (double)m_profiles[m_profileIdx].imageInfo.height; in getProperty()
522 return (PXCImage::COLOR_FORMAT_DEPTH == pinfo.imageInfo.format); in validProfile()
/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.cpp494 const SkImageInfo& imageInfo = SkImageInfo::Make(width, height, in ReadHeader() local
502 *codecOut = new SkBmpStandardCodec(imageInfo, stream, bitsPerPixel, numColors, in ReadHeader()
512 *codecOut = new SkBmpMaskCodec(imageInfo, stream, bitsPerPixel, masks.detach(), in ReadHeader()
521 *codecOut = new SkBmpRLECodec(imageInfo, stream, bitsPerPixel, numColors, in ReadHeader()
DSkGifCodec.cpp217 SkImageInfo imageInfo = SkImageInfo::Make(size.width(), size.height(), kIndex_8_SkColorType, in ReadHeader() local
219 *codecOut = new SkGifCodec(imageInfo, streamDeleter.detach(), gif.detach(), transIndex, 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()
DSkBitmapDevice.h61 SkImageInfo imageInfo() const override;
/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/tools/debugger/
DSkDebugCanvas.h168 SkIntToScalar(this->imageInfo().width()), in getClipBounds()
169 SkIntToScalar(this->imageInfo().height())); in getClipBounds()
/external/skia/src/animator/
DSkSnapshot.cpp65 pixels.allocPixels(maker.fCanvas->imageInfo()); in draw()
/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()
DSkLinearBitmapPipeline.cpp602 const SkImageInfo& imageInfo = srcPixmap.info(); in choose_pixel_sampler() local
603 switch (imageInfo.colorType()) { in choose_pixel_sampler()
606 if (kN32_SkColorType == imageInfo.colorType()) { in choose_pixel_sampler()
607 if (imageInfo.profileType() == kSRGB_SkColorProfileType) { in choose_pixel_sampler()
/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/svg/
DSkSVGDevice.h19 SkImageInfo imageInfo() const override;

123