opencv/modules/gapi/src/api
Dmitry Matveev f174363f60
Merge pull request #25055 from dmatveev:dm/value_initialized_gmat
G-API: A quick value-initialization support GMat #25055

This PR enables `GMat` objects to be value-initialized in the same way as it was done for `GScalar`s (and, possibly, other types).

- Added some helper methods in backends to distinguish if a certain G-type value initialization is supported or not;
- Added tests, including negative.

Where it is needed:

- Further extension of the OVCV backend (#24379 - will be refreshed soon);
- Further experiments with DNN module;
- Further experiments with "G-API behind UMat" sort of aggregation.

In the current form, PR can be reviewed & merged (@TolyaTalamanov please have a look)

### 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
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2024-03-06 17:15:49 +03:00
..
garray.cpp Merge pull request #18196 from mpashchenkov:mp/garray-initialization 2020-09-18 13:06:23 +00:00
gbackend_priv.hpp Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
gbackend.cpp Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
gcall_priv.hpp Merge pull request #18419 from TolyaTalamanov:at/generic-inference 2020-10-08 22:12:25 +00:00
gcall.cpp Merge pull request #19009 from TolyaTalamanov:at/media-frame-copy 2020-12-11 16:29:34 +00:00
gcommon.cpp Merge pull request #24845 from TolyaTalamanov:at/concurrent-executor 2024-01-30 17:01:50 +03:00
gcomputation_priv.hpp Merge pull request #19322 from TolyaTalamanov:at/python-callbacks 2021-03-01 15:52:11 +00:00
gcomputation.cpp Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
gframe.cpp Merge pull request #22935 from alalek:gapi_error 2022-12-19 06:05:15 +00:00
ginfer.cpp Merge pull request #20271 from TolyaTalamanov:at/extend-python-bindings 2021-06-30 09:04:09 +00:00
gkernel.cpp Move GKernelPackage to cv namespace 2021-12-24 18:04:11 +03:00
gmat.cpp Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
gnode_priv.hpp Merge pull request #12608 from dmatveev:gapi 2018-09-26 21:50:39 +03:00
gnode.cpp Merge pull request #12674 from dmatveev:gapi_upd270918 2018-09-28 18:42:09 +03:00
gnode.hpp Merge pull request #12608 from dmatveev:gapi 2018-09-26 21:50:39 +03:00
gopaque.cpp Merge pull request #18127 from smirnov-alexey:as/gapi_serialization 2020-09-07 17:10:03 +00:00
gorigin.cpp Merge pull request #18196 from mpashchenkov:mp/garray-initialization 2020-09-18 13:06:23 +00:00
gorigin.hpp Merge pull request #18127 from smirnov-alexey:as/gapi_serialization 2020-09-07 17:10:03 +00:00
gproto_priv.hpp Merge pull request #20184 from sivanov-work:fix_gapi_empty_input 2021-06-10 14:05:46 +03:00
gproto.cpp Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
grunarg.cpp Merge pull request #19322 from TolyaTalamanov:at/python-callbacks 2021-03-01 15:52:11 +00:00
gscalar.cpp G-API: "deownification" corrections 2020-05-12 14:28:32 +03:00
kernels_core.cpp Merge pull request #21157 from alexgiving:atrutnev/move_resize 2021-12-29 15:13:43 +00:00
kernels_imgproc.cpp Merge pull request #21157 from alexgiving:atrutnev/move_resize 2021-12-29 15:13:43 +00:00
kernels_nnparsers.cpp Merge pull request #18287 from mpashchenkov:mp/ocv-gapi-blue-branch 2020-09-18 13:31:16 +00:00
kernels_ot.cpp Enabled VAS OT in G-API Python interface 2023-12-19 17:51:59 +00:00
kernels_stereo.cpp Adding stereo operation and tests 2021-03-31 20:09:10 +03:00
kernels_streaming.cpp Merge pull request #21775 from luzpaz:typos/gapi 2022-04-13 17:06:37 +00:00
kernels_video.cpp Merge pull request #18869 from anna-khakimova:ak/kalman 2020-12-14 08:56:37 +00:00
media.cpp Fixed issues found by static analysis 2022-01-13 14:51:25 +03:00
ocv_mask_creator.hpp Implement cv::gapi::wip::draw::FText 2019-12-03 13:13:06 +03:00
operators.cpp Merge pull request #18182 from OrestChura:oc/operators_to_cv 2020-09-02 19:28:10 +00:00
README.md Merge pull request #12608 from dmatveev:gapi 2018-09-26 21:50:39 +03:00
render_ocv.cpp Merge pull request #23109 from seanm:misc-warnings 2023-10-06 13:33:21 +03:00
render_ocv.hpp Merge pull request #18600 from TolyaTalamanov:at/implement-render-using-stateful 2020-10-26 19:55:43 +00:00
render_priv.hpp Merge pull request #15751 from TolyaTalamanov:at/refactor-render-tests 2019-10-30 13:33:39 +03:00
render.cpp Merge pull request #19516 from dbudniko:dbudniko/gapi_render_frame_cpu 2021-02-15 19:57:22 +00:00
rmat.cpp Added multidimensional RMat::View steps 2020-11-12 13:15:02 +03:00
s11n.cpp Merge pull request #22935 from alalek:gapi_error 2022-12-19 06:05:15 +00:00

This directory contains implementation of G-API frontend (public API classes).