Home
last modified time | relevance | path

Searched refs:pixelSize (Results 1 – 25 of 152) sorted by relevance

1234567

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesImageBlockShapes.cpp230 …deUint32 pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBy… in iterate() local
238 switch (pixelSize) in iterate()
261 DE_ASSERT(pixelSize == 128); in iterate()
275 switch (pixelSize) in iterate()
294 DE_ASSERT(pixelSize == 128); in iterate()
307 switch (pixelSize) in iterate()
326 DE_ASSERT(pixelSize == 128); in iterate()
339 switch (pixelSize) in iterate()
358 DE_ASSERT(pixelSize == 128); in iterate()
371 switch (pixelSize) in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageBlockShapes.cpp230 …deUint32 pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBy… in iterate() local
238 switch (pixelSize) in iterate()
261 DE_ASSERT(pixelSize == 128); in iterate()
275 switch (pixelSize) in iterate()
294 DE_ASSERT(pixelSize == 128); in iterate()
307 switch (pixelSize) in iterate()
326 DE_ASSERT(pixelSize == 128); in iterate()
339 switch (pixelSize) in iterate()
358 DE_ASSERT(pixelSize == 128); in iterate()
371 switch (pixelSize) in iterate()
[all …]
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DHdmxTests.java41 assertEquals(6, hdmxTable.pixelSize(0)); in testBasicHdmx()
42 assertEquals(7, hdmxTable.pixelSize(1)); in testBasicHdmx()
43 assertEquals(24, hdmxTable.pixelSize(18)); in testBasicHdmx()
64 int x = hdmxTable.pixelSize(19); in testHdmxBounds()
71 int x = hdmxTable.pixelSize(-1); in testHdmxBounds()
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DHdmxTests.java41 assertEquals(6, hdmxTable.pixelSize(0)); in testBasicHdmx()
42 assertEquals(7, hdmxTable.pixelSize(1)); in testBasicHdmx()
43 assertEquals(24, hdmxTable.pixelSize(18)); in testBasicHdmx()
64 int x = hdmxTable.pixelSize(19); in testHdmxBounds()
71 int x = hdmxTable.pixelSize(-1); in testHdmxBounds()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageSubresourceLayoutTests.cpp73 VkDeviceSize pixelSize () const;
142 VkDeviceSize BufferLevels::pixelSize () const in pixelSize() function in vkt::image::__anon82fc87ca0111::BufferLevels
388 const auto pixelSize = bufferLevels.pixelSize(); in iterateAspect() local
389 const auto pixelSizeSz = static_cast<size_t>(pixelSize); in iterateAspect()
551 if (subresourceLayout.size < pixelSize * numPixels) in iterateAspect()
558 << " with pixel size " << pixelSize in iterateAspect()
564 if (subresourceHeight > 1u && subresourceLayout.rowPitch < pixelSize * subresourceWidth) in iterateAspect()
571 << " bytes with " << pixelSize in iterateAspect()
576 if (numLayers > 1u && subresourceLayout.arrayPitch < pixelSize * numPixels) in iterateAspect()
583 << " bytes with " << pixelSize in iterateAspect()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp73 VkDeviceSize pixelSize () const;
142 VkDeviceSize BufferLevels::pixelSize () const in pixelSize() function in vkt::image::__anon0421c94a0111::BufferLevels
388 const auto pixelSize = bufferLevels.pixelSize(); in iterateAspect() local
389 const auto pixelSizeSz = static_cast<size_t>(pixelSize); in iterateAspect()
551 if (subresourceLayout.size < pixelSize * numPixels) in iterateAspect()
558 << " with pixel size " << pixelSize in iterateAspect()
564 if (subresourceHeight > 1u && subresourceLayout.rowPitch < pixelSize * subresourceWidth) in iterateAspect()
571 << " bytes with " << pixelSize in iterateAspect()
576 if (numLayers > 1u && subresourceLayout.arrayPitch < pixelSize * numPixels) in iterateAspect()
583 << " bytes with " << pixelSize in iterateAspect()
[all …]
/third_party/harfbuzz/src/
Dhb-ot-hdmx-table.hh49 bool serialize (hb_serialize_context_t *c, unsigned pixelSize, Iterator it) in serialize()
57 this->pixelSize = pixelSize; in serialize()
75 HBUINT8 pixelSize; /* Pixel size for following widths (as ppem). */ member
141 return hb_pair ((unsigned) device_record->pixelSize, +row); in subset()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-hdmx-table.hh49 bool serialize (hb_serialize_context_t *c, unsigned pixelSize, Iterator it) in serialize()
57 this->pixelSize = pixelSize; in serialize()
75 HBUINT8 pixelSize; /* Pixel size for following widths (as ppem). */ member
141 return hb_pair ((unsigned) device_record->pixelSize, +row); in subset()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-hdmx-table.hh49 bool serialize (hb_serialize_context_t *c, unsigned pixelSize, Iterator it) in serialize()
57 this->pixelSize = pixelSize; in serialize()
75 HBUINT8 pixelSize; /* Pixel size for following widths (as ppem). */ member
144 return hb_pair ((unsigned) device_record->pixelSize, +row); in subset()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fReadPixelsTests.cpp66 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize);
144 …elsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize) in getFormatInfo() argument
157 pixelSize = format.getPixelSize(); in getFormatInfo()
162 pixelSize = 1 * 4; in getFormatInfo()
177 int pixelSize; in iterate() local
181 getFormatInfo(format, glFormat, glType, pixelSize); in iterate()
208 …const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * width) / (float)m_alignmen… in iterate()
/third_party/flutter/skia/third_party/etc1/
Detc1.cpp523 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument
524 if (pixelSize < 2 || pixelSize > 3) { in etc1_encode_image()
550 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
551 if (pixelSize == 3) { in etc1_encode_image()
559 p += pixelSize; in etc1_encode_image()
580 etc1_uint32 pixelSize, etc1_uint32 stride) { in etc1_decode_image() argument
581 if (pixelSize < 2 || pixelSize > 3) { in etc1_decode_image()
603 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
604 if (pixelSize == 3) { in etc1_decode_image()
Detc1.h76 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
88 etc1_uint32 pixelSize, etc1_uint32 stride);
/third_party/skia/third_party/etc1/
Detc1.cpp518 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument
519 if (pixelSize < 2 || pixelSize > 3) { in etc1_encode_image()
545 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
546 if (pixelSize == 3) { in etc1_encode_image()
554 p += pixelSize; in etc1_encode_image()
575 etc1_uint32 pixelSize, etc1_uint32 stride) { in etc1_decode_image() argument
576 if (pixelSize < 2 || pixelSize > 3) { in etc1_decode_image()
598 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
599 if (pixelSize == 3) { in etc1_decode_image()
Detc1.h76 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
88 etc1_uint32 pixelSize, etc1_uint32 stride);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawImageObjectUtil.cpp44 void MemoryOp::pack (int pixelSize, in pack() argument
57 rowPitch = width * pixelSize; in pack()
71 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
83 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
89 srcRow += pixelSize * width; in pack()
96 void MemoryOp::unpack (int pixelSize, in unpack() argument
109 rowPitch = width * pixelSize; in unpack()
123 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in unpack()
133 vk::VkDeviceSize offsetDepthDst = d * (pixelSize * width * height); in unpack()
139 deMemcpy(dstRow, srcRow, static_cast<size_t>(pixelSize * width)); in unpack()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp44 void MemoryOp::pack (int pixelSize, in pack() argument
57 rowPitch = width * pixelSize; in pack()
71 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
83 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
89 srcRow += pixelSize * width; in pack()
96 void MemoryOp::unpack (int pixelSize, in unpack() argument
109 rowPitch = width * pixelSize; in unpack()
123 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in unpack()
133 vk::VkDeviceSize offsetDepthDst = d * (pixelSize * width * height); in unpack()
139 deMemcpy(dstRow, srcRow, static_cast<size_t>(pixelSize * width)); in unpack()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fReadPixelsTests.cpp88 void getFormatInfo (tcu::TextureFormat& format, int& pixelSize);
89 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize);
204 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, int& pixelSize) in getFormatInfo() argument
218 pixelSize = format.getPixelSize(); in getFormatInfo()
221 …d ReadPixelsTest::clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize) in clearColor() argument
314 …const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * rowWidth) / (float)m_align… in clearColor()
330 int pixelSize; in iterate() local
332 getFormatInfo(format, pixelSize); in iterate()
353 clearColor(reference, pixelData, pixelSize); in iterate()
356 …const int rowPitch = m_alignment * deCeilFloatToInt32((float)(pixelSize * rowWidth) / (floa… in iterate()
[all …]
Des3fTextureSpecificationTests.cpp1080 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
1082 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
1089 data.resize(pixelSize * m_skipPixels + rowPitch * (m_height + m_skipRows)); in createTexture()
1096 …m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, col… in createTexture()
1148 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
1150 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
1159 …data.resize(pixelSize * m_skipPixels + rowPitch * m_skipRows + slicePitch * (m_skipImages + m_dept… in createTexture()
1166 …&data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, col… in createTexture()
1380 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
1390 data.resize(deAlign32(m_width*pixelSize, 4)*m_height); in createTexture()
[all …]
/third_party/vk-gl-cts/framework/opengl/
DgluPixelTransfer.cpp38 int pixelSize = format.getPixelSize(); in getTransferAlignment() local
39 if (deIsPowerOfTwo32(pixelSize)) in getTransferAlignment()
40 return de::min(pixelSize, 8); in getTransferAlignment()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DUnpackAlignmentTest.cpp104 unsigned int pixelSize; in testAlignment() local
105 getPixelSize(format, type, &pixelSize); in testAlignment()
106 for (unsigned int i = 0; i < pixelSize; i++) in testAlignment()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DUnpackAlignmentTest.cpp104 unsigned int pixelSize; in testAlignment() local
105 getPixelSize(format, type, &pixelSize); in testAlignment()
106 for (unsigned int i = 0; i < pixelSize; i++) in testAlignment()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DHdmxEncoder.java47 int ppem = hdmx.pixelSize(i); in encode()
63 result.writeByte(HEADER_SIZE + RECORD_SIZE * i, (byte) hdmx.pixelSize(i)); in encode()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DHdmxEncoder.java47 int ppem = hdmx.pixelSize(i); in encode()
63 result.writeByte(HEADER_SIZE + RECORD_SIZE * i, (byte) hdmx.pixelSize(i)); in encode()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.h1704 int pitch, int height, int pixelSize,
1709 int pitch, int height, int pixelSize,
1726 int width, int pitch, int height, int pixelSize,
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.h1716 int pitch, int height, int pixelSize,
1721 int pitch, int height, int pixelSize,
1738 int width, int pitch, int height, int pixelSize,

1234567