OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::float16_t Class Reference

#include <opencv2/core/cvdef.h>

Collaboration diagram for cv::float16_t:

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

References Cv32suf::f, and Cv32suf::u.

Member Function Documentation

◆ bits()

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

◆ fromBits()

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

References w.

◆ operator float()

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

References Cv32suf::f, and Cv32suf::u.

◆ zero()

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

References w.

Member Data Documentation

◆ w

ushort cv::float16_t::w
protected

Referenced by fromBits(), and zero().


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