Home
last modified time | relevance | path

Searched refs:imageData (Results 1 – 14 of 14) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp128 const MultiPlaneImageData& imageData, in allocateStagingBuffers() argument
132 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateStagingBuffers()
139 (VkDeviceSize)imageData.getPlaneSize(planeNdx), in allocateStagingBuffers()
159 const MultiPlaneImageData& imageData, in allocateAndWriteStagingBuffers() argument
163 allocateStagingBuffers(vkd, device, allocator, imageData, buffers, allocations); in allocateAndWriteStagingBuffers()
165 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateAndWriteStagingBuffers()
167 …deMemcpy((*allocations)[planeNdx]->getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPla… in allocateAndWriteStagingBuffers()
172 void readStagingBuffers (MultiPlaneImageData* imageData, in readStagingBuffers() argument
177 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in readStagingBuffers()
180 …deMemcpy(imageData->getPlanePtr(planeNdx), allocations[planeNdx]->getHostPtr(), imageData->getPlan… in readStagingBuffers()
[all …]
DvktYCbCrUtil.hpp75 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData);
76 void fillGradient (MultiPlaneImageData* imageData, const tcu::Vec4& minVal, const tcu::…
91 const MultiPlaneImageData& imageData,
100 const MultiPlaneImageData& imageData,
109 MultiPlaneImageData* imageData,
118 MultiPlaneImageData* imageData,
DvktYCbCrFormatTests.cpp367 MultiPlaneImageData imageData (format, size); in testFormat() local
370 fillGradient(&imageData, Vec4(0.0f), Vec4(1.0f)); in testFormat()
380 imageData, in testFormat()
392 imageData, in testFormat()
421 const tcu::ConstPixelBufferAccess channelAccess = imageData.getChannelAccess(channelNdx); in testFormat()
DvktYCbCrViewTests.cpp582 MultiPlaneImageData imageData (format, size); in testPlaneView() local
585 fillRandom(&randomGen, &imageData); in testPlaneView()
618 imageData, in testPlaneView()
647 const tcu::ConstPixelBufferAccess channelAccess = imageData.getChannelAccess(channelNdx); in testPlaneView()
668 imageData.getPlanePtr(params.planeNdx)); in testPlaneView()
DvktYCbCrConversionTests.cpp1778 const MultiPlaneImageData& imageData, in evalShader() argument
1832 ….getUniversalQueueFamilyIndex(), context.getDefaultAllocator(), *image, imageData, vk::VK_ACCESS_S… in evalShader()
1834 …d, device, context.getUniversalQueueFamilyIndex(), *image, imageMemory, imageData, vk::VK_ACCESS_S… in evalShader()
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_B_D_T_.py48 self.imageData = data[:dataLen]
53 dataList.append(struct.pack(">L", len(self.imageData)))
54 dataList.append(self.imageData)
67 self.imageData = data[:dataLen]
72 dataList.append(struct.pack(">L", len(self.imageData)))
73 dataList.append(self.imageData)
83 self.imageData = data[:dataLen]
86 return struct.pack(">L", len(self.imageData)) + self.imageData
DsbixBitmap.py19 …renceGlyphName=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=No… argument
27 self.imageData = imageData
47 self.imageData = self.rawdata[sbixBitmapHeaderFormatSize:]
63 self.rawdata = sstruct.pack(sbixBitmapHeaderFormat, self) + self.imageData
85 xmlWriter.dumphex(self.imageData)
99 self.imageData = struct.pack(">H", ttFont.getGlyphID(attrs["glyphname"]))
101 self.imageData = readHex(content)
DE_B_D_T_.py259 writer.dumphex(bitmapObject.imageData)
264 bitmapObject.imageData = readHex(content)
354 file.write(bitmapObject.imageData)
359 bitmapObject.imageData = file.read()
527 curByte = _reverseBytes(self.imageData[firstByteLoc])
531 if firstByteLoc < secondByteLoc and secondByteLoc < len(self.imageData):
532 curByte = _reverseBytes(self.imageData[secondByteLoc])
573 self.imageData = _reverseBytes(bytesjoin(map(bytechr, ordDataList)))
587 data = self.imageData[slice(*byteRange)]
597 self.imageData = bytesjoin(dataRows)
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp399 ImageData& imageData,
405 vector<ImageData>& imageData);
412 void createImageInfos (ImageData& imageData,
416 vector<ImageData>& imageData,
436 vector<ImageData> imageData (m_parameters.imagesCount); in iterate() local
443 createImageInfos(imageData[imageNdx], mipMapSizes, isCompressed); in iterate()
444 for (deUint32 infoNdx = 0u; infoNdx < imageData[imageNdx].getImageInfoCount(); ++infoNdx) in iterate()
446imageData[imageNdx].addImage(MovePtr<Image>(new Image(vk, device, allocator, imageData[imageNdx].g… in iterate()
458imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
466imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
[all …]
/external/skia/src/codec/
DSkRawCodec.cpp566 ::piex::PreviewImageData imageData; in initFromPiex()
568 && ::piex::GetPreviewImageData(&piexStream, &imageData) == ::piex::Error::kOk) in initFromPiex()
570 dng_point cfaPatternSize(imageData.cfa_pattern_dim[1], imageData.cfa_pattern_dim[0]); in initFromPiex()
571 return this->init(static_cast<int>(imageData.full_width), in initFromPiex()
572 static_cast<int>(imageData.full_height), cfaPatternSize); in initFromPiex()
643 ::piex::PreviewImageData imageData; in NewFromStream()
645 ::piex::Error error = ::piex::GetPreviewImageData(&piexStream, &imageData); in NewFromStream()
652 switch (imageData.color_space) { in NewFromStream()
663 if (error == ::piex::Error::kOk && imageData.preview.length > 0 && in NewFromStream()
664 imageData.preview.format == ::piex::Image::kJpegCompressed) in NewFromStream()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleInterpolationTests.cpp110 …virtual tcu::TestStatus verifyResolvedImage (const tcu::ConstPixelBufferAccess& imageData) cons…
764 tcu::TestStatus verifyResolvedImage (const tcu::ConstPixelBufferAccess& imageData) const;
808 … MSInstanceDistinctValues::verifyResolvedImage (const tcu::ConstPixelBufferAccess& imageData) const in verifyResolvedImage()
814 for (deInt32 z = 0u; z < imageData.getDepth(); ++z) in verifyResolvedImage()
815 for (deInt32 y = 0u; y < imageData.getHeight(); ++y) in verifyResolvedImage()
816 for (deInt32 x = 0u; x < imageData.getWidth(); ++x) in verifyResolvedImage()
818 const tcu::IVec4 pixel = imageData.getPixelInt(x, y, z); in verifyResolvedImage()
993 tcu::TestStatus verifyResolvedImage (const tcu::ConstPixelBufferAccess& imageData) const;
1053 …InterpolateScreenPosition::verifyResolvedImage (const tcu::ConstPixelBufferAccess& imageData) const in verifyResolvedImage()
1055 for (deInt32 z = 0u; z < imageData.getDepth(); ++z) in verifyResolvedImage()
[all …]
/external/skia/tests/
DSwizzlerTest.cpp37 uint8_t* imageData = storage.get() + offset; in check_fill() local
38 uint8_t* imageStart = imageData + rowBytes * startRow; in check_fill()
44 uint8_t* indexPtr = imageData + startRow * rowBytes; in check_fill()
/external/skia/experimental/GLFWTest/
Dglfw_main.cpp86 sk_sp<SkData> imageData(SkData::MakeFromFileName("ship.png")); in main() local
87 atlas.reset(SkImage::NewFromEncoded(imageData.get())); in main()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp1961 const LayeredImage imageData(m_imageType, m_format, imageSize.x(), imageSize.y(), imageSize.z()); in iterate() local
1969 imageData.setPixel(x, y, z, initial); in iterate()
1980 uploadTexture(glLog, imageData, *endResultTextureBuf); in iterate()
2364 const LayeredImage imageData(m_imageType, m_format, imageSize.x(), imageSize.y(), imageSize.z()); in iterate() local
2370 imageData.setPixel(x, y, z, IVec4(getCompareArg(IVec3(x, y, z), imageSize.x()))); in iterate()
2381 uploadTexture(glLog, imageData, *endResultTextureBuf); in iterate()