OpenCV  4.7.0-dev
Open Source Computer Vision
Namespaces | Functions
saturate.hpp File Reference
#include <math.h>
#include <limits>
#include <opencv2/gapi/own/assert.hpp>
#include <opencv2/gapi/util/type_traits.hpp>


 "black box" representation of the file storage associated with a file on disk.
 This namespace contains G-API own data structures used in its standalone mode build.


double cv::gapi::own::ceild (double x)
double cv::gapi::own::floord (double x)
double cv::gapi::own::rintd (double x)
double cv::gapi::own::roundd (double x)
template<typename DST , typename SRC , typename = cv::util::enable_if_t<!std::is_same<DST, SRC>::value && std::is_integral<DST>::value && std::is_integral<SRC>::value>>
static CV_ALWAYS_INLINE DST cv::gapi::own::saturate (SRC x)
template<typename T >
static CV_ALWAYS_INLINEcv::gapi::own::saturate (T x)
template<typename DST , typename SRC , typename R , cv::util::enable_if_t< std::is_floating_point< DST >::value, bool > = true>
static CV_ALWAYS_INLINE DST cv::gapi::own::saturate (SRC x, R)