/external/deqp/modules/gles2/functional/ |
H A D | es2fReadPixelsTests.cpp | 208 const int rowPitch = m_alignment * deCeilFloatToInt32(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 D | es2fTextureSpecificationTests.cpp | 843 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 D | es31fTextureSpecificationTests.cpp | 430 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 432 int slicePitch = imageHeight*rowPitch; 447 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); 533 int rowPitch = deAlign32(pixelSize*m_size, 4); local 534 int slicePitch = rowPitch*m_size; 537 tcu::fillWithComponentGradients(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0]), m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); 545 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 547 int slicePitch = imageHeight*rowPitch; 554 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitc 724 int rowPitch = deAlign32(rowLength*pixelSize, alignment); local [all...] |
H A D | es31fShaderImageLoadStoreTests.cpp | 1317 const int rowPitch = sliceAccess.getRowPitch(); local 1323 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; 1497 const int rowPitch = sliceAccess.getRowPitch(); local 1503 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize;
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureSpecificationTests.cpp | 989 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 1090 data.resize(rowPitch*height); 1097 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch 1151 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 1398 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 1672 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); local 1741 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); local 1815 int rowPitch = deAlign32(pixelSize*m_width, 4); local 1827 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 2319 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 2393 const int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 2473 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 2555 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 2656 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 2755 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 2849 int rowPitch = deAlign32(pixelSize*m_width, 4); local 2861 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 2960 int rowPitch = deAlign32(pixelSize*m_width, 4); local 2972 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); local 3271 int rowPitch = deAlign32(rowLength*pixelSize, alignment); local 3332 int rowPitch = deAlign32(rowLength*pixelSize, alignment); local [all...] |
H A D | es3fReadPixelsTests.cpp | 314 const int rowPitch = m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_alignment); local 316 pixelData.resize(rowPitch * (m_height + m_skipRows), 0); 356 const int rowPitch = m_alignment * deCeilFloatToInt32(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/deqp/framework/common/ |
H A D | tcuTextureUtil.cpp | 216 const int rowPitch = access.getRowPitch(); local 217 const int offsetToLast = rowPitch*(access.getHeight()-1); 218 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch()); 230 const int rowPitch = access.getRowPitch(); local 231 const int offsetToLast = rowPitch*(access.getHeight()-1); 232 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch());
|
H A D | tcuTexture.hpp | 304 ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data); 344 IVec3 m_pitch; //!< (pixelPitch, rowPitch, slicePitch) 364 PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data);
|
H A D | tcuTexture.cpp | 486 const int rowPitch = pixelSize * size.x(); local 487 const int slicePitch = rowPitch * size.y(); 489 return IVec3(pixelSize, rowPitch, slicePitch); 558 ConstPixelBufferAccess::ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data) argument 561 , m_pitch (format.getPixelSize(), rowPitch, slicePitch) 593 PixelBufferAccess::PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data) argument 594 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data)
|
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.cpp | 933 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);
|