Aleksei Trutnev
c68fec7e97
Move GKernelPackage to cv namespace
3 years ago
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
3 years ago
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>
3 years ago
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
3 years ago
Alexander Alekhin
c15218e37a
gapi: fix build with MSVS2015 (with IE)
3 years ago
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
3 years ago
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
3 years ago
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>
3 years ago
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
3 years ago
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>
3 years ago
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
3 years ago
Trutnev Aleksei
17234f82d0
Merge pull request #20836 from alexgiving:atrutnev/rename_Adapter_to_IAdapter
...
* Rename RMat::Adapter to RMat::IAdapter
* Add comments
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Anatoliy Talamanov
6d83a73858
Fix bugs with hanging frames
3 years ago
Smirnov Alexey
5865af7f6e
Add more parameters to render fixture
3 years ago
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
3 years ago
Ruslan Garnov
3673b45437
Added desync RMats and MediaFrames support
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Alexander Alekhin
2ed5cba110
build: eliminate build warnings
3 years ago
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
3 years ago
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
3 years ago
Sergey Ivanov
3f3c5de851
Merge pull request #20372 from sivanov-work:serialize
...
GAPI: Implement ConstValue serialize/deserialize
* Implement ConstValue ser/deser
* Fix MacOs compile issue
* Fix Docs compile
* Change uint32 -> uint64 for serialize tag
3 years ago
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
3 years ago
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
3 years ago
Maxim Pashchenkov
ed2a698392
Merge pull request #20359 from mpashchenkov:mp/onnx-tests
...
G-API: ONNX. Skip tests.
* imread for every test
* Changed name for Yolo function
3 years ago
Maxim Pashchenkov
05f1939b02
Merge pull request #20298 from mpashchenkov:mp/python-desync
...
G-API: Python. Desync.
* Desync. GMat.
* Alignment
3 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Alexey Smirnov
d9ed9a9a83
Merge pull request #20151 from smirnov-alexey:as/extend_media_frame
...
G-API: Extend MediaFrame to be able to extract additional info besides access
* Extend MediaFrame to be able to extract additional info besides access
* Add default implementation for blobParams()
* Add comment on the default blobParams()
4 years ago
Sergey Ivanov
2b06208bbd
Merge pull request #20107 from sivanov-work:gapi_transpose_op
...
G-API: Add transpose operation
* Add kernels decl & def
* Add draft for UT
* Fix UT for Transpose
* Add perf test
* Fix docs
* Apply comments
4 years ago
Anatoliy Talamanov
b67c0e5f4a
Merge pull request #20119 from TolyaTalamanov:at/compile-arg-for-queue-capacity
...
* Support queue capacity as graph compilation argument
* Fix comments to review
* Fix comments to review
* Fix comments to review
4 years ago
Anatoliy Talamanov
e00cfe067d
Fix infer hanging
4 years ago
Maxim Pashchenkov
e23578acd9
Added skip for TestTwoVideosDifferentLength
4 years ago
Orest Chura
34a8a45a6a
Merge pull request #19828 from OrestChura:oc/fix_garray_garray_input
...
[G-API] Fix bug of GArray<GArray> passing through a graph
* Add test to check GArray<GArray> passing through a graph (assertion failed)
* G-API: Flatten GArray<T> to std::vector<T> when capturing VCtr
- Also: Fix formatting in garray.hpp
* Refactored test, added valuable check
* Initialize size_t
Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com>
4 years ago
Alexander Alekhin
8095f601d1
gapi(test): avoid compilation failure with GCC11
4 years ago
aDanPin
e6f52b0996
Adding stereo operation and tests
4 years ago
Maxim Pashchenkov
61a4100d0c
Added overload for cfgPostPros
4 years ago
Maxim Pashchenkov
69fc0acd1a
Merge pull request #19752 from mpashchenkov:mp/onnx-int64-to-32
...
G-API: ONNX. Adding INT64-32 conversion for output.
* Added int64 to 32 conversion
* Added warning
* Added type checks for all toCV
* Added type checks for tests
* Small fixes
* Const for fixture in test
* std::tuple if retutn value for toCV
* Mistake
* Changed toCV for tests
* Added Assert
* Fix for comments
* One conversion for ONNX and IE
* Clean up
* One more fix
* Added copyFromONNX
* Removed warning
* Apply review comments
4 years ago
Ruslan Garnov
76a9c0ccb0
Fixed Y accessor in BGR accessor test, added more instantiations
4 years ago
Ruslan Garnov
b5339cc01b
Fixed valgrind warnings in accessors tests
4 years ago
Orest Chura
ad2f5ccc66
Merge pull request #19712 from OrestChura:oc/Kalm_ptest
...
[G-API]: Performance tests for KalmanFilter
* Kalman perf.tests and some tests refactoring
* Input generation moved to a separate function; Slowest case sneario testing added
* Generating refactored
* Generating refactoring
* Addressing comments
4 years ago
Alexander Alekhin
3290a5f370
gapi(build): eliminate Win32 build warning
4 years ago
Anastasiya Pronina
b0d66e06f4
Added Y, UV accessors to cv::MediaFrame
4 years ago
Anatoliy Talamanov
50a264d832
Merge pull request #19310 from TolyaTalamanov:at/generic-infer-overloads
...
[G-API] Support generic infer overloads
* Overloads for generic infer
* Fix build
* Refactoring
* Fix docs
* Put extra stuff to detail namespace
* Add doc for usings
* Remove uneccessary template in Priv
4 years ago
Ruslan Garnov
716bdd5ee5
Implemented basic frame drop functionality
4 years ago