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
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
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
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
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
Aleksei Trutnev
c68fec7e97
Move GKernelPackage to cv namespace
2021-12-24 18:04:11 +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
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
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
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
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
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
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
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
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
SegaraRai
8444470e3a
use #pragma message
instead of #warning
for non-GCC compilers
2021-11-11 03:14:19 +09: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
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
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
shengyu
4d87f6025e
remove redundant semicolons
2021-10-02 09:35:47 +08:00
Ruslan Garnov
3673b45437
Added desync RMats and MediaFrames support
2021-09-24 14:29:27 +03: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
Anatoliy Talamanov
5ad6ff239b
Merge pull request #20555 from TolyaTalamanov:at/fix-compileStreaming-bug
...
[G-API] Extend compileStreaming to support different overloads
* Make different overloads
* Order python compileStreaming overloads
* Fix compileStreaming bug
* Replace
gin -> descr_of
* Set error message
* Fix review comments
* Use macros for pyopencv_to GMetaArgs
* Use GAPI_PROP_RW
* Not split Prims python stuff
2021-08-24 12:37:50 +03:00
Sergey Ivanov
46fb88c76f
Merge pull request #20546 from sivanov-work:initial_vpl_source
...
G-API: oneVPL (simplification) source base commit
* oneVPL source initial
* Fix compilation
* Fix compilation path
* Fix NO VPL compile
* Fix unused vars
* Fix unused vars in example
* Simplify oneVPL search: no custom path & download
* Fix standalone GAPI
* Apply comments
2021-08-17 20:11:22 +03:00
Anatoliy Talamanov
ba539eb9aa
Merge pull request #20508 from TolyaTalamanov:at/expand-python-pyparams
...
[G-API] Expand PyParams to support constInput
* Wrap constInputs to python
* Wrap cfgNumRequests
* Fix alignment
* Move macro to the line above
2021-08-06 14:41:56 +03:00
Alexey Smirnov
5179e37bd1
Merge pull request #20329 from smirnov-alexey:as/mediaframe_serialization
...
[G-API]: Add serialization mechanism for cv::MediaFrame
* Stub initial interface
* Fix templates for deserialization
* Fix tests
* Disable a warning on windows
* Address review comments
* Change enable_ifs to other template helpers
* Resolve ambiguous template
* Fix warnings in docs
2021-07-13 19:31:46 +00:00
Alexey Smirnov
59ae0e0013
Merge pull request #20163 from smirnov-alexey:as/gapi_serialization_docs
...
G-API: add documentation on serialization functionality
* Add documentation on serialization/deserialization
* Add docs on bind() methods
* Fix typo
* Docs refactoring
* Fix s11n docs
* Fix deserialize() docs
* Change deserialize docs
* Fix warning
* Address review comments
* Fix sample
* Fix warnings and errors
* Fix docs warnings
* Fix warnings
* Address review comments
* Add prefixes to snippets and fix indentation
* Address review comments and move snippets to a single file
2021-07-07 19:07:59 +00:00
Sergey Ivanov
c0f63eb21f
Merge pull request #20039 from sivanov-work:gapi_empty_input
...
G-API: Implement variant visit()
* Add variant visitor, use visitor for check compile args
* Fix GAPI UT: variant *compiler
* Aling apply_visior with std, fix indentations
* Fix compilation (included compiler_hints.hpp)
* Fix compilation (due gapi standalone)
* Fix compilation2 (Docs)
* Add Lambdas overload, Refactor visit()
* Add ReturnType auto deduction
* Fix comilation
* Fix compilation
* Fix warnings
* Try to fix MSVC14
* Fix docs
* Try fix Win compile
* Fix Docs again
* Revert GAPI empty input fix
* Apply comment for `tuple_element`
* Add std::decay for std::base_of to work arounf armv7 problem
* Apply review comments
* Apply review comments: added comment & removed unused args
* Fix docs compilation
2021-07-07 12:33:40 +00:00
Maxim Pashchenkov
05f1939b02
Merge pull request #20298 from mpashchenkov:mp/python-desync
...
G-API: Python. Desync.
* Desync. GMat.
* Alignment
2021-07-01 19:06:35 +00:00
Anatoliy Talamanov
9fe49497bb
Merge pull request #20284 from TolyaTalamanov:at/wrap-render
...
G-API: Wrap render functionality to python
* Wrap render Rect prim
* Add all primitives and tests
* Cover mosaic and image
* Handle error in pyopencv_to(Prim)
* Move Mosaic and Rect ctors wrappers to shadow file
* Use GAPI_PROP_RW
* Fix indent
2021-07-01 09:36:19 +00:00
Anatoliy Talamanov
fb7ef76e74
Merge pull request #20271 from TolyaTalamanov:at/extend-python-bindings
...
G-API: Extend python bindings
* Extend G-API bindings
* Wrap timestamp, seqNo, seq_id
* Wrap copy
* Wrap parseSSD, parseYolo
* Rewrap cv.gapi.networks
* Add test for metabackend in pytnon
* Remove int64 pyopencv_to
2021-06-30 09:04:09 +00:00
Alexey Smirnov
c95a56450d
Merge pull request #20156 from smirnov-alexey:as/gapi_remote_infer
...
G-API: Support remote inference
* Extend MediaFrame to be able to extract additional info besides access
* Add API for remote inference
* Add default implementation for blobParams()
* Add default implementation for blobParams()
* Address review comments
* Fix any_cast usage
* Add comment on the default blobParams()
* Address review comments
* Add missing rctx
* Minor fix
* Fix indentation and comment
* Address review comments
* Add documentation
2021-06-26 00:09:33 +03:00
Alexander Alekhin
b3db37b99d
Merge pull request #20238 from dmatveev:dm/gframe_docs
2021-06-16 15:06:04 +00:00
Dmitry Matveev
415668ecf0
G-API: Documentation updates
...
1) Document GFrame/MediaFrame (and also other G-API types)
- Added doxygen comments for GMat, GScalar, GArray<T>, GOpaque classes;
- Documented GFrame and its host-side counterpart MediaFrame;
- Added some more notes to the data type classes.
2) Give @brief descriptions to most of the cv::gapi::* namespaces
3) Make some symbols private
- These structures are mainly internal and shouldn't be used directly
2021-06-16 01:01:55 +03:00
Maxim Pashchenkov
651967b95c
Merge pull request #19341 from mpashchenkov:mp/ocv-gapi-parsessd-fix
...
G-API: Removing ParseSSD overload.
* Removed specialization.
* Removed united
2021-06-15 19:02:17 +00:00
Sergey Ivanov
e461031d40
Merge pull request #20184 from sivanov-work:fix_gapi_empty_input
...
G-API: Add standalone fix for graph empty input
* Add sandalone fix for graph empty input
* Apply some review comments
* Fix whitespace
* Apply review comment: make Mat check more deeper
* Apply some comments
* Remove tracer apply exception throwing
* Apply comments: move validatio into gproto_priv.hpp
* Apply minor text correction
* Fix alignment, remove try-catch
2021-06-10 14:05:46 +03:00
Pinaev Danil
b57b64b7a3
Merge pull request #20129 from aDanPin:dp/improvement_gapi_stereo_documentation
...
G-API: Improvement stereo documentation.
* Documentation improvement
* Set valid default values for gapi stereo
* Small doc fix
* Review response
* Review response
* Review response
* Review response
* Revie response
* Review response
* Review response
* Review response
2021-06-09 13:24:50 +00:00
Maxim Pashchenkov
8e386ac71f
Merge pull request #20112 from mpashchenkov:mp/ocv-gapi-docs-part1
...
G-API: Documentation for Params (IE and ONNX).
* Applying comments
* Removed type of model from PramsDesc
* Added message for onnx ParamDesc
* Whitespaces
* Review
* Fix comments to review
* Fix comments
Co-authored-by: Anatoliy Talamanov <anatoliy.talamanov@intel.com>
2021-06-09 13:23:51 +00:00
Anatoliy Talamanov
bdc8e9118b
Merge pull request #20169 from TolyaTalamanov:at/doc-generic-type
...
[G-API] Generic type documentation
* Put doc about generic type
* Fix comments to review
2021-06-08 11:59:57 +03:00