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
3 years ago
Alexander Alekhin
02ac6ec81c
cmake: option to disable GStreamer in G-API
...
- OPENCV_GAPI_GSTREAMER
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
Anna Khakimova
3a4b61579d
GAPI GPU: fix for tests failure.
3 years ago
OrestChura
51d7ba7446
Bring updates from openvino version of standalone files
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
Anna Khakimova
c3910807c5
Merge pull request #21177 from anna-khakimova:ak/simd_mulc
...
* GAPI Fluid: SIMD for MulC kernel.
* Changes for MulDouble kernel.
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
Anna Khakimova
369b260e12
Merge pull request #21158 from anna-khakimova:ak/simd_subC
...
* GAPI Fluid: SIMD for SubC kernel.
* Applied comments
3 years ago
Anna Khakimova
d58b5ef74b
Merge pull request #21119 from anna-khakimova:ak/simd_addc
...
* GAPI Fluid: SIMD for AddC kernel
* Final version
* Applied comments.
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
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
3 years ago
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
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
Anna Khakimova
c47673bf10
Fluid: SIMD multiply kernel
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
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
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
Trutnev Aleksei
b525480b25
Merge pull request #20857 from alexgiving:atrutnev/move_API_samples
...
Move API sample code to tutorial_code location
3 years ago
Trutnev Aleksei
18ca998f67
Merge pull request #21040 from alexgiving:atrutnev/rename_RMatAdapter
...
GAPI: Rename MatAdapter to RMatOnMat
3 years ago
SegaraRai
8444470e3a
use `#pragma message` instead of `#warning` for non-GCC compilers
3 years ago
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
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
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
3 years ago
shengyu
9dadc06e64
remove redundant semicolons
3 years ago
atrutnev
0a58d6812a
fix gkernel Doxygen documentation
3 years ago
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'
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
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
3 years ago
shengyu
4d87f6025e
remove redundant semicolons
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
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
3 years ago
Anatoliy Talamanov
aa5c4945d6
Fix GExecutor WriteBackExec
3 years ago
Anatoliy Talamanov
03b989251d
Check adapter in executor
3 years ago
Anatoliy Talamanov
95919051e0
Merge pull request #20528 from TolyaTalamanov:at/fix-overwrite-blob-precision-bug
...
[G-API] Prohibit setPrecision & preprocessing for importedNetworks
* Prohibit preprocessing for imported networks
* Fix typo
input_names -> output_names
* Move setBlob logic to separate function
* Change comment
3 years ago
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
3 years ago
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
3 years ago