Alexander Smorkalov
3a64607d94
Merge pull request #22518 from TolyaTalamanov:at/expand-modeling-tool-to-support-config-in-yml
...
[G-API] Pipeline modeling tool - support local infer node config
2022-09-27 14:24:35 +03:00
TolyaTalamanov
4521d66103
Remove r-value ref
2022-09-26 11:53:57 +00:00
TolyaTalamanov
ec92f3fefa
Apply comments
...
* Rename intersectMapWith -> mergeMapWith
* Remove macro
* Add r-value ref
2022-09-16 15:24:13 +00:00
TolyaTalamanov
eb8883160d
Support config as part of Infer node in yml
2022-09-15 10:47:13 +00:00
TolyaTalamanov
5ea912e778
Change warning message
2022-09-13 08:28:34 +01:00
TolyaTalamanov
bcc19a622d
Replace MFX major version assertion to warning
2022-09-12 17:54:00 +01:00
Alexander Smorkalov
866191478f
Merge pull request #22037 from xiong-jie-y:py_gapi_add_state_kernel
...
Add stateful kernel to python G-API
2022-09-09 15:13:22 +03:00
Alexander Smorkalov
c9060b053d
Merge pull request #22451 from dmatveev:dm/abstract_execs
...
G-API: Introduce abstract base classes for GExecutor and GStreamingExecutor
2022-09-09 13:42:42 +03:00
TolyaTalamanov
7955469f7c
Fix problem with handleNewStream functionality
2022-09-06 08:52:35 +01:00
TolyaTalamanov
bf54a370e5
Add tests for stateful kernel functionality
2022-09-04 20:15:53 +01:00
Alexander Alekhin
5bb098ba5d
Merge pull request #22456 from TolyaTalamanov:at/onevpl-fixes-linux
2022-09-02 21:55:49 +00:00
Dmitry Matveev
a122f0f248
G-API: Introduce GAbstractStreamingExecutor
...
Now GStreamingExecutor is its subclass; others to come
2022-08-30 23:50:34 +03:00
Dmitry Matveev
a31fb88fd0
G-API: Introduce GAbstractExecutor
...
GExecutor is now a subclass of GAbstractExecutor. Other to come
2022-08-30 22:48:29 +03:00
Dmitry Matveev
ed9d4c0b2b
G-API: Update ADE to v0.1.2a to fix new Windows warnings
2022-08-26 21:29:56 +03:00
TolyaTalamanov
a1d752bfc0
OneVPL fixes
2022-08-24 17:30:32 +01:00
Anatoliy Talamanov
925ff6241f
Merge pull request #22393 from TolyaTalamanov:at/fix-gapi-vpl-windows-build
...
* Fix G-API OneVPL compilation
* Fix macro
__WIN32__ -> _WIN32
2022-08-20 20:24:41 +03:00
Dmtiry Matveev
03130548ea
G-API: Bump ADE to version 0.1.2
2022-08-18 07:50:22 +03:00
Alexander Smorkalov
885a446b10
Merge pull request #22212 from SergeyIvanov87:gapi_vpl_multiple_devices
...
G-API: VPL Add VAAPI into tests & VPL sample
2022-08-03 12:34:10 +03:00
HAN Liutong
0ef803950b
Merge pull request #22179 from hanliutong:new-rvv
...
[GSoC] New universal intrinsic backend for RVV
* Add new rvv backend (partially implemented).
* Modify the framework of Universal Intrinsic.
* Add CV_SIMD macro guards to current UI code.
* Use vlanes() instead of nlanes.
* Modify the UI test.
* Enable the new RVV (scalable) backend.
* Remove whitespace.
* Rename and some others modify.
* Update intrin.hpp but still not work on AVX/SSE
* Update conditional compilation macros.
* Use static variable for vlanes.
* Use max_nlanes for array defining.
2022-07-19 20:02:00 +03:00
SergeyIvanov87
9ffb67478f
Address several comments
2022-07-13 18:49:48 +03:00
SergeyIvanov87
1dee848d3e
Remove clnn header from sample
2022-07-13 18:07:41 +03:00
SergeyIvanov87
ff31f90b7e
Fix sample WIN compilation
2022-07-12 13:08:55 +03:00
SergeyIvanov87
2b2ba534e2
Forbid Rctx in IE for VAAPI temporary, Add preproc VAAPI
2022-07-12 12:41:23 +03:00
SergeyIvanov87
3635b3dee7
Improve UX: autofill cfg param with proper accel type, printout cfg params
2022-07-12 10:54:12 +03:00
SergeyIvanov87
b3b235ebc0
Apply WITHA_VA option in cmake
2022-07-08 17:15:31 +03:00
SergeyIvanov87
f562264674
Add VAAPI into tests & VPL sample
2022-07-08 11:43:56 +03:00
xiong-jie-y
ea2527c2d1
Add python bindings for G-API onnx
2022-06-02 19:09:26 +09:00
Namgoo Lee
24547f40ff
remove const from functions returning by value
2022-05-26 21:30:41 +09:00
xiong-jie-y
a3d6994afa
Add stateful kernel to python G-API
2022-05-26 01:15:56 +09:00
Alexander Alekhin
bc0d4585b3
Merge pull request #21984 from xiong-jie-y:add_make_capture_for_camera_stream
2022-05-17 21:22:17 +00:00
Alexander Alekhin
9f6f0c7424
Merge pull request #21987 from alalek:gapi_test_reduce_used_memory
2022-05-17 16:26:14 +00:00
xiong-jie-y
c929f1b62f
Add make_capture_src for video stream to Python
2022-05-16 20:46:08 +09:00
dbudnikov
3f4ffe7844
Merge pull request #21909 from dbudnikov:dbudnikov/reduce_gapi_tests_number
...
Reduce G-API tests number
* reduce number of G-API tests
* reduce number of G-API tests
* Address more comments from Dmitry.
2022-05-15 10:07:01 +00:00
Alexander Alekhin
22a00036e2
gapi(test): reduce used amount of memory
2022-05-15 09:41:25 +00:00
Kumataro
602caa9cd6
Merge pull request #21937 from Kumataro:4.x-fix-21911
...
* Fix warnings for clang15
* Fix warnings: Remove unnecessary code
* Fix warnings: Remove unnecessary code
2022-05-13 17:32:05 +00:00
Sergey
eff5605be5
Merge pull request #21883 from SergeyIvanov87:gapi_vpl_linux
...
G-API: VPL Source turn on Linux CPU version
* Turn on linux compilation
* Apply comments
* Change new files headline
* Add license header
2022-05-12 08:42:38 +00:00
luzpaz
554d08c3a1
Merge pull request #21775 from luzpaz:typos/gapi
...
* GAPI: fix various gapi related typos
Fixes source comments and documentation related to gapi code.
* Fix source typos
* Fixed typos requested
* Follow-up typo fix
2022-04-13 17:06:37 +00:00
Alexey Smirnov
7ed557497d
Merge pull request #21504 from smirnov-alexey:as/oak_infer
...
[GAPI] Support basic inference in OAK backend
* Combined commit which enables basic inference and other extra capabilities of OAK backend
* Remove unnecessary target options from the cmakelist
2022-04-05 21:00:32 +03:00
Anastasiya(Asya) Pronina
91a5e75151
Merge pull request #21731 from AsyaPronina:asyadev/fix_new_stream_event
...
Fixed handling of new stream, especially for stateful OCV kernels
* Fixed handling of new stream, especially for stateful OCV kernels
* Removed duplication from StateInitOnce tests
* Addressed review comments for PR #21731
- Fixed explanation comments
- Expanded test for stateful OCV kernels in Regular mode
* Addressed review comments for PR #21731
- Moved notification about new stream to the constructor
- Added test on state reset for Regular mode
* Addresed review comments
* Addressed review comments
Co-authored-by: Ruslan Garnov <ruslan.garnov@intel.com>
2022-04-04 17:39:02 +00:00
sivanov-work
84b517f5a0
Fix warning
2022-04-04 08:25:03 +03:00
Sergey Ivanov
f3945fbddb
Merge pull request #21688 from sivanov-work:vpp_ie_integration
...
G-API: VPP preprocessing GIEBackend integration
* Add ROI in VPP prepro
* Apply comments
* Integration to IE
* Removed extra invocations
* Fix no-vpl compilation
* Fix compilations
* Apply comments
* Use thin wrapper for device & ctx
* Implement Device/Context constructor functions
* Apply samples comment
* Fix compilation
* Fix compilation
* Fix build
* Separate Device&Context from selector, apply other comments
* Fix typo
* Intercept OV exception with pretty print out
2022-04-01 10:06:47 +00:00
Anatoliy Talamanov
9390c56831
Merge pull request #21782 from TolyaTalamanov:at/fix-1d-mat-problems
...
[G-API] Fix problems with 1D cv::Mat as graph output
* Fix issues with 1D cv::Mat
* Fix cv::Mat::create
* Fix standalone build
* Add test on 1d mat
* Fix warning
* Add additional condition
* Add more tests
2022-03-31 21:00:45 +00:00
Anna Khakimova
be38d4ea93
Merge pull request #21777 from anna-khakimova:ak/convertto_simd
...
GAPI Fluid: SIMD for ConvertTo.
* GAPI Fluid: SIMD for convertto.
* Applied comments
2022-03-29 21:14:01 +00:00
Anna Khakimova
e5bdab0355
Merge pull request #21728 from anna-khakimova:ak/resize_f32c1_avx_simd
...
GAPI Fluid: SIMD AVX2 Resize F32C1.
* GAPI Fluid: Resize F32C1 scalar.
* Final version
* GAPI Fluid: SIMD AVX2 for Resize F32C1.
* Applied comments.
* Deleted warning suppression.
* Applied comments.
2022-03-25 18:11:01 +03:00
Anatoliy Talamanov
9dd8e4df7f
Merge pull request #21719 from TolyaTalamanov:at/pipeline_modeling_tool-skip-frames-for-nodes
...
[G-API] Pipeline modeling tool: Skip frames
* Add skip feature
* Refactoring
* Fix warning
* Put more comments
* Fix comments to review
* Agregate common params into structure
* Fix warning
* Clean up & add test
* Add assert
* Fix warning on Mac
* Update modules/gapi/samples/pipeline_modeling_tool.cpp
Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com>
2022-03-25 08:22:45 +00:00
Anatoliy Talamanov
d98e07c3d3
Merge pull request #21660 from TolyaTalamanov:at/handle-exception-in-streamingexecutor
...
[G-API] Handle exceptions in streaming executor
* Handle exceptions in streaming executor
* Rethrow exception in non-streaming executor
* Clean up
* Put more tests
* Handle exceptions in IE backend
* Handle exception in IE callbacks
* Handle exception in GExecutor
* Handle all exceptions in IE backend
* Not only (std::exception& e)
* Fix comments to review
* Handle input exception in generic way
* Fix comment
* Clean up
* Apply review comments
* Put more comments
* Fix alignment
* Move test outside of HAVE_NGRAPH
* Fix compilation
2022-03-25 08:19:53 +00:00
Alexander Alekhin
63c865ace6
Merge pull request #21746 from anna-khakimova:ak/dynamic_dispatch_sub
2022-03-21 17:10:40 +00:00
Anna Khakimova
ee9fe1239a
GAPI Fluid: Enable dynamic dispatching for the Sub kernel.
2022-03-18 12:34:19 +03:00
Anna Khakimova
48cd2d190f
Merge pull request #21678 from anna-khakimova:ak/resize_f32c1_scalar
...
GAPI Fluid: Resize F32C1 scalar version.
* GAPI Fluid: Resize F32C1 scalar.
* Final version
* Applied comments
2022-03-17 19:45:14 +03:00
Alexander Alekhin
ac8a27cba9
Merge pull request #21686 from anna-khakimova:ak/dynamic_disp_add_kernel
2022-03-15 15:28:48 +00:00
Anatoliy Talamanov
e5f2a8ebf2
Merge pull request #21636 from TolyaTalamanov:at/gapi_modeling_tool_drop_frames
...
[G-API] Pipeline modeling tool - support frame dropping for source
* Implement drop frames functionality for dummy src
* Reconsider frame dropping
* Fix comments
2022-03-15 18:27:39 +03:00
Sergey Ivanov
54733eba6f
Merge pull request #21687 from sivanov-work:vpp_pp_integr
...
G-API: Add VPP preproc CPU/GPU dispatcher
* Add VPP preproc acceleration dispatcher & UTs
* Fix compilation
* Apply some comments
2022-03-15 11:01:03 +03:00
Alexander Alekhin
852904e1a4
Merge pull request #21669 from rgarnov:rg/cpu_backend_reshape
2022-03-09 17:25:44 +00:00
Ruslan Garnov
ecb30409f6
Added reshape() functionality to CPU backend
2022-03-05 14:18:13 +03:00
Sergey Ivanov
44c2c77548
Merge pull request #21658 from sivanov-work:vpp_core_add_roi
...
G-API: Add ROI processing in VPP preproc
* Add ROI in VPP prepro
* Apply comments
2022-03-05 13:50:40 +03:00
Anna Khakimova
5be5efdacf
GAPI Fluid: Dynamic dispatching for Add kernel.
2022-03-05 00:18:29 +03:00
Anna Khakimova
9c7adb7248
Merge pull request #21530 from anna-khakimova:ak/simd_divrc
...
* GAPI Fluid: SIMD for DivRC kernel.
* Fluid: Div kernel's SIMD refactoring
* SIMD for DivRC 3 channel case
* Applied comments
2022-03-02 13:36:16 +00:00
Vadim Levin
119d8b3aca
Merge pull request #21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port
...
4.x: submodule or a class scope for exported classes
* feature: submodule or a class scope for exported classes
All classes are registered in the scope that corresponds to C++
namespace or exported class.
Example:
`cv::ml::Boost` is exported as `cv.ml.Boost`
`cv::SimpleBlobDetector::Params` is exported as
`cv.SimpleBlobDetector.Params`
For backward compatibility all classes are registered in the global
module with their mangling name containing scope information.
Example:
`cv::ml::Boost` has `cv.ml_Boost` alias to `cv.ml.Boost` type
* refactor: remove redundant GAPI aliases
* fix: use explicit string literals in CVPY_TYPE macro
* fix: add handling for class aliases
2022-02-25 01:17:43 +03:00
Sergey Ivanov
8f1c502d2b
Merge pull request #21618 from sivanov-work:vpp_preproc_core
...
G-API: Add VPL/VPP preproc core module
* Add BaseMediAdapter for VPL
* Add PreprocSession & PreprocEngine interface part
* Implement preproc UT, Fix base path
* Add common PP interface, add common pp_params
* Rough decoupling VPL & Preproc
* Add syntax sugar for PP interface
* Integrate VPP preproc in GIEbackend
* Add PP bypass
* Add perf tests for PP
* Fix warning in vpl core UT
* Add inner preproc resolution Unit Test
* Remove VPP preproc description from single ROI sample
* Apply SetROIBlob for diferent Infer operations
* Eliminate extra branch-lines for cfg_param_parser & transcode_engine
* Fix UT warning &PreprocSession compile
* Fix compilation & warnings
* Reduce Session&Engine code amount
* Apply some comments
* Revert IE changes, rename preproc
* Fix for DX11 infer for OV: turn off texture array
* Remove dependency PP on IE
* Change fixture tests params
* Apply other comments & turn off ROI for GPU
* Fix compilation: remove forgotten INFER define
* Apply debt comments
* Fix PP UTs: add FrameInfo value comparator
* Fix style
* Remove standalone map for preproc frames storage
* Add other comments
2022-02-24 10:35:52 +00:00
Alexander Alekhin
92312fbc0c
Merge pull request #21613 from YusukeKameda:patch-1
2022-02-22 19:23:32 +00:00
Aleksei Trutnev
aa53541235
enable dynamic dispatching for merge4
2022-02-22 00:13:22 +03:00
Alexander Alekhin
b9e5256cf9
Merge pull request #21628 from anna-khakimova:ak/resize_fix_32bit_builds
2022-02-17 12:16:06 +00:00
Anna Khakimova
6b6d89b911
GAPI Fluid: Fix for 32bit build issue.
2022-02-17 13:13:02 +03:00
Alexander Alekhin
31881209d6
Merge pull request #21626 from anna-khakimova:ak/workaround_for_16s
2022-02-16 17:47:48 +00:00
Alexander Alekhin
5c7e893393
Merge pull request #21529 from alexgiving:atrutnev/simd_for_merge3
2022-02-16 17:45:19 +00:00
Anna Khakimova
3c814ebf87
GAPI Perf Tests:Workaround for the OpenCV's issue.
2022-02-16 14:22:04 +03:00
Yusuke Kameda
33f219dfe6
Incorrect kernel matrix size when Scharr
...
Incorrect Mat size ksize==-1
2022-02-14 19:31:45 +09:00
Sergey Ivanov
d5ecb5ff5a
Merge pull request #21567 from sivanov-work:gapi_streaming_fix
...
G-API: Fix streaming hangs for ConstSource & Improve troubleshooting logger messages
2022-02-09 18:48:06 +00:00
Anatoliy Talamanov
619b6dfae3
Merge pull request #21579 from TolyaTalamanov:at/handle-errors-in-iebackend
...
[G-API] Handle errors in IEBackend & modeling tool
* Handle errors in IEBackend & modeling tool
* Handle exceptions in callback
* Add const cv to exception
2022-02-09 16:52:23 +00:00
Dmitry Budnikov
3eeec4faae
Merge pull request #21560 from dbudniko:dbudniko/gapi_media_format_gray_plus_gst_source
...
G-API gst source gray support
2022-02-08 16:51:53 +03:00
Anatoliy Talamanov
08356007c9
Merge pull request #21566 from TolyaTalamanov:at/gapi-modeling-tool_fix_handling_fp16_precision
...
[G-API] Pipeline modeling tool - Fix generating FP16 Mat
* Fix handling fp16 precision
* Disable preproc in case FP16 input inside IE backend
* Fix isApplicableForResize function
2022-02-07 16:48:43 +00:00
Dmitry Budnikov
4d0148b417
Merge pull request #21511 from dbudniko:dbudniko/gapi_media_format_gray
...
G-API media format gray
2022-02-03 15:20:21 +03:00
Anna Khakimova
1605d1d24d
Merge pull request #21474 from anna-khakimova:ak/simd_for_divc
...
GAPI Fluid: SIMD for DivC kernel.
* GAPI Fluid:SIMD for DivC
* Applied comment
2022-02-02 18:47:01 +00:00
Maksim Shabunin
437af37b13
Use modern OpenVINO package interface
2022-02-01 16:52:17 +00:00
Aleksei Trutnev
c62367612d
Enable dynamic dispatching for Merge3
2022-02-01 16:40:20 +03:00
Anatoliy Talamanov
a92cba8484
Merge pull request #21477 from TolyaTalamanov:at/pipeline-builder-tool
...
[G-API] Implement G-API pipeline modeling tool
* Implement G-API pipeline builder tool
* Remove whitespaces from config
* Remove unused unittest stuff
* Fix comments to review
* Fix MAC warning
* Rename to pipeline_modeling_tool
* Move to opencv apps
* Move config to gapi/samples/data
* gapi: samples sources are installed automatically
2022-02-01 16:32:56 +03:00
Trutnev Aleksei
245f6273bd
Merge pull request #21520 from alexgiving:atrutnev/simd_for_split4
...
GAPI FLUID: Enable dynamic dispatching for Split4
* Enable dynamic dispatching for split4
* Add tail proc for split3 and split4
2022-01-31 17:45:56 +00:00
Aleksei Trutnev
94229bb262
tolerance for divc
2022-01-28 17:12:20 +03:00
Trutnev Aleksei
9cab808c5d
Merge pull request #21475 from alexgiving:atrutnev/fix_tests
...
GAPI: Replace resize perf test to imgproc
* resize + test configs
* fluid kernel "add"
* Add fluid core
2022-01-27 12:27:41 +00:00
Anatoliy Talamanov
2b79a6ff8f
Merge pull request #20832 from TolyaTalamanov:at/python-gstreamer-source
...
G-API: Wrap GStreamerSource
* Wrap GStreamerSource into python
* Fixed test skipping when can't make Gst-src
* Wrapped GStreamerPipeline class, added dummy test for it
* Fix no_gst testing
* Changed wrap for GStreamerPipeline::getStreamingSource() : now python-specific in-class method GStreamerPipeline::get_streaming_source()
* Added accuracy tests vs OCV:VideoCapture(Gstreamer)
* Add skipping when can't use VideoCapture(GSTREAMER);
Add better handling of GStreamer backend unavailable;
Changed video to avoid terminations
* Applying comments
* back to a separate get_streaming_source function, with comment
Co-authored-by: OrestChura <orest.chura@intel.com>
2022-01-26 14:01:13 +00:00
Aleksei Trutnev
5e89b9a455
Dynamic Dispatching for split3
2022-01-25 18:13:30 +03:00
Sergey Ivanov
266835cd2e
Merge pull request #21232 from sivanov-work:vpl_gpu_remote_infer
...
G-API: oneVPL DX11 inference
* Draft GPU infer
* Fix incorrect subresource_id for array of textures
* Fix for TheOneSurface in different Frames
* Turn on VPP param configuration
* Add cropIn params
* Remove infer sync sample
* Remove comments
* Remove DX11AllocResource extra init
* Add condition for NV12 processing in giebackend
* Add VPP frames pool param configurable
* -M Remove extra WARN & INFOs, Fix custom MAC
* Remove global vars from example, Fix some comments, Disable blobParam due to OV issue
* Conflict resolving
* Revert back pointer cast for cv::any
2022-01-24 17:05:26 +03:00
Maxim Pashchenkov
6778e19710
Merge pull request #21362 from mpashchenkov:mp/ocv-gapi-suppress-warn
...
G-API: Suppress ngraph warnings for MSVS2015 (4268)
* 4268 are suppressed
* 1900-->>1910 (v140)
* Two more warnings from ngraph include
2022-01-19 11:40:36 +00:00
Alexey Smirnov
f2d5d6d24e
Merge pull request #20785 from smirnov-alexey:as/oak_backend
...
GAPI: Add OAK backend
* Initial tests and cmake integration
* Add a public header and change tests
* Stub initial empty template for the OAK backend
* WIP
* WIP
* WIP
* WIP
* Runtime dai hang debug
* Refactoring
* Fix hang and debug frame data
* Fix frame size
* Fix data size issue
* Move test code to sample
* tmp refactoring
* WIP: Code refactoring except for the backend
* WIP: Add non-camera sample
* Fix samples
* Backend refactoring wip
* Backend rework wip
* Backend rework wip
* Remove mat encoder
* Fix namespace
* Minor backend fixes
* Fix hetero sample and refactor backend
* Change linking logic in the backend
* Fix oak sample
* Fix working with ins/outs in OAK island
* Trying to fix nv12 problem
* Make both samples work
* Small refactoring
* Remove meta args
* WIP refactoring kernel API
* Change in/out args API for kernels
* Fix build
* Fix cmake warning
* Partially address review comments
* Partially address review comments
* Address remaining comments
* Add memory ownership
* Change pointer-to-pointer to reference-to-pointer
* Remove unnecessary reference wrappers
* Apply review comments
* Check that graph contains only one OAK island
* Minor refactoring
* Address review comments
2022-01-17 22:56:01 +00:00
Anna Khakimova
60228d30d1
Merge pull request #21144 from anna-khakimova:ak/resize_simd_v2
...
GAPI Fluid: Resize Linear U8C3 - reworking horizontal pass.
* Reworked horizontal pass
* Fixed valgrind issue and removed unnesesary snippet
2022-01-14 12:48:52 +00:00
Maksim Shabunin
d5f73f89d8
Fixed issues found by static analysis
2022-01-13 14:51:25 +03:00
Dmitry Budnikov
19bbe6c67d
Merge pull request #21424 from dbudniko:dbudniko/media_frame_adapter_enabling
...
Adapt remote inference to operate with NV12 blobs
* Media Frame Adapter support
* address comments
2022-01-12 17:38:14 +00:00
Aleksei Trutnev
e9c46f38fc
fix rounding
2022-01-12 01:11:46 +03:00
Trutnev Aleksei
43c04c29ce
Merge pull request #21157 from alexgiving:atrutnev/move_resize
...
GAPI: Move Resize kernel from core to imgproc
* Move Resize kernel from core to imgproc
* Applied style comments
* Adding backward compatibility
* Applied Asya PR
2021-12-29 15:13:43 +00:00
Alexander Alekhin
80c2fefc43
Merge pull request #21318 from alexgiving:atrutnev/move_GKernelPackage
2021-12-28 12:20:41 +00:00
Aleksei Trutnev
c68fec7e97
Move GKernelPackage to cv namespace
2021-12-24 18:04:11 +03:00
Anastasiya Pronina
ded0efb955
Disabling SSE4.1 path in GFluidResize due to Valgrind issues
2021-12-24 13:37:16 +03:00
Trutnev Aleksei
04b27525fa
Merge pull request #21231 from alexgiving:atrutnev/SIMD_SubRC_fluid
...
GAPI FLUID: SIMD for SubRC kernel
* SIMD for SubRC
* Reverse subrc
2021-12-17 13:42:47 +00:00
Trutnev Aleksei
295da7e5f3
Merge pull request #21150 from alexgiving:atrutnev/fluid_perf
...
GAPI: Add compare function to perf tests
* Add PhasePerfTest and SqrtPerfTest
* rebasing
* debug tests
* remove spaces
* Disable DivRCPerfTestGPU
* rebase
* Applied comments
* Correction
* Revert parameter changes
2021-12-14 15:16:59 +00:00
Alexander Alekhin
f1053d48a2
Merge pull request #21204 from anna-khakimova:ak/move_simd_absdiffc
2021-12-13 18:03:50 +00:00
Sergey Ivanov
b70370f3fd
Merge pull request #21230 from sivanov-work:gapi_win32_vpl_fix
...
G-API: Fix Win32 build: uint64_t ->size_t
* Fix Win32 build: uint64_t ->size_t
* Fix for MAC
2021-12-10 08:58:59 +00:00
Alexander Alekhin
02ac6ec81c
cmake: option to disable GStreamer in G-API
...
- OPENCV_GAPI_GSTREAMER
2021-12-08 11:07:32 +00:00
Sergey Ivanov
5c91f5b71d
Merge pull request #21049 from sivanov-work:vpl_dx11_merge
...
G-API: oneVPL merge DX11 acceleration
* Merge DX11 initial
* Fold conditions row in MACRO in utils
* Inject DeviceSelector
* Turn on DeviceSelector in DX11
* Change sharedLock logic & Move FMT checking in FrameAdapter c-tor
* Move out NumSuggestFrame to configure params
* Drain file source fix
* Fix compilation
* Force zero initializetion of SharedLock
* Fix some compiler warnings
* Fix integer comparison warnings
* Fix integers in sample
* Integrate Demux
* Fix compilation
* Add predefined names for some CfgParam
* Trigger CI
* Fix MultithreadCtx bug, Add Dx11 GetBlobParam(), Get rif of ATL CComPtr
* Fix UT: remove unit test with deprecated video from opencv_extra
* Add creators for most usable CfgParam
* Eliminate some warnings
* Fix warning in GAPI_Assert
* Apply comments
* Add VPL wrapped header with MSVC pragma to get rid of global warning masking
2021-12-08 07:09:33 +00:00
Alexander Alekhin
0c9dbc61a1
Merge pull request #21212 from OrestChura:oc/fix_openvino_standalone_build
2021-12-07 11:32:28 +00:00
Alexander Alekhin
6788fdb0d6
Merge pull request #21205 from anna-khakimova:ak/fix_for_muldouble_gpu
2021-12-07 10:24:50 +00:00
Anna Khakimova
3a4b61579d
GAPI GPU: fix for tests failure.
2021-12-07 11:21:04 +03:00
OrestChura
51d7ba7446
Bring updates from openvino version of standalone files
2021-12-07 06:56:48 +03:00
Anastasiya(Asya) Pronina
8dd6882222
Merge pull request #20709 from AsyaPronina:asyadev/integrate_gstreamer_source
...
Ported GStreamerSource to OpenCV
* Ported GStreamerSource to OpenCV
* Fixed CI failures
* Whitespaces
* Whitespaces + removed exception from destructors C4722
* Removed assert for Priv's getSS and descr_of
* Removed assert for pull
* Fixed last review comment
Co-authored-by: Pashchenkov Maxim <maxim.pashchenkov@intel.com>
2021-12-06 16:54:21 +00:00
Anna Khakimova
a4d6bcba09
GAPI Fluid: Enable dynamic dispatching for AbsDiffC kernel.
2021-12-06 15:15:47 +03:00
Anna Khakimova
c3910807c5
Merge pull request #21177 from anna-khakimova:ak/simd_mulc
...
* GAPI Fluid: SIMD for MulC kernel.
* Changes for MulDouble kernel.
2021-12-03 12:30:39 +00:00
Sergey Ivanov
c5b8b5687f
Merge pull request #21041 from sivanov-work:gin_gout_concept
...
G-API: GAPI introduce compile guard for some types for gin/gout params passing
* Initial for taged solution
* Move out tags to gtags.hpp & add protection for own::Mat
* Add compile guard to proper place
* Fix MACRO concat
* Add unit tests
* Remove class MACRO injection due to Python3
* Revert back unproper changes
* Apply comments: reuse shape from traits
* Throw away unused gtags
* Apply comments
* Handle own::*
* Fix test
* Fix test(1)
* Fix unix build
* Try on type list
* Apply comments
* Apply comments
* Fix warning
2021-12-03 12:30:05 +00:00
Anna Khakimova
369b260e12
Merge pull request #21158 from anna-khakimova:ak/simd_subC
...
* GAPI Fluid: SIMD for SubC kernel.
* Applied comments
2021-12-01 21:58:30 +00:00
Anna Khakimova
d58b5ef74b
Merge pull request #21119 from anna-khakimova:ak/simd_addc
...
* GAPI Fluid: SIMD for AddC kernel
* Final version
* Applied comments.
2021-11-29 11:20:53 +00:00
Alexander Alekhin
d470cfe86e
Merge pull request #21134 from alalek:gapi_fix_build_ie_msvs2015
2021-11-27 12:59:46 +00:00
Alexander Alekhin
c15218e37a
gapi: fix build with MSVS2015 (with IE)
2021-11-26 19:34:52 +00:00
Orest Chura
e20fe421e7
Merge pull request #21103 from OrestChura:oc/fix_1D_Mat_RMat_View_issue
...
[G-API] Fix issue of getting 1D Mat out of RMat::View
* Fix issue of getting 1D Mat out of RMat::View
- added test
- fixed for standalone too (removed Assert(dims.empty()))
* Fixed asVeiw() function for standalone
* Put more detailed comment
2021-11-26 16:42:12 +00:00
Orest Chura
2deb38d615
Merge pull request #21083 from OrestChura:oc/fix_coverity_vino_issues
...
[G-API] Fixed Coverity issues
* Fixed Coverity issues
- VectorRef&OpaqueRef m_kind = CV_UNKNOWN
- added same-type overload for saturate()
- sanitized resize value in ByteMemoryInStream::operator>> (std::string& str)
- handled throws from ~GStreamingExecutor()
* Catching exception by const ref
* Addressing Sergey's comments
* Applied enable_if semanitcs to saturate(x, round) too
* Removed uncaught_exception, made destructor noexcept back
* Split Fluid ConvertTo to multiple functions to avoid ifs; added CV_ALWAYS_INLINE
* Added FIXME to address throwings from stop()
* Fix standalone
* Addressing comments
* Guarded SIMD optimizations properly
* Removed excess parameter from simd_impl functions
2021-11-26 16:40:36 +00:00
Maxim Pashchenkov
b95d71af2b
Merge pull request #21106 from mpashchenkov:mp/ocv-gapi-clean-samples
...
G-API: Cleaning samples
* parseSSD + removed render details from gcpukernel
* self-rev
* Applying comment
* Added operators
* warnings
2021-11-26 14:31:15 +03:00
Sergey Ivanov
02f08879a4
Merge pull request #21022 from sivanov-work:async_mfp_demux
...
G-API: oneVPL Implement asynchronous MFP demux data provider
* Add dummy dmux
* Initial commit for draft versionn
* Demux for low res file works
* Add media source resolver to work over incorrect MIME
* Add MFP Demux logger
* stash changes
* Extend IDataProvider with CodecId, Add troubleshooting info
* Add IDapaProvider dispatcher
* Add ComPtrGuard wrappers
* Add new unit test scope for MFP demux & Add minor changes
* Enhance UTs
* Remove ATL header
* Remove ATL another one
* Fix build
* Add static for some methods
* Initial commit
* Add async demuxing
* Apply tdd idea
* Intro IDataProvider changes: +fetch_bitstream, -fetch_data
* Fix UTs
* Remove IDataProvider::CodecId & Fix EOF hang
* Remove sync demux
* Remove mfp async dependencies
* Remove VPL dependencies from IDataProvider declaration
* Apply comments
* Fix compilation
* Suppress unused warning
* Apply some comments
* Apply some comments
* Apply comments
2021-11-22 14:53:38 +03:00
Alexander Alekhin
4b6047e746
Merge pull request #21024 from anna-khakimova:ak/simd_mul
2021-11-17 18:41:52 +00:00
Anna Khakimova
c47673bf10
Fluid: SIMD multiply kernel
2021-11-17 11:35:32 +03:00
Maxim Pashchenkov
2f6d2b08aa
Merge pull request #20995 from mpashchenkov:mp/ocv-gapi-tdp-skip
...
G-API: Removing G-API test code that is a reflection of ts module
* gapi: don't hijack testing infrastructure
* Removed initDataPath functionality (ts module exists)
* Removed false for ocv_extra data from findDataFile
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-11-16 18:27:42 +00:00
Anatoliy Talamanov
c7df82460c
Merge pull request #20925 from TolyaTalamanov:at/enable-2d-inputs-giebackend
...
[G-API] Enable 2D inputs for GIEBackend
* Enable 2D inputs
* Fix typo
2021-11-16 12:52:42 +00:00
Anna Khakimova
b19697e3ac
Merge pull request #20914 from anna-khakimova:ak/simd_div
...
GAPI Fluid: SIMD Div kernel.
* HAL implementation for Div kernel
* Removed dbg lines
* Applied comments.
* Reworked
* Final version
2021-11-15 17:16:25 +00:00
Anatoliy Talamanov
2b2e515a30
Merge pull request #20918 from TolyaTalamanov:at/fix-empty-map-importNetwork
...
[G-API] Fix bugs in GIEBackend
* Remove inputs/outputs map from IEUnit
* Add test
* Add NV12 test
* Reorganize setBlob function
* Check that backend don't overwrite blob precision
* Stop setting config to global IE::Core
* Replace mutable to const_cast
* Update modules/gapi/test/infer/gapi_infer_ie_test.cpp
* Update modules/gapi/test/infer/gapi_infer_ie_test.cpp
* Make blob parameter as const ref
* Cosmetic fixes
* Fix failed test on inferROI
* Removed double ref for ii
* Disable tests
* Skip tests if device not available
* Use Sync prim under shared_ptr to avoid issue on MAC
* Apply WA for IE::Core
* Apply WA for MAC build
* Try to apply another WA
* Not release IE::Core for apple
* Put comment
* Support PreprocInfo for
* InferROI
* InferList
* InferList2
* Remove empty line
* Fix alignment
Co-authored-by: Maxim Pashchenkov <maxim.pashchenkov@intel.com>
2021-11-15 17:11:53 +00:00
Alexander Alekhin
b48eb4e88b
Merge pull request #21039 from SegaraRai:use-pragma-message
2021-11-12 14:31:03 +00:00
Trutnev Aleksei
b525480b25
Merge pull request #20857 from alexgiving:atrutnev/move_API_samples
...
Move API sample code to tutorial_code location
2021-11-12 14:17:21 +00:00
Trutnev Aleksei
18ca998f67
Merge pull request #21040 from alexgiving:atrutnev/rename_RMatAdapter
...
GAPI: Rename MatAdapter to RMatOnMat
2021-11-11 14:52:38 +03:00
SegaraRai
8444470e3a
use #pragma message
instead of #warning
for non-GCC compilers
2021-11-11 03:14:19 +09:00
Sergey Ivanov
da6344297a
Merge pull request #20901 from sivanov-work:merge_source_unite_perf_mod
...
G-API: oneVPL - Performance: Add async decode pipeline & add cached pool
* Add async decode pipeline & intro cached pool
* Fix performacne test with checking OPENCV_EXTRA
* Add sip perf test with no VPL
* Fix misprint
* Remove empty line..
* Apply some comments
* Apply some comments
* Make perf test fail if no OPENCV_TEST_DATA_PATH declared
2021-11-10 13:21:51 +00:00
Anna Khakimova
3cfca01372
Merge pull request #20664 from anna-khakimova:ak/resize_simd
...
Fluid: SIMD for Resize Linear 8UC3
* SIMD for fluid::Resize 8U3C
* Rework horizontal pass + add 8U4C case
* Reproduce stackoverflow test
* StackOverflow test
* SSE42 impl
* SSE42 impl improvement
* GAPI:SSE42 simd opt for Resize 8UC3. Final version
* Fix tests
* Conditional compilation fix
* Applied comments
* Applied comments. Step2
* Applied comments. Step2
2021-11-10 13:19:52 +00:00
Trutnev Aleksei
17234f82d0
Merge pull request #20836 from alexgiving:atrutnev/rename_Adapter_to_IAdapter
...
* Rename RMat::Adapter to RMat::IAdapter
* Add comments
2021-11-01 12:43:27 +00:00
Trutnev Aleksei
6a73e5a720
Merge pull request #20922 from alexgiving:atrutnev/align_expect_assert_macros
...
GAPI: Align EXPECT/ASSERT macros
* Align TEST macros
* restart CI
* Fix ASSERT_GT in gapi_async_test
2021-10-29 16:30:35 +00:00
Maxim Pashchenkov
eb152d7431
Merge pull request #20937 from mpashchenkov:mp/ocv-gapi-warnings
...
G-API: Disable Windows warnings with 4996 code
* Windows warnings 4503 and 4996 are disabled with dnn style
* Applying comments to review
* Reproducing
* Added check MSVC_VERSION for both warnings
2021-10-28 18:19:46 +00:00
shengyu
9dadc06e64
remove redundant semicolons
2021-10-27 20:19:05 +08:00
Alexander Alekhin
60f949e36f
Merge pull request #20924 from alexgiving:atrutnev/fix_gkernel_documentation
2021-10-27 09:17:16 +00:00
atrutnev
0a58d6812a
fix gkernel Doxygen documentation
2021-10-22 11:06:09 +03:00
Sergey Ivanov
d376fe9e17
Merge pull request #20921 from sivanov-work:atl_patch
...
G-API: FIX OpenVINO build - Add CComPtr RAII replacement into G-API sample
* Add CComPtr RAII replacement into G-API sample
* Remove completely `atlbase.h'
2021-10-21 16:12:03 +00:00
Sergey Ivanov
1f9a7b8fd3
Merge pull request #20738 from sivanov-work:merge_master_vpl_dev_select
...
G-API: oneVPL - Implement IDeviceSelector & default cfg_param-based selector
* Initial commit
* Add MACRO undef
* Change IDeviceSelector, Change Inf sample for choose external device
* Fix compilation
* Address some comments
* Fix compilation
* Add missing header
* Add EXPORT to dev selector
* Add guard
* Remove enum type attr
* Fix compilation without VPL
* Add HAVE_INFER guard in sample
* Remove unusable include from tests
* Remove unusable include from sample
* Remove cl_d3d11 header from unit test
2021-10-20 12:43:32 +03:00
Anatoliy Talamanov
b5a9a6793b
Merge pull request #20856 from TolyaTalamanov:at/cfg-batch-size
...
G-API: Extend ie::Params to specify batch size
* Add cfgBatchSize to ie::Params
* Fix comments to review
2021-10-18 19:31:48 +03:00
Sergey Ivanov
0cf79155d4
Merge pull request #20773 from sivanov-work:merge_vpl_source_unite
...
G-API: oneVPL (simplification) unite components in entire VPL source
* Unify components in VPLSource
* Revert back decode WRN & Add compile guard
* Address come comments
* Add source alias
* Apply comment for exception handling
2021-10-18 19:20:55 +03:00
Alexander Alekhin
c832e62db0
Merge pull request #20771 from smirnov-alexey:as/render_fixture_params
2021-10-05 11:38:10 +00:00
Alexander Alekhin
59502594f8
Merge pull request #20772 from shengyu7697:remove-redundant-semicolon
2021-10-04 15:38:49 +00:00
shengyu
4d87f6025e
remove redundant semicolons
2021-10-02 09:35:47 +08:00
Anatoliy Talamanov
6d83a73858
Fix bugs with hanging frames
2021-10-01 16:38:41 +03:00
Smirnov Alexey
5865af7f6e
Add more parameters to render fixture
2021-09-29 12:13:13 +03:00
Sergey Ivanov
c1148c4ea6
Merge pull request #20739 from sivanov-work:merge_base_decode
...
G-API: oneVPL (simplification) Add simple decode pipeline
* Add simple decode pipeline & add onevpl namespace
* Address some review comments
* Add compilation guard
2021-09-28 18:02:21 +03:00
Ruslan Garnov
3673b45437
Added desync RMats and MediaFrames support
2021-09-24 14:29:27 +03:00
Anatoliy Talamanov
499d8adb75
Merge pull request #20705 from TolyaTalamanov:at/handle-reshape-in-gexecutor
...
G-API: Handle reshape for generic case in GExecutor
* Handle reshape for generic case for GExecutor
* Add initResources
* Add tests
* Refactor reshape method
2021-09-23 22:59:40 +03:00
Sergey Ivanov
54386c82fd
Merge pull request #20727 from sivanov-work:merge_vpl_accel_impl
...
G-API: oneVPL (simplification) added CPU, DX11(fallback CPU) accels & surface pool
* Add CPU, DX11(fallback CPU) accels & surface pool
* Fix build for surface_pool
* Apply some comments
* Fix indentation
2021-09-23 14:34:30 +03:00
Sergey Ivanov
ba8f9d8620
Merge pull request #20601 from sivanov-work:surf_bk_test
...
G-API: oneVPL (simplification) added surface & frame adapter
* added surface & frame adapter
* Add FrameAdapter unut tests
* Fix compilation after rebase
* Fix compilation tests
* Apply some review comments
* Fix compile warning
* Revert back CV_Func usage
* Apply some comments
2021-09-20 16:28:32 +03:00
Alexander Alekhin
5aa7435d25
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-09-02 15:24:04 +00:00
Alexander Alekhin
2ed5cba110
build: eliminate build warnings
2021-08-29 09:18:21 +00:00
Sergey Ivanov
65ef82a946
Merge pull request #20570 from sivanov-work:vpl_source_data_adapter
...
G-API: oneVPL (simplification) Add data adapter & Cfg params
* Add cfg_param & data_provider
* Fix compilation after rebase
* Apply some comments
* Apply default ctor outside class definition comment
* Apply cfg param in source
* Fix compilation: add virtual dtor
* Move cfg_params in regular gapi src list
* Fix compilation: add export.hpp
* Add errno.h
* Add errno.h
* Apply namespace comment
* Add several Doxygen & rename cfg_param
* Fix build
* Update Doxygen docs for onevpl
* Fix typo
2021-08-24 15:41:57 +03:00
Alexander Alekhin
b509a7060a
Merge pull request #20593 from TolyaTalamanov:at/fix-gexecutor-writeback
2021-08-24 09:41:21 +00:00