opencv/modules/gapi/test/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_compoundkernel_tests.cpp Merge pull request #17163 from AsyaPronina:gcompound_kernel_gmatp_coop 2020-08-25 13:51:43 +00:00
gapi_core_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_tests.cpp gapi: fix tests build 2019-04-02 13:46:25 +03:00
gapi_core_tests.hpp Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
gapi_imgproc_tests_inl.hpp Merge pull request #17088 from mpashchenkov:mp/ocv-gapi-kernel-laplacian 2020-04-23 17:47:55 +00:00
gapi_imgproc_tests.cpp gapi: fix tests build 2019-04-02 13:46:25 +03:00
gapi_imgproc_tests.hpp Merge pull request #17088 from mpashchenkov:mp/ocv-gapi-kernel-laplacian 2020-04-23 17:47:55 +00:00
gapi_operators_tests_inl.hpp Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
gapi_operators_tests.cpp gapi: fix tests build 2019-04-02 13:46:25 +03:00
gapi_operators_tests.hpp Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
gapi_parsers_tests_common.hpp Merge pull request #18287 from mpashchenkov:mp/ocv-gapi-blue-branch 2020-09-18 13:31:16 +00:00
gapi_render_tests.cpp Merge pull request #16080 from TolyaTalamanov:at/fix-mosaic-primitive 2019-12-12 19:10:14 +03:00
gapi_render_tests.hpp Implement cv::gapi::wip::draw::FText 2019-12-03 13:13:06 +03:00
gapi_tests_common.hpp Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
gapi_tests_helpers.hpp Merge pull request #15751 from TolyaTalamanov:at/refactor-render-tests 2019-10-30 13:33:39 +03:00
gapi_video_tests_common.hpp Merge pull request #17896 from OrestChura:oc/fix_kw_videotests 2020-07-28 13:25:56 +03:00
gapi_video_tests_inl.hpp gapi: buildOpticalFlowPyramid() interface, CPUkernel and CPUtests implementation 2020-04-21 14:36:42 +03:00
gapi_video_tests.cpp gapi: Full calcOpticalFlowPyrLK implementation (2 overloads) and tests 2020-04-08 18:11:55 +03:00
gapi_video_tests.hpp gapi: buildOpticalFlowPyramid() interface, CPUkernel and CPUtests implementation 2020-04-21 14:36:42 +03:00