Searched refs:rowPitch (Results 1 - 25 of 30) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp52 vk::VkDeviceSize rowPitch = rowPitchOrZero; local
55 if (rowPitch == 0)
56 rowPitch = width * pixelSize;
59 depthPitch = rowPitch * height;
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) &&
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height))
87 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch));
89 dstRow += rowPitch;
104 vk::VkDeviceSize rowPitch = rowPitchOrZero; local
107 if (rowPitch
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp208 const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * width) / (float)m_alignment); local
210 pixelData.resize(rowPitch * height, 0);
231 tcu::copy(resultRGBA8.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0])));
247 if (tcu::floatThresholdCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0])), tcu::Vec4(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT))
H A Des2fTextureSpecificationTests.cpp843 int rowPitch = getRowPitch(fmt, levelW, m_alignment); local
846 data.resize(rowPitch*levelH);
847 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB);
888 int rowPitch = getRowPitch(fmt, levelW, m_alignment); local
893 data.resize(rowPitch*levelH);
894 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB);
1189 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); local
1190 data.resize(rowPitch*m_subH);
1191 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, m_subW, m_subH, 1, rowPitch, 0, &data[0]), 4, Vec4(1.0f, 0.0f, 0.0f, 1.0f), Vec4(0.0f, 1.0f, 0.0f, 1.0f));
1243 int rowPitch local
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fTextureSpecificationTests.cpp432 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
434 int slicePitch = imageHeight*rowPitch;
449 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB);
535 int rowPitch = deAlign32(pixelSize*m_size, 4); local
536 int slicePitch = rowPitch*m_size;
539 tcu::fillWithComponentGradients(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0]), m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
547 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
549 int slicePitch = imageHeight*rowPitch;
556 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitc
726 int rowPitch = deAlign32(rowLength*pixelSize, alignment); local
[all...]
H A Des31fShaderImageLoadStoreTests.cpp1330 const int rowPitch = sliceAccess.getRowPitch(); local
1336 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize;
1511 const int rowPitch = sliceAccess.getRowPitch(); local
1517 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize;
/external/deqp/modules/gles3/functional/
H A Des3fTextureSpecificationTests.cpp989 int rowPitch = deAlign32(levelW*m_texFormat.getPixelSize(), m_alignment); local
992 data.resize(rowPitch*levelH);
993 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB);
1043 int rowPitch = deAlign32(m_texFormat.getPixelSize()*levelSize, m_alignment); local
1048 data.resize(rowPitch*levelSize);
1049 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB);
1082 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
1089 data.resize(pixelSize * m_skipPixels + rowPitch * (m_height + m_skipRows));
1096 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch
1150 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
1397 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
1671 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); local
1740 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); local
1814 int rowPitch = deAlign32(pixelSize*m_width, 4); local
1826 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
2318 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
2392 const int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
2472 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
2554 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
2655 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
2754 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
2848 int rowPitch = deAlign32(pixelSize*m_width, 4); local
2860 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
2959 int rowPitch = deAlign32(pixelSize*m_width, 4); local
2971 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local
3270 int rowPitch = deAlign32(rowLength*pixelSize, alignment); local
3331 int rowPitch = deAlign32(rowLength*pixelSize, alignment); local
[all...]
H A Des3fReadPixelsTests.cpp314 const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * rowWidth) / (float)m_alignment); local
316 pixelData.resize(rowPitch * (m_height + m_skipRows), 0);
356 const int rowPitch = m_alignment * deCeilFloatToInt32((float)(pixelSize * rowWidth) / (float)m_alignment); local
357 const tcu::ConstPixelBufferAccess resultAccess = tcu::ConstPixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[pixelSize * m_skipPixels + m_skipRows * rowPitch]));
/external/dng_sdk/source/
H A Ddng_misc_opcodes.h88 uint32 rowPitch = 1,
94 , fRowPitch (rowPitch)
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkTypeUtil.inl91 inline VkSubresourceLayout makeSubresourceLayout (VkDeviceSize offset, VkDeviceSize size, VkDeviceSize rowPitch, VkDeviceSize arrayPitch, VkDeviceSize depthPitch)
96 res.rowPitch = rowPitch;
H A DvkImageUtil.cpp2093 const deUint32 rowPitch = planeRowPitches[planeNdx];
2105 tcu::IVec3((int)pixelStrideBytes, (int)rowPitch, 0),
H A DvkStructTypes.inl517 VkDeviceSize rowPitch;
/external/deqp/framework/common/
H A DtcuTextureUtil.cpp328 const int rowPitch = access.getRowPitch();
329 const int offsetToLast = rowPitch*(access.getHeight()-1);
330 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch());
342 const int rowPitch = access.getRowPitch();
343 const int offsetToLast = rowPitch*(access.getHeight()-1);
344 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch());
H A DtcuTexture.cpp878 const int rowPitch = pixelSize * size.x(); local
879 const int slicePitch = rowPitch * size.y();
881 return IVec3(pixelSize, rowPitch, slicePitch);
909 ConstPixelBufferAccess::ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data) argument
912 , m_pitch (format.getPixelSize(), rowPitch, slicePitch)
946 PixelBufferAccess::PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data) argument
947 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data)
H A DtcuTexture.hpp327 ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data);
367 IVec3 m_pitch; //!< (pixelPitch, rowPitch, slicePitch)
387 PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data);
/external/skia/src/gpu/vk/
H A DGrVkGpu.cpp581 VkDeviceSize offset = alloc.fOffset + texTop*layout.rowPitch + left*bpp;
583 VkDeviceSize size = height*layout.rowPitch;
607 char* dstRow = reinterpret_cast<char*>(mapPtr)+(height - 1)*layout.rowPitch;
611 dstRow -= layout.rowPitch;
614 SkRectMemcpy(mapPtr, static_cast<size_t>(layout.rowPitch), data, rowBytes, trimRowBytes,
1303 static_cast<size_t>(layout.rowPitch), h)) {
/external/skqp/src/gpu/vk/
H A DGrVkGpu.cpp606 VkDeviceSize offset = alloc.fOffset + texTop*layout.rowPitch + left*bpp;
608 VkDeviceSize size = height*layout.rowPitch;
632 char* dstRow = reinterpret_cast<char*>(mapPtr)+(height - 1)*layout.rowPitch;
636 dstRow -= layout.rowPitch;
639 SkRectMemcpy(mapPtr, static_cast<size_t>(layout.rowPitch), data, rowBytes, trimRowBytes,
1338 static_cast<size_t>(layout.rowPitch), h)) {
/external/mesa3d/src/intel/vulkan/
H A Danv_dump.c237 map += layout.rowPitch;
H A Danv_image.c404 layout->rowPitch = surface->isl.row_pitch;
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp484 void* const dstPtr = ((deUint8*)allocation->getHostPtr()) + layout.offset + layout.rowPitch * row;
791 const void* const srcPtr = ((const deUint8*)allocation->getHostPtr()) + layout.offset + layout.rowPitch * row;
1064 const deUint32 rowPitch = formatInfo.planes[planeNdx].elementSizeBytes * accessWidth;
1065 const deUint32 rowPitchBits = rowPitch * 8;
/external/mesa3d/src/amd/vulkan/
H A Dradv_image.c958 pLayout->rowPitch = image->surface.level[level].pitch_bytes;
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp933 int rowPitch = deAlign32(rowLen*pixelSize, m_pixelUnpackAlignment);
934 const deUint8* ptr = (const deUint8*)data + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSkipPixels*pixelSize;
936 return tcu::ConstPixelBufferAccess(format, width, height, 1, rowPitch, 0, ptr);
944 int rowPitch = deAlign32(rowLen*pixelSize, m_pixelUnpackAlignment);
945 int slicePitch = imageHeight*rowPitch;
946 const deUint8* ptr = (const deUint8*)data + m_pixelUnpackSkipImages*slicePitch + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSkipPixels*pixelSize;
948 return tcu::ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, ptr);
/external/vulkan-validation-layers/tests/
H A Dvkrenderframework.cpp1064 uint32_t *row = (uint32_t *)((char *)data + layout.rowPitch * y);
/external/vulkan-validation-layers/demos/
H A Dcube.c1465 rgba_data += layout->rowPitch;
1510 rgba_data += layout->rowPitch;
H A Dcube.cpp2347 rgba_data += layout->rowPitch;
/external/mesa3d/include/vulkan/
H A Dvulkan.h1659 VkDeviceSize rowPitch; member in struct:VkSubresourceLayout

Completed in 629 milliseconds

12