Lines Matching defs:width
45 int width,
57 rowPitch = width * pixelSize;
71 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) &&
83 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height);
89 srcRow += pixelSize * width;
97 int width,
109 rowPitch = width * pixelSize;
123 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) &&
133 vk::VkDeviceSize offsetDepthDst = d * (pixelSize * width * height);
139 deMemcpy(dstRow, srcRow, static_cast<size_t>(pixelSize * width));
141 dstRow += pixelSize * width;
171 int width,
177 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize());
181 read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_2D,
186 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data());
188 return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.data());
195 int width,
203 m_pixelAccessData.resize(width * height * tcuFormat.getPixelSize());
206 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data());
207 return tcu::ConstPixelBufferAccess(tcuFormat, width, height, 1, m_pixelAccessData.data());
214 int width,
221 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize());
225 read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D,
230 readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData.data());
232 return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, depth, m_pixelAccessData.data());
239 int width,
244 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize());
248 read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_1D,
253 readUsingBuffer(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect,
256 return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, 1, 1, m_pixelAccessData.data());
263 int width,
274 de::SharedPtr<Image> stagingResource = copyToLinearImage(queue, allocator, layout, offset, width,
277 stagingResource->readLinear(zeroOffset, width, height, depth, 0, 0, aspect, data);
284 int width,
300 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth;
324 bufferSize = pixelSize*width*height*depth;
369 { (deUint32)width, (deUint32)height, (deUint32)depth }
415 int width,
422 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize());
423 readLinear(offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData.data());
424 return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.data());
428 int width,
452 MemoryOp::unpack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth,
460 int width,
470 vk::VkExtent3D stagingExtent = {(deUint32)width, (deUint32)height, (deUint32)depth};
487 vk::VkImageCopy region = { { (vk::VkImageAspectFlags)aspect, mipLevel, arrayElement, 1}, offset, { (vk::VkImageAspectFlags)aspect, 0, 0, 1}, zeroOffset, {(deUint32)width, (deUint32)height, (deUint32)depth} };
594 int width,
601 uploadLinear(offset, width, height, depth, mipLevel, arrayElement, aspect, access.getDataPtr());
608 int width,
620 vk::VkExtent3D extent = {(deUint32)width, (deUint32)height, (deUint32)depth};
629 stagingResource->uploadLinear(zeroOffset, width, height, depth, 0, 0, aspect, data);
672 {(deUint32)width, (deUint32)height, (deUint32)depth}};
686 int width,
700 bufferSize = vk::mapVkFormat(m_format).getPixelSize() *width*height*depth;
720 bufferSize = pixelSize*width*height*depth;
765 { (deUint32)width, (deUint32)height, (deUint32)depth }
777 int width,
801 MemoryOp::pack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth,