Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolImageObjectUtil.cpp52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack() local
55 if (rowPitch == 0) in pack()
56 rowPitch = width * pixelSize; in pack()
59 depthPitch = rowPitch * height; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
87 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
89 dstRow += rowPitch; in pack()
104 vk::VkDeviceSize rowPitch = rowPitchOrZero; in unpack() local
107 if (rowPitch == 0) in unpack()
[all …]
DvktQueryPoolImageObjectUtil.hpp223 vk::VkDeviceSize rowPitch,
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateImageObjectUtil.cpp52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack() local
55 if (rowPitch == 0) in pack()
56 rowPitch = width * pixelSize; in pack()
59 depthPitch = rowPitch * height; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
87 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
89 dstRow += rowPitch; in pack()
104 vk::VkDeviceSize rowPitch = rowPitchOrZero; in unpack() local
107 if (rowPitch == 0) in unpack()
[all …]
DvktDynamicStateImageObjectUtil.hpp234 vk::VkDeviceSize rowPitch,
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack() local
55 if (rowPitch == 0) in pack()
56 rowPitch = width * pixelSize; in pack()
59 depthPitch = rowPitch * height; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
87 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
89 dstRow += rowPitch; in pack()
104 vk::VkDeviceSize rowPitch = rowPitchOrZero; in unpack() local
107 if (rowPitch == 0) in unpack()
[all …]
DvktDrawImageObjectUtil.hpp233 vk::VkDeviceSize rowPitch,
/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
1090 data.resize(rowPitch*height); in createTexture()
1097 …::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch in createTexture()
1151 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.cpp430 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
432 int slicePitch = imageHeight*rowPitch; in createTexture()
447 …_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_… in createTexture()
533 int rowPitch = deAlign32(pixelSize*m_size, 4); in createTexture() local
534 int slicePitch = rowPitch*m_size; in createTexture()
537 …tGradients(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &dat… in createTexture()
545 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
547 int slicePitch = imageHeight*rowPitch; in createTexture()
554 …m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_… in createTexture()
724 int rowPitch = deAlign32(rowLength*pixelSize, alignment); in createTexture() local
[all …]
Des31fShaderImageLoadStoreTests.cpp1329 const int rowPitch = sliceAccess.getRowPitch(); in replaceBadFloatReinterpretValues() local
1335 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in replaceBadFloatReinterpretValues()
1510 const int rowPitch = sliceAccess.getRowPitch(); in iterate() local
1516 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.cpp843 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture() local
846 data.resize(rowPitch*levelH); in createTexture()
847 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
888 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture() local
893 data.resize(rowPitch*levelH); in createTexture()
894 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
1189 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); in createTexture() local
1190 data.resize(rowPitch*m_subH); in createTexture()
1191 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, m_subW, m_subH, 1, rowPitch, 0, &data[0]), 4, Vec4(1… in createTexture()
1243 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); in createTexture() local
[all …]
/external/skia/src/gpu/vk/
DGrVkGpu.cpp355 VkDeviceSize offset = texTop*layout.rowPitch + left*bpp; in uploadTexData()
356 VkDeviceSize size = height*layout.rowPitch; in uploadTexData()
367 char* dstRow = reinterpret_cast<char*>(mapPtr)+(height - 1)*layout.rowPitch; in uploadTexData()
371 dstRow -= layout.rowPitch; in uploadTexData()
375 if (trimRowBytes == rowBytes && trimRowBytes == layout.rowPitch) { in uploadTexData()
378 SkRectMemcpy(mapPtr, layout.rowPitch, data, rowBytes, trimRowBytes, height); in uploadTexData()
783 layout.rowPitch * h, in createTestingOnlyBackendTexture()
795 if (rowCopyBytes == layout.rowPitch) { in createTestingOnlyBackendTexture()
798 SkRectMemcpy(mapPtr, layout.rowPitch, srcData, w, rowCopyBytes, h); in createTestingOnlyBackendTexture()
/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;
DvkStructTypes.inl517 VkDeviceSize rowPitch; member
/external/deqp/framework/common/
DtcuTextureUtil.cpp321 const int rowPitch = access.getRowPitch(); in flipYAccess() local
322 const int offsetToLast = rowPitch*(access.getHeight()-1); in flipYAccess()
323 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch()); in flipYAccess()
335 const int rowPitch = access.getRowPitch(); in flipYAccess() local
336 const int offsetToLast = rowPitch*(access.getHeight()-1); in flipYAccess()
337 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch()); in flipYAccess()
DtcuTexture.cpp822 const int rowPitch = pixelSize * size.x(); in calculatePackedPitch() local
823 const int slicePitch = rowPitch * size.y(); in calculatePackedPitch()
825 return IVec3(pixelSize, rowPitch, slicePitch); in calculatePackedPitch()
853 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, … in ConstPixelBufferAccess() argument
856 , m_pitch (format.getPixelSize(), rowPitch, slicePitch) in ConstPixelBufferAccess()
890 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, … in PixelBufferAccess() argument
891 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data) in PixelBufferAccess()
DtcuTexture.hpp322 …ss (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, …
382 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, …
/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.cpp848 uint32_t *row = (uint32_t *)((char *)data + layout.rowPitch * y); in VkTextureObj()
/external/vulkan-validation-layers/demos/
Dtri.c876 uint32_t *row = (uint32_t *)((char *)data + layout.rowPitch * y); in demo_prepare_texture_image()
Dcube.c1049 rgba_data += layout->rowPitch; in loadTexture()
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.h1603 VkDeviceSize rowPitch; member
/external/skia/third_party/vulkan/
Dvulkan.h1594 VkDeviceSize rowPitch; member

12