opencv/modules/core/src
Rostislav Vasilikhin c6a3a18894 SoftFloat integrated (#8668)
* everything is put into softfloat.cpp and softfloat.hpp

* WIP: try to integrate softfloat into OpenCV

* extra functions removed

* softfloat made stateless

* CV_EXPORTS added

* operators fixed

* exp added, log: WIP

* log32 fixed

* shorter names; a lot of TODOs

* log64 rewritten

* cbrt32 added

* minors, refactoring

* "inline" -> "CV_INLINE"

* cast to bool warnings fixed

* several warnings fixed

* fixed warning about unsigned unary minus

* fixed warnings on type cast

* inline -> CV_INLINE

* special cases processing added (NaNs, Infs, etc.)

* constants for NaN and Inf added

* more macros and helper functions added

* added (or fixed) tests for pow32, pow64, cbrt32

* exp-like functions fixed

* minor changes

* fixed random number generation for tests

* tests for exp32 and exp64: values are compared to SoftFloat-based naive implementation

* minor warning fix

* pow(f, i) 32/64: special cases handling added

* unused functions removed

* refactoring is in progress (not compiling)

* CV_inline added

* unions {uint_t, float_t} removed

* tests compilation fixed

* static const members -> static methods returning const

* reinterpret_cast

* warning fixed

* const-ness fixed

* all FP calculations (even compile-time) are done in SoftFloat + minor fixes

* pow(f, i) removed from interface (can cause incorrect cast) to internals of pow(f, f), tests fixed

* CV_INLINE -> inline

* internal constants moved to .cpp file

* toInt_minMag() methods merged into toInt() methods

* macros moved to .cpp file

* refactoring: types renamed to softfloat and softdouble; explicit constructors, etc.

* toFloat(), toDouble() -> operator float(), operator double()

* removed f32/f64 prefixes from functions names

* toType() methods removed, round() and trunc() functions added

* minor change

* minors

* MSVC: warnings fixed

* added int cvRound(), cvFloor, cvCeil, cvTrunc, saturate_cast<T>()

* typo fixed

* type cast fixed
2017-05-29 17:07:25 +03:00
..
cuda follow the naming rule as other API 2016-08-05 22:14:55 +09:00
opencl add OpenCL version of convertFp16 and test 2017-05-23 20:00:21 +09:00
algorithm.cpp Fix missing format when writing Algorithm-based objects 2016-04-07 13:49:42 -07:00
alloc.cpp
arithm_core.hpp core: fix absdiff (non-optimized, fp) to prevent "-0" results 2016-11-23 13:55:38 +03:00
arithm_simd.hpp add universal hardware support check function 2016-10-29 13:24:31 +09:00
arithm.cpp Merge pull request #8779 from vpisarev:empty_cmp_fix 2017-05-23 19:06:57 +00:00
array.cpp Fixed several issues found by static analysis in core module 2017-05-23 12:35:31 +03:00
bufferpool.impl.hpp
command_line_parser.cpp Avoid segmentation fault 2016-12-29 17:23:40 -08:00
conjugate_gradient.cpp extended MinProblemSolver::Function to 1) report the space dimensionality, 2) compute gradient if needed 2015-05-05 15:56:06 +03:00
convert.cpp Merge pull request #8455 from terfendail:ovxhal_skipsmall 2017-05-26 12:10:18 +00:00
copy.cpp Fixed several issues found by static analysis in core module 2017-05-23 12:35:31 +03:00
cuda_gpu_mat.cpp fix #5780 : cv::cuda::createContinuouseffectively ignores its cols argument 2015-12-10 14:20:28 +03:00
cuda_host_mem.cpp
cuda_info.cpp Called after setDevice. 2016-02-09 14:40:09 +01:00
cuda_stream.cpp Support for creating streams with custom allocator 2017-03-21 14:50:14 +02:00
datastructs.cpp do not proceed with removing zero-length slice 2015-09-21 13:44:26 +02:00
directx.cpp Visual Studio 2015 warning and test fixes 2015-10-20 12:48:37 +03:00
directx.inc.hpp
downhill_simplex.cpp extended MinProblemSolver::Function to 1) report the space dimensionality, 2) compute gradient if needed 2015-05-05 15:56:06 +03:00
dxt.cpp IPP for OpenCV 2017u2 initial enabling patch; 2017-04-20 20:26:30 +03:00
gl_core_3_1.cpp
gl_core_3_1.hpp
glob.cpp Instrumentation for OpenCV API regions and IPP functions; 2016-08-19 18:10:03 +03:00
hal_internal.cpp hal: replace round() with cvRound() 2017-02-22 14:08:38 +03:00
hal_internal.hpp Add QR decomposition to HAL 2016-09-05 18:20:04 +03:00
hal_replacement.hpp Add QR decomposition to HAL 2016-09-05 18:20:04 +03:00
intel_gpu_gemm.inl.hpp Merge pull request #8104 from insoow:master 2017-04-19 12:57:54 +03:00
kmeans.cpp KMeans improvement 2017-01-31 12:05:08 +03:00
lapack.cpp use universal intrinsic in VBLAS 2017-01-31 05:36:27 +09:00
lda.cpp Merge pull request #8535 from arnaudbrejeon:std_array 2017-04-19 13:13:39 +03:00
lpsolver.cpp
mathfuncs_core.dispatch.cpp Update for IPP for OpenCV 2017u2 integration; 2017-04-25 15:53:12 +03:00
mathfuncs_core.simd.hpp Fixed exp32f() compilation on MSVC 2017-05-10 18:25:39 +02:00
mathfuncs.cpp Update for IPP for OpenCV 2017u2 integration; 2017-04-25 15:53:12 +03:00
matmul.cpp Update for IPP for OpenCV 2017u2 integration; 2017-04-25 15:53:12 +03:00
matop.cpp Instrumentation for OpenCV API regions and IPP functions; 2016-08-19 18:10:03 +03:00
matrix_decomp.cpp Add QR decomposition to HAL 2016-09-05 18:20:04 +03:00
matrix.cpp Update matrix.cpp 2017-05-24 13:55:18 +03:00
merge.cpp HAL moved back to core 2015-12-17 12:33:23 +03:00
ocl_deprecated.hpp ocl: move deprecated code from ocl.cpp 2016-12-19 00:34:50 +03:00
ocl.cpp Fixed several issues found by static analysis in core module 2017-05-23 12:35:31 +03:00
opengl.cpp ocl: fix OpenGL sharing detection (6052) 2016-02-11 12:46:22 +03:00
out.cpp Fixed several issues found by static analysis in core module 2017-05-23 12:35:31 +03:00
ovx.cpp OpenVX calls updated to use single common OpenVX context per thread 2017-02-21 16:08:23 +03:00
parallel_pthreads.cpp Merge pull request #8769 from mshabunin:kw-fixes 2017-05-23 14:59:36 +00:00
parallel.cpp Use num_threads clause of #pragma omp parallel instead to avoid calling omp_set_num_threads for the entire application 2017-05-29 14:16:10 +09:00
pca.cpp Instrumentation for OpenCV API regions and IPP functions; 2016-08-19 18:10:03 +03:00
persistence.cpp Fixed several issues found by static analysis in core module 2017-05-23 12:35:31 +03:00
precomp.hpp SoftFloat integrated (#8668) 2017-05-29 17:07:25 +03:00
rand.cpp Fixed several issues found by static analysis in core module 2017-05-23 12:35:31 +03:00
softfloat.cpp SoftFloat integrated (#8668) 2017-05-29 17:07:25 +03:00
split.cpp HAL moved back to core 2015-12-17 12:33:23 +03:00
stat.cpp Merge pull request #8455 from terfendail:ovxhal_skipsmall 2017-05-26 12:10:18 +00:00
stl.cpp
system.cpp build: fix snprintf() usage 2017-05-22 22:24:17 +03:00
tables.cpp
types.cpp Instrumentation for OpenCV API regions and IPP functions; 2016-08-19 18:10:03 +03:00
umatrix.cpp Fixed several issues found by static analysis in core module 2017-05-23 12:35:31 +03:00
va_intel.cpp Visual Studio 2015 warning and test fixes 2015-10-20 12:48:37 +03:00