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

Function BitDepthIsFloat

src/OpenColorIO/ParseUtils.cpp:199–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199bool BitDepthIsFloat(BitDepth bitDepth)
200{
201 if(bitDepth == BIT_DEPTH_F16) return true;
202 else if(bitDepth == BIT_DEPTH_F32) return true;
203 return false;
204}
205
206int BitDepthToInt(BitDepth bitDepth)
207{

Callers 2

OCIO_ADD_TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

OCIO_ADD_TESTFunction · 0.68