Home
last modified time | relevance | path

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

/external/deqp/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp977 int rowPitch = deAlign32(levelW*m_texFormat.getPixelSize(), m_alignment); in createTexture() local
980 data.resize(rowPitch*levelH); in createTexture()
981 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), c… in createTexture()
1031 int rowPitch = deAlign32(m_texFormat.getPixelSize()*levelSize, m_alignment); in createTexture() local
1036 data.resize(rowPitch*levelSize); in createTexture()
1037 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[… in createTexture()
1070 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
1078 data.resize(rowPitch*height); in createTexture()
1085 …::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch in createTexture()
1139 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
[all …]
Des3fReadPixelsTests.cpp337 …const int rowPitch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_ali… in clearColor() local
339 pixelData.resize(rowPitch * (m_height + m_skipRows), 0); in clearColor()
380 …const int rowPitch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_ali… in iterate() local
391 …rence.getLevel(0), tcu::PixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[0… in iterate()
405 …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.cpp1317 const int rowPitch = sliceAccess.getRowPitch(); in replaceBadFloatReinterpretValues() local
1323 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in replaceBadFloatReinterpretValues()
1497 const int rowPitch = sliceAccess.getRowPitch(); in iterate() local
1503 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in iterate()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp237 …const int rowPitch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * width / (float)m_alignm… in iterate() local
239 pixelData.resize(rowPitch * height, 0); in iterate()
252 …reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0… in iterate()
266 …reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0… in iterate()
Des2fTextureSpecificationTests.cpp844 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture() local
847 data.resize(rowPitch*levelH); in createTexture()
848 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
889 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture() local
894 data.resize(rowPitch*levelH); in createTexture()
895 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
1190 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); in createTexture() local
1191 data.resize(rowPitch*m_subH); in createTexture()
1192 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, m_subW, m_subH, 1, rowPitch, 0, &data[0]), 4, Vec4(1… in createTexture()
1244 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); in createTexture() local
[all …]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Dgeneratemip.h23 …oid *data, unsigned int x, unsigned int y, unsigned int z, unsigned int rowPitch, unsigned int dep… in GetPixel() argument
25 …ast<T*>(reinterpret_cast<unsigned char*>(data) + (x * sizeof(T)) + (y * rowPitch) + (z * depthPitc… in GetPixel()
29 …oid *data, unsigned int x, unsigned int y, unsigned int z, unsigned int rowPitch, unsigned int dep… in GetPixel() argument
31 …>(reinterpret_cast<const unsigned char*>(data) + (x * sizeof(T)) + (y * rowPitch) + (z * depthPitc… in GetPixel()
Dloadimage.h18 inline static T *offsetDataPointer(void *data, int y, int z, int rowPitch, int depthPitch) in offsetDataPointer() argument
20 …return reinterpret_cast<T*>(reinterpret_cast<unsigned char*>(data) + (y * rowPitch) + (z * depthPi… in offsetDataPointer()
24 inline static const T *offsetDataPointer(const void *data, int y, int z, int rowPitch, int depthPit… in offsetDataPointer() argument
26 …return reinterpret_cast<const T*>(reinterpret_cast<const unsigned char*>(data) + (y * rowPitch) + … in offsetDataPointer()
/external/deqp/framework/common/
DtcuTextureUtil.cpp178 const int rowPitch = access.getRowPitch(); in flipYAccess() local
179 const int offsetToLast = rowPitch*(access.getHeight()-1); in flipYAccess()
182 -rowPitch, access.getSlicePitch(), (deUint8*)access.getDataPtr() + offsetToLast); in flipYAccess()
192 const int rowPitch = access.getRowPitch(); in flipYAccess() local
193 const int offsetToLast = rowPitch*(access.getHeight()-1); in flipYAccess()
196 -rowPitch, access.getSlicePitch(), (const deUint8*)access.getDataPtr() + offsetToLast); in flipYAccess()
DtcuTexture.hpp249 …ss (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, …
307 …s (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, …
DtcuTexture.cpp544 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, … in ConstPixelBufferAccess() argument
549 , m_rowPitch (rowPitch) in ConstPixelBufferAccess()
571 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, … in PixelBufferAccess() argument
572 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data) in PixelBufferAccess()
/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()