Home
last modified time | relevance | path

Searched refs:UNORM_INT8 (Results 1 – 25 of 90) sorted by relevance

1234

/external/deqp/framework/common/
DtcuImageCompare.cpp220 …TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.… in fuzzyCompare()
232 …mat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != TextureFormat(TextureFormat::RGB… in fuzzyCompare()
246 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in fuzzyCompare()
293 …ERNAL(ref.getFormat().type == TextureFormat::UNORM_INT8 && cmp.getFormat().type == TextureFormat:: in computeSquaredDiffSum()
337 …TextureLevel diffMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.ge… in measurePixelDiffAccuracy()
348 …mat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != TextureFormat(TextureFormat::RGB… in measurePixelDiffAccuracy()
359 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in measurePixelDiffAccuracy()
493 …TextureLevel errorMaskStorage (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), widt… in floatUlpThresholdCompare()
542 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in floatUlpThresholdCompare()
579 …TextureLevel errorMaskStorage (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), widt… in floatThresholdCompare()
[all …]
DtcuImageIO.cpp114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in loadPNG()
116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in loadPNG()
137 if (format == TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8)) in textureFormatToPNGFormat()
139 else if (format == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in textureFormatToPNGFormat()
DtcuSurface.hpp107 …return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_wid… in getAccess()
113 …return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m… in getAccess()
DtcuBilinearImageCompare.cpp193 DE_ASSERT(reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && in bilinearCompareRGBA8()
194 result.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)); in bilinearCompareRGBA8()
229 if (reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in bilinearCompare()
DtcuFuzzyImageCompare.cpp270 …return format.type == TextureFormat::UNORM_INT8 && (format.order == TextureFormat::RGB || format.o… in isFormatSupported()
286 …TextureLevel refFiltered(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, hei… in fuzzyCompare()
287 …TextureLevel cmpFiltered(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, hei… in fuzzyCompare()
DtcuTestLog.cpp250 if (depth == 1 && format.type == TextureFormat::UNORM_INT8 in writeImage()
268 …tcu::TextureLevel logImage (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), logIma… in writeImage()
302 …tcu::TextureLevel logImage (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), logIm… in writeImage()
DtcuCompressedTexture.cpp301 …SSEDTEXFORMAT_ETC1_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in getUncompressedFormat()
306 …SSEDTEXFORMAT_ETC2_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in getUncompressedFormat()
307 …SEDTEXFORMAT_ETC2_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8); in getUncompressedFormat()
308 …C2_RGB8_PUNCHTHROUGH_ALPHA1: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat()
309 …2_SRGB8_PUNCHTHROUGH_ALPHA1: return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat()
310 …TEXFORMAT_ETC2_EAC_RGBA8: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat()
311 …AT_ETC2_EAC_SRGB8_ALPHA8: return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat()
321 return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat()
334 return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat()
336 return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat()
DtcuTexture.cpp284 case TextureFormat::UNORM_INT8: return (float)*((const deUint8*)value) / 255.0f; in channelToFloat()
316 case TextureFormat::UNORM_INT8: return (int)*((const deUint8*)value); in channelToInt()
348 …case TextureFormat::UNORM_INT8: *((deUint8*)dst) = convertSatRte<deUint8> (src * 255.0f); br… in floatToChannel()
434 case TextureFormat::UNORM_INT8: *((deUint8*)dst) = convertSat<deUint8> (src); break; in intToChannel()
574 case TextureFormat::UNORM_INT8: in isValid()
693 case TextureFormat::UNORM_INT8: return 1; in getChannelSize()
988 if (m_format.type == TextureFormat::UNORM_INT8) in getPixel()
1088 if (m_format.type == TextureFormat::UNORM_INT8) in getPixelInt()
1254 if (m_format.type == TextureFormat::UNORM_INT8) in setPixel()
1404 if (m_format.type == TextureFormat::UNORM_INT8) in setPixel()
[all …]
/external/deqp/framework/opengl/
DgluTextureUtil.cpp101 case TextureFormat::UNORM_INT8: type = GL_UNSIGNED_BYTE; break; in getTransferFormat()
164 case FMT_CASE(RGBA, UNORM_INT8): return GL_RGBA8; in getInternalFormat()
167 case FMT_CASE(sRGBA, UNORM_INT8): return GL_SRGB8_ALPHA8; in getInternalFormat()
172 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8; in getInternalFormat()
185 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8; in getInternalFormat()
197 case FMT_CASE(RG, UNORM_INT8): return GL_RG8; in getInternalFormat()
201 case FMT_CASE(sRG, UNORM_INT8): return GL_SRG8_EXT; in getInternalFormat()
211 case FMT_CASE(R, UNORM_INT8): return GL_R8; in getInternalFormat()
215 case FMT_CASE(sR, UNORM_INT8): return GL_SR8_EXT; in getInternalFormat()
403 …case GL_UNSIGNED_BYTE: return normalized ? TextureFormat::UNORM_INT8 : TextureFormat::UNSIGNED… in mapGLChannelType()
[all …]
DgluTexture.cpp229 …evel.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) || in create()
230 … level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8)); in create()
232 … level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in create()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp1573 case FMT_CASE(R, UNORM_INT8): return VK_FORMAT_R8_UNORM; in mapTextureFormat()
1577 case FMT_CASE(sR, UNORM_INT8): return VK_FORMAT_R8_SRGB; in mapTextureFormat()
1579 case FMT_CASE(RG, UNORM_INT8): return VK_FORMAT_R8G8_UNORM; in mapTextureFormat()
1583 case FMT_CASE(sRG, UNORM_INT8): return VK_FORMAT_R8G8_SRGB; in mapTextureFormat()
1585 case FMT_CASE(RGB, UNORM_INT8): return VK_FORMAT_R8G8B8_UNORM; in mapTextureFormat()
1589 case FMT_CASE(sRGB, UNORM_INT8): return VK_FORMAT_R8G8B8_SRGB; in mapTextureFormat()
1591 case FMT_CASE(RGBA, UNORM_INT8): return VK_FORMAT_R8G8B8A8_UNORM; in mapTextureFormat()
1595 case FMT_CASE(sRGBA, UNORM_INT8): return VK_FORMAT_R8G8B8A8_SRGB; in mapTextureFormat()
1650 case FMT_CASE(BGR, UNORM_INT8): return VK_FORMAT_B8G8R8_UNORM; in mapTextureFormat()
1654 case FMT_CASE(sBGR, UNORM_INT8): return VK_FORMAT_B8G8R8_SRGB; in mapTextureFormat()
[all …]
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp161 format = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in getFormatInfo()
176 tcu::TextureFormat format(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in iterate()
224 …GBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), width, height); in iterate()
225 …BA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), width, height); in iterate()
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp102 case tcu::TextureFormat::UNORM_INT8: qualifier << "8"; break; in getShaderImageLayoutQualifier()
126 case tcu::TextureFormat::UNORM_INT8: in getShaderImageTypeDeclaration()
222 case tcu::TextureFormat::UNORM_INT8: in getOtherFunctionArguments()
400 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), in image_store()
438 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), in image_load()
523 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), in image_atomic_exchange()
Des31fDrawBuffersIndexedTests.cpp529 return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getReadPixelFormat()
536 return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getReadPixelFormat()
1505 …ec2(64, 64), emptyState, TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8))); in createDiffTest()
1506 …4, 64), drawBufferState, TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8))); in createDiffTest()
1518 …ec2(64, 64), emptyState, TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8))); in createDiffTest()
1519 …4, 64), drawBufferState, TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8))); in createDiffTest()
1542 …4, 64), drawBufferState, TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8))); in createAdvancedEqDiffTest()
1554 …4, 64), drawBufferState, TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8))); in createAdvancedEqDiffTest()
Des31fAdvancedBlendTests.cpp275 …t(useSRGB ? TextureFormat::sRGBA : TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_viewportWidt… in init()
386 return tcu::ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), in getLinearAccess()
403 …TextureLevel renderedImg (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_vi… in iterate()
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp480 …cu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth,… in iterate()
481 …cu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth,… in iterate()
553 …).order != tcu::TextureFormat::RGBA || rendered.getFormat().type != tcu::TextureFormat::UNORM_INT8) in iterate()
556 …adBuf(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), rendered.getWi… in iterate()
DglsSamplerObjectTest.cpp382 …ture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE2D_WIDT… in createTexture2D()
408 …ture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE3D_WIDT… in createTexture3D()
434 …xture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), CUBEMAP_SIZE); in createTextureCube()
879 …ture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE2D_WIDT… in createTexture2D()
918 …ture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE3D_WIDT… in createTexture3D()
957 …xture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), CUBEMAP_SIZE); in createTextureCube()
DglsLongStressCase.cpp219 (texFormat.type == TextureFormat::UNORM_INT8 || in isMatchingGLInternalFormat()
224 (texFormat.type == TextureFormat::UNORM_INT8 || in isMatchingGLInternalFormat()
227 …_ALPHA: return texFormat.order == TextureFormat::LA && texFormat.type == TextureFormat::UNORM_INT8; in isMatchingGLInternalFormat()
228 …NANCE: return texFormat.order == TextureFormat::L && texFormat.type == TextureFormat::UNORM_INT8; in isMatchingGLInternalFormat()
229 …LPHA: return texFormat.order == TextureFormat::A && texFormat.type == TextureFormat::UNORM_INT8; in isMatchingGLInternalFormat()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp1504 …evel.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) || in loadTexture2D()
1505 … level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8)); in loadTexture2D()
1508 …ure2D(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), level.getWidth… in loadTexture2D()
1527 …mat commonFormat = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in loadTexture2D()
1565 …evel.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) || in loadTextureCube()
1566 … level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8)); in loadTextureCube()
1571 …eCube(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), level.getWidth… in loadTextureCube()
1591 …t commonFormat = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in loadTextureCube()
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp329 tcu::TextureFormat format(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in iterate()
369 …GBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), m_width, m_hei… in iterate()
370 …BA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), m_width, m_hei… in iterate()
Des3fBlendTests.cpp207 …xtureFormat::sRGBA : useRGB ? TextureFormat::RGB : TextureFormat::RGBA, TextureFormat::UNORM_INT8), in init()
261 …seSrgbFbo ? TextureFormat::sRGBA : TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_viewportWidt… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBase.hpp69 , m_imageFormat (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8)) in MultisampleInstanceBase()
DvktPipelineMultisampleTestsUtil.cpp316 case tcu::TextureFormat::UNORM_INT8: typePart = "8"; break; in getShaderImageFormatQualifier()
/external/deqp/modules/egl/
DteglRenderTests.cpp352 case PACK_FMT(8,8,8,8): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getColorFormat()
353 case PACK_FMT(8,8,8,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in getColorFormat()
359 default: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getColorFormat()
401 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); in getDepthFormat()
/external/deqp/modules/internal/
DditImageCompareTests.cpp48 …dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.g… in loadImageRGBA8()

1234