opencv/modules/gapi/perf/common
Orest Chura d1cdef596c
Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar
[G-API]: Add Fluid bitwise operations implementation for (GMat, GScalar)

* Added Fluid `bitwise` with `Scalar` + acc.tests
 - simple loop implementation for Fluid used (no `hal`);
   - `Scalar` is casted to `int` in the beginning
 - tests just modified to work with `Scalar`
 - expected output in operators' tests fixed (operators can't change Mat's depth)
 - `float` `Scalar` `RNG` added, `RNG` reworked (`time` is used now), initialization of test fixtures reworked
   - if input or output is `float` Scalar is initialized by `float`
 - some problems with Fluid/OCV floating-point comparison difference stashed by `AbsSimilarPoints()` usage, FIXME added
 - divide-by-zero is now fixed differently and everywhere

* - Added perf_tests for bitwise_Scalar operations
 - due to errors of Fluid floating-point comparison operations, added support of different validation in Cmp perf_tests; added FIXME

 - reworked integral initialization of Scalar

* Addressing comments
 - NULL -> nullptr
 - Scalar convertion moved to the function
 - avoid -> avoiding

* Addressing comments

* CV_assert -> GAPI_assert

* Addressed DM comments
 - refactored convertScalarForBitwise()
 - removed unnecessary braces for switch

* Changed the operators tests
 - switch via `enum` implemented
 - infrastructure for that refactored
2020-09-18 13:44:47 +00:00
..
gapi_core_perf_tests_inl.hpp Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
gapi_core_perf_tests.cpp gapi: fix tests build 2019-04-02 13:46:25 +03:00
gapi_core_perf_tests.hpp Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
gapi_imgproc_perf_tests_inl.hpp Merge pull request #16772 from aDanPin:dp/performance_render_tests 2020-06-16 19:48:09 +00:00
gapi_imgproc_perf_tests.cpp gapi: fix tests build 2019-04-02 13:46:25 +03:00
gapi_imgproc_perf_tests.hpp Merge pull request #17088 from mpashchenkov:mp/ocv-gapi-kernel-laplacian 2020-04-23 17:47:55 +00:00
gapi_render_perf_tests_inl.hpp Merge pull request #16772 from aDanPin:dp/performance_render_tests 2020-06-16 19:48:09 +00:00
gapi_render_perf_tests.cpp Merge pull request #16772 from aDanPin:dp/performance_render_tests 2020-06-16 19:48:09 +00:00
gapi_render_perf_tests.hpp Merge pull request #16772 from aDanPin:dp/performance_render_tests 2020-06-16 19:48:09 +00:00
gapi_video_perf_tests_inl.hpp gapi: buildOpticalFlowPyramid() interface, CPUkernel and CPUtests implementation 2020-04-21 14:36:42 +03:00
gapi_video_perf_tests.cpp gapi: Full calcOpticalFlowPyrLK implementation (2 overloads) and tests 2020-04-08 18:11:55 +03:00
gapi_video_perf_tests.hpp gapi: buildOpticalFlowPyramid() interface, CPUkernel and CPUtests implementation 2020-04-21 14:36:42 +03:00