OpenCV  3.4.20-dev
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
cv::float16_t Class Reference

#include <opencv2/core/cvdef.h>

Public Member Functions

 float16_t ()
 
 float16_t (float x)
 
ushort bits () const
 
 operator float () const
 

Static Public Member Functions

static float16_t fromBits (ushort b)
 
static float16_t zero ()
 

Protected Attributes

ushort w
 

Constructor & Destructor Documentation

◆ float16_t() [1/2]

cv::float16_t::float16_t ( )
inline

◆ float16_t() [2/2]

cv::float16_t::float16_t ( float  x)
inlineexplicit

Member Function Documentation

◆ bits()

ushort cv::float16_t::bits ( ) const
inline

◆ fromBits()

static float16_t cv::float16_t::fromBits ( ushort  b)
inlinestatic

◆ operator float()

cv::float16_t::operator float ( ) const
inline

◆ zero()

static float16_t cv::float16_t::zero ( )
inlinestatic

Member Data Documentation

◆ w

ushort cv::float16_t::w
protected

The documentation for this class was generated from the following file: