MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / GetErrorMessage

Function GetErrorMessage

tests/cpu/AVX512_tests.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52std::string GetErrorMessage(float expected, float actual, OCIO::BitDepth inBD, OCIO::BitDepth outBD)
53{
54 std::ostringstream oss;
55 oss << "expected: " << expected << " != " << "actual: " << actual << " : " << GetFormatName(inBD) << " -> " << GetFormatName(outBD);
56 return oss.str();
57}
58
59template<OCIO::BitDepth BD>
60typename OCIO::BitDepthInfo<BD>::Type scale_unsigned(unsigned i)

Callers 2

testConvert_OutBitDepthFunction · 0.70
DEFINE_SIMD_TESTFunction · 0.70

Calls 1

GetFormatNameFunction · 0.70

Tested by

no test coverage detected