mirror of
https://github.com/opencv/opencv.git
synced 2024-12-11 22:59:16 +08:00
687e37e6a8
Add support for v_sin and v_cos (Sine and Cosine) #25892 This PR aims to implement `v_sincos(v_float16 x)`, `v_sincos(v_float32 x)` and `v_sincos(v_float64 x)`. Merged after https://github.com/opencv/opencv/pull/25891 and https://github.com/opencv/opencv/pull/26023 **NOTE:** Also, the patch changes already added `v_exp`, `v_log` and `v_erf` to pass parameters by reference instead of by value, to match API of other universal intrinsics. TODO: - [x] double and half float precision - [x] tests for them - [x] doc to explain the implementation ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake |
||
---|---|---|
.. | ||
ocl | ||
ref_reduce_arg.impl.hpp | ||
test_allocator.cpp | ||
test_arithm.cpp | ||
test_async.cpp | ||
test_concatenation.cpp | ||
test_conjugate_gradient.cpp | ||
test_countnonzero.cpp | ||
test_cuda.cpp | ||
test_downhill_simplex.cpp | ||
test_ds.cpp | ||
test_dxt.cpp | ||
test_eigen.cpp | ||
test_hal_core.cpp | ||
test_hasnonzero.cpp | ||
test_intrin128.simd.hpp | ||
test_intrin256.simd.hpp | ||
test_intrin512.simd.hpp | ||
test_intrin_emulator.cpp | ||
test_intrin_utils.hpp | ||
test_intrin.cpp | ||
test_io.cpp | ||
test_logtagconfigparser.cpp | ||
test_logtagmanager.cpp | ||
test_lpsolver.cpp | ||
test_main.cpp | ||
test_mat.cpp | ||
test_math.cpp | ||
test_misc.cpp | ||
test_opencl.cpp | ||
test_operations.cpp | ||
test_precomp.hpp | ||
test_ptr.cpp | ||
test_quaternion.cpp | ||
test_rand.cpp | ||
test_rotatedrect.cpp | ||
test_umat.cpp | ||
test_utils_tls.impl.hpp | ||
test_utils.cpp |