Home
last modified time | relevance | path

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

12

/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
DsbixGlyph.py25 …enceGlyphName=None, originOffsetX=0, originOffsetY=0, graphicType=None, imageData=None, rawdata=No… argument
33 self.imageData = imageData
64 self.imageData = self.rawdata[sbixGlyphHeaderFormatSize:]
80 self.rawdata = sstruct.pack(sbixGlyphHeaderFormat, self) + self.imageData
103 xmlWriter.dumphex(self.imageData)
114 …self.imageData = struct.pack(">H", ttFont.getGlyphID(safeEval("'''" + attrs["glyphname"] + "'''")))
116 self.imageData = readHex(content)
DE_B_D_T_.py263 writer.dumphex(bitmapObject.imageData)
268 bitmapObject.imageData = readHex(content)
363 file.write(bitmapObject.imageData)
368 bitmapObject.imageData = file.read()
536 curByte = _reverseBytes(self.imageData[firstByteLoc])
540 if firstByteLoc < secondByteLoc and secondByteLoc < len(self.imageData):
541 curByte = _reverseBytes(self.imageData[secondByteLoc])
582 self.imageData = _reverseBytes(bytesjoin(map(bytechr, ordDataList)))
596 data = self.imageData[slice(*byteRange)]
606 self.imageData = bytesjoin(dataRows)
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp140 const MultiPlaneImageData& imageData, in allocateStagingBuffers() argument
144 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateStagingBuffers()
151 (VkDeviceSize)imageData.getPlaneSize(planeNdx), in allocateStagingBuffers()
171 const MultiPlaneImageData& imageData, in allocateAndWriteStagingBuffers() argument
175 allocateStagingBuffers(vkd, device, allocator, imageData, buffers, allocations); in allocateAndWriteStagingBuffers()
177 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateAndWriteStagingBuffers()
179 …deMemcpy((*allocations)[planeNdx]->getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPla… in allocateAndWriteStagingBuffers()
184 void readStagingBuffers (MultiPlaneImageData* imageData, in readStagingBuffers() argument
189 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in readStagingBuffers()
192 …deMemcpy(imageData->getPlanePtr(planeNdx), allocations[planeNdx]->getHostPtr(), imageData->getPlan… in readStagingBuffers()
[all …]
DvktYCbCrUtil.hpp84 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData);
85 void fillGradient (MultiPlaneImageData* imageData, const tcu::Vec4& minVal, const tcu::…
100 const MultiPlaneImageData& imageData,
109 const MultiPlaneImageData& imageData,
118 MultiPlaneImageData* imageData,
127 MultiPlaneImageData* imageData,
DvktYCbCrFormatTests.cpp368 MultiPlaneImageData imageData (format, size); in testFormat() local
414 fillGradient(&imageData, Vec4(0.0f), Vec4(1.0f)); in testFormat()
424 imageData, in testFormat()
436 imageData, in testFormat()
465 const tcu::ConstPixelBufferAccess channelAccess = imageData.getChannelAccess(channelNdx); in testFormat()
DvktYCbCrViewTests.cpp578 MultiPlaneImageData imageData (format, size); in testPlaneView() local
581 fillRandom(&randomGen, &imageData); in testPlaneView()
614 imageData, in testPlaneView()
643 const tcu::ConstPixelBufferAccess channelAccess = imageData.getChannelAccess(channelNdx); in testPlaneView()
664 imageData.getPlanePtr(params.planeNdx)); in testPlaneView()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp508 ImageData& imageData,
514 vector<ImageData>& imageData);
521 void createImageInfos (ImageData& imageData,
525 vector<ImageData>& imageData,
546 vector<ImageData> imageData (m_parameters.imagesCount); in iterate() local
553 createImageInfos(imageData[imageNdx], mipMapSizes, isCompressed); in iterate()
554 for (deUint32 infoNdx = 0u; infoNdx < imageData[imageNdx].getImageInfoCount(); ++infoNdx) in iterate()
556imageData[imageNdx].addImage(MovePtr<Image>(new Image(vk, device, allocator, imageData[imageNdx].g… in iterate()
568imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
576imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
[all …]
/external/skia/src/codec/
DSkRawCodec.cpp556 ::piex::PreviewImageData imageData; in initFromPiex()
558 && ::piex::GetPreviewImageData(&piexStream, &imageData) == ::piex::Error::kOk) in initFromPiex()
560 dng_point cfaPatternSize(imageData.cfa_pattern_dim[1], imageData.cfa_pattern_dim[0]); in initFromPiex()
561 return this->init(static_cast<int>(imageData.full_width), in initFromPiex()
562 static_cast<int>(imageData.full_height), cfaPatternSize); in initFromPiex()
631 ::piex::PreviewImageData imageData; in MakeFromStream()
633 ::piex::Error error = ::piex::GetPreviewImageData(&piexStream, &imageData); in MakeFromStream()
640 if (imageData.color_space == ::piex::PreviewImageData::kAdobeRgb) { in MakeFromStream()
650 if (error == ::piex::Error::kOk && imageData.preview.length > 0 && in MakeFromStream()
651 imageData.preview.format == ::piex::Image::kJpegCompressed) in MakeFromStream()
[all …]
/external/skqp/src/codec/
DSkRawCodec.cpp556 ::piex::PreviewImageData imageData; in initFromPiex()
558 && ::piex::GetPreviewImageData(&piexStream, &imageData) == ::piex::Error::kOk) in initFromPiex()
560 dng_point cfaPatternSize(imageData.cfa_pattern_dim[1], imageData.cfa_pattern_dim[0]); in initFromPiex()
561 return this->init(static_cast<int>(imageData.full_width), in initFromPiex()
562 static_cast<int>(imageData.full_height), cfaPatternSize); in initFromPiex()
631 ::piex::PreviewImageData imageData; in MakeFromStream()
633 ::piex::Error error = ::piex::GetPreviewImageData(&piexStream, &imageData); in MakeFromStream()
640 if (imageData.color_space == ::piex::PreviewImageData::kAdobeRgb) { in MakeFromStream()
650 if (error == ::piex::Error::kOk && imageData.preview.length > 0 && in MakeFromStream()
651 imageData.preview.format == ::piex::Image::kJpegCompressed) in MakeFromStream()
[all …]
/external/skia/modules/canvaskit/tests/
Dutil.js12 const imageData = new ImageData(pixels, CANVAS_WIDTH, CANVAS_HEIGHT);
15 reportingCanvas.getContext('2d').putImageData(imageData, 0, 0);
/external/skia/tests/
DSwizzlerTest.cpp32 uint8_t* imageData = storage.get() + offset; in check_fill() local
33 uint8_t* imageStart = imageData + rowBytes * startRow; in check_fill()
39 uint8_t* indexPtr = imageData + startRow * rowBytes; in check_fill()
/external/skqp/tests/
DSwizzlerTest.cpp32 uint8_t* imageData = storage.get() + offset; in check_fill() local
33 uint8_t* imageStart = imageData + rowBytes * startRow; in check_fill()
39 uint8_t* indexPtr = imageData + startRow * rowBytes; in check_fill()
/external/skqp/src/svg/
DSkSVGDevice.cpp406 sk_sp<SkData> imageData = image->encodeToData(); in AsDataUri() local
407 if (!imageData) { in AsDataUri()
411 const char* src = (char*)imageData->data(); in AsDataUri()
418 if (SkJpegCodec::IsJpeg(src, imageData->size())) { in AsDataUri()
422 if (!SkPngCodec::IsPng(src, imageData->size())) { in AsDataUri()
423 imageData = image->encodeToData(SkEncodedImageFormat::kPNG, 100); in AsDataUri()
429 size_t b64Size = SkBase64::Encode(imageData->data(), imageData->size(), nullptr); in AsDataUri()
433 SkBase64::Encode(imageData->data(), imageData->size(), dest + selectedPrefixLength - 1); in AsDataUri()
/external/skia/src/svg/
DSkSVGDevice.cpp409 sk_sp<SkData> imageData = image->encodeToData(); in AsDataUri() local
410 if (!imageData) { in AsDataUri()
414 const char* src = (char*)imageData->data(); in AsDataUri()
421 if (SkJpegCodec::IsJpeg(src, imageData->size())) { in AsDataUri()
425 if (!SkPngCodec::IsPng(src, imageData->size())) { in AsDataUri()
426 imageData = image->encodeToData(SkEncodedImageFormat::kPNG, 100); in AsDataUri()
432 size_t b64Size = SkBase64::Encode(imageData->data(), imageData->size(), nullptr); in AsDataUri()
436 SkBase64::Encode(imageData->data(), imageData->size(), dest + selectedPrefixLength - 1); in AsDataUri()
/external/skia/experimental/wasm-skp-debugger/
Dcpu.js65 var imageData = new ImageData(pixels, this._width, this._height);
66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
/external/skia/modules/canvaskit/
Dcpu.js64 var imageData = new ImageData(pixels, this._width, this._height);
66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
/external/skqp/experimental/canvaskit/
Dcpu.js64 var imageData = new ImageData(pixels, this._width, this._height);
66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp1131 ImageTestData imageData = imagesTestData[imageDataNdx]; in initTests() local
1134 …u::TestCaseGroup> imageGroup(new tcu::TestCaseGroup(testCtx, imageData.groupName, imageData.groupN… in initTests()
1199 imageData.width, in initTests()
1200 imageData.height, in initTests()
1204 imageData.renderArea, in initTests()
1210 imageData.clearValue, in initTests()
1225 imageData.width, in initTests()
1226 imageData.height, in initTests()
1230 imageData.renderArea, in initTests()
1236 imageData.clearValue, in initTests()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js804 this.putImageData = function(imageData, x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { argument
810 this._canvas.writePixels(imageData.data, imageData.width, imageData.height, x, y);
815 dirtyWidth = dirtyWidth || imageData.width;
816 dirtyHeight = dirtyHeight || imageData.height;
838 var img = CanvasKit.MakeImage(imageData.data, imageData.width, imageData.height,
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js804 this.putImageData = function(imageData, x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { argument
810 this._canvas.writePixels(imageData.data, imageData.width, imageData.height, x, y);
815 dirtyWidth = dirtyWidth || imageData.width;
816 dirtyHeight = dirtyHeight || imageData.height;
838 var img = CanvasKit.MakeImage(imageData.data, imageData.width, imageData.height,
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp314 const ycbcr::MultiPlaneImageData& imageData, in uploadYCbCrImage() argument
326 const vk::PlanarFormatDescription& formatDesc = imageData.getDescription(); in uploadYCbCrImage()
331 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage()
336 (deUint32)imageData.getPlaneSize(planeNdx), in uploadYCbCrImage()
350 (deUint32)imageData.getPlaneSize(planeNdx) in uploadYCbCrImage()
354 …deMemcpy(buffer->getAllocation().getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPlane… in uploadYCbCrImage()
355 …llocation().getMemory(), buffer->getAllocation().getOffset(), (deUint32)imageData.getPlaneSize(pla… in uploadYCbCrImage()
362 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage()
391 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage()
397 ? imageData.getSize().x() / formatDesc.planes[planeNdx].widthDivisor in uploadYCbCrImage()
[all …]
/external/skqp/experimental/canvaskit/tests/
Dpath.spec.js43 var imageData = new ImageData(pixels, CANVAS_WIDTH, CANVAS_HEIGHT);
46 reportingCanvas.getContext('2d').putImageData(imageData, 0, 0);
/external/fonttools/Lib/fontTools/ufoLib/
DglifLib.py1064 imageData = dict(image.attrib)
1066 value = imageData.get(attr, default)
1067 imageData[attr] = _number(value)
1068 if validate and not imageValidator(imageData):
1070 _relaxedSetattr(glyphObject, "image", imageData)
/external/noto-fonts/scripts/
Dcolor_emoji_image_diff.py109 glyph_to_image[key] = Image.open(io.BytesIO(data.imageData))

12