Home
last modified time | relevance | path

Searched refs:rowPitch (Results 1 – 25 of 34) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp53 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack() local
56 if (rowPitch == 0) in pack()
57 rowPitch = width * pixelSize; in pack()
60 depthPitch = rowPitch * height; in pack()
71 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
72 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
88 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
90 dstRow += rowPitch; in pack()
105 vk::VkDeviceSize rowPitch = rowPitchOrZero; in unpack() local
108 if (rowPitch == 0) in unpack()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp989 int rowPitch = deAlign32(levelW*m_texFormat.getPixelSize(), m_alignment); in createTexture() local
992 data.resize(rowPitch*levelH); in createTexture()
993 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), c… in createTexture()
1043 int rowPitch = deAlign32(m_texFormat.getPixelSize()*levelSize, m_alignment); in createTexture() local
1048 data.resize(rowPitch*levelSize); in createTexture()
1049 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[… in createTexture()
1082 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
1089 data.resize(pixelSize * m_skipPixels + rowPitch * (m_height + m_skipRows)); in createTexture()
1096 …::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch in createTexture()
1150 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
[all …]
Des3fReadPixelsTests.cpp314 …const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * rowWidth) / (float)m_align… in clearColor() local
316 pixelData.resize(rowPitch * (m_height + m_skipRows), 0); in clearColor()
356 …const int rowPitch = m_alignment * deCeilFloatToInt32((float)(pixelSize * rowWidth) / (floa… in iterate() local
357 …ferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[pixelSize * m_skipPixels + m_skip… in iterate()
/external/deqp/modules/gles31/functional/
Des31fTextureSpecificationTests.cpp432 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
434 int slicePitch = imageHeight*rowPitch; in createTexture()
449 …_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_… in createTexture()
535 int rowPitch = deAlign32(pixelSize*m_size, 4); in createTexture() local
536 int slicePitch = rowPitch*m_size; in createTexture()
539 …tGradients(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &dat… in createTexture()
547 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
549 int slicePitch = imageHeight*rowPitch; in createTexture()
556 …m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_… in createTexture()
726 int rowPitch = deAlign32(rowLength*pixelSize, alignment); in createTexture() local
[all …]
Des31fShaderImageLoadStoreTests.cpp1330 const int rowPitch = sliceAccess.getRowPitch(); in replaceBadFloatReinterpretValues() local
1336 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in replaceBadFloatReinterpretValues()
1511 const int rowPitch = sliceAccess.getRowPitch(); in iterate() local
1517 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in iterate()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp208 …const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * width) / (float)m_alignmen… in iterate() local
210 pixelData.resize(rowPitch * height, 0); in iterate()
231 …tcu::copy(resultRGBA8.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &… in iterate()
247 …reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0… in iterate()
Des2fTextureSpecificationTests.cpp862 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture() local
865 data.resize(rowPitch*levelH); in createTexture()
866 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
910 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture() local
915 data.resize(rowPitch*levelH); in createTexture()
916 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
1226 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); in createTexture() local
1227 data.resize(rowPitch*m_subH); in createTexture()
1228 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, m_subW, m_subH, 1, rowPitch, 0, &data[0]), 4, Vec4(1… in createTexture()
1283 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); in createTexture() local
[all …]
/external/dng_sdk/source/
Ddng_misc_opcodes.h88 uint32 rowPitch = 1,
94 , fRowPitch (rowPitch) in fArea()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl91 …SubresourceLayout (VkDeviceSize offset, VkDeviceSize size, VkDeviceSize rowPitch, VkDeviceSize arr… argument
96 res.rowPitch = rowPitch;
DvkImageUtil.cpp2179 const deUint32 rowPitch = planeRowPitches[planeNdx]; in getChannelAccess() local
2191 tcu::IVec3((int)pixelStrideBytes, (int)rowPitch, 0), in getChannelAccess()
DvkStructTypes.inl517 VkDeviceSize rowPitch; member
/external/deqp/framework/common/
DtcuTextureUtil.cpp328 const int rowPitch = access.getRowPitch(); in flipYAccess() local
329 const int offsetToLast = rowPitch*(access.getHeight()-1); in flipYAccess()
330 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch()); in flipYAccess()
342 const int rowPitch = access.getRowPitch(); in flipYAccess() local
343 const int offsetToLast = rowPitch*(access.getHeight()-1); in flipYAccess()
344 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch()); in flipYAccess()
DtcuTexture.cpp878 const int rowPitch = pixelSize * size.x(); in calculatePackedPitch() local
879 const int slicePitch = rowPitch * size.y(); in calculatePackedPitch()
881 return IVec3(pixelSize, rowPitch, slicePitch); in calculatePackedPitch()
909 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, … in ConstPixelBufferAccess() argument
912 , m_pitch (format.getPixelSize(), rowPitch, slicePitch) in ConstPixelBufferAccess()
946 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, … in PixelBufferAccess() argument
947 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data) in PixelBufferAccess()
DtcuTexture.hpp343 …ss (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, …
403 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, …
/external/mesa3d/src/intel/vulkan/
Danv_dump.c237 map += layout.rowPitch; in dump_image_write_to_ppm()
Danv_image.c723 layout->rowPitch = surface->isl.row_pitch; in anv_GetImageSubresourceLayout()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp458 …void* const dstPtr = ((deUint8*)allocation->getHostPtr()) + layout.offset + layout.rowPitch * r… in fillImageMemory()
683 … const srcPtr = ((const deUint8*)allocation->getHostPtr()) + layout.offset + layout.rowPitch * row; in readImageMemory()
956 const deUint32 rowPitch = formatInfo.planes[planeNdx].elementSizeBytes * accessWidth; in getChannelAccess() local
957 const deUint32 rowPitchBits = rowPitch * 8; in getChannelAccess()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c1251 pLayout->rowPitch = surface->u.gfx9.surf_pitch * surface->bpe; in radv_GetImageSubresourceLayout()
1259 pLayout->rowPitch = surface->u.legacy.level[level].nblk_x * surface->bpe; in radv_GetImageSubresourceLayout()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp573 VkDeviceSize offset = top * layout.rowPitch + left * bpp; in uploadTexDataLinear()
574 VkDeviceSize size = height*layout.rowPitch; in uploadTexDataLinear()
582 SkRectMemcpy(mapPtr, static_cast<size_t>(layout.rowPitch), data, rowBytes, trimRowBytes, in uploadTexDataLinear()
/external/swiftshader/src/Vulkan/
DVkImage.cpp68 pLayout->rowPitch = rowPitchBytes(flags, pSubresource->mipLevel); in getSubresourceLayout()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp576 VkDeviceSize offset = top * layout.rowPitch + left * bpp; in uploadTexDataLinear()
577 VkDeviceSize size = height*layout.rowPitch; in uploadTexDataLinear()
585 SkRectMemcpy(mapPtr, static_cast<size_t>(layout.rowPitch), data, rowBytes, trimRowBytes, in uploadTexDataLinear()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common.c293 image->row_pitch = image_layout.rowPitch; in wsi_create_native_image()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp933 int rowPitch = deAlign32(rowLen*pixelSize, m_pixelUnpackAlignment); in getUnpack2DAccess() local
934 …const deUint8* ptr = (const deUint8*)data + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSkipPi… in getUnpack2DAccess()
936 return tcu::ConstPixelBufferAccess(format, width, height, 1, rowPitch, 0, ptr); in getUnpack2DAccess()
944 int rowPitch = deAlign32(rowLen*pixelSize, m_pixelUnpackAlignment); in getUnpack3DAccess() local
945 int slicePitch = imageHeight*rowPitch; in getUnpack3DAccess()
946 …int8*)data + m_pixelUnpackSkipImages*slicePitch + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSk… in getUnpack3DAccess()
948 return tcu::ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, ptr); in getUnpack3DAccess()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp1224 uint32_t *row = (uint32_t *)((char *)data + layout.rowPitch * y); in Read()
1275 uint32_t *row = (uint32_t *)((char *)data + layout.rowPitch * y); in VkTextureObj()
/external/mesa3d/include/vulkan/
Dvulkan.h1951 VkDeviceSize rowPitch; member

12