All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImfConvert.h File Reference
#include "ImfExport.h"
#include "ImfNamespace.h"
#include <half.h>
+ Include dependency graph for ImfConvert.h:

Go to the source code of this file.


IMF_EXPORT unsigned int 
halfToUint (half h)
IMF_EXPORT unsigned int floatToUint (float f)
IMF_EXPORT half uintToHalf (unsigned int ui)
IMF_EXPORT half floatToHalf (float f)

Function Documentation

IMF_EXPORT half floatToHalf ( float  f)
IMF_EXPORT unsigned int floatToUint ( float  f)
IMF_EXPORT half uintToHalf ( unsigned int  ui)