1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 15:26:00 +08:00
Commit Graph

16 Commits

Author SHA1 Message Date
kuloPo
9d2989fd5e Fix CV_FOURCC identifier not found while compiling 2021-10-03 22:32:35 -07:00
Suleyman TURKMEN
07a9245847 Update perf_video.cpp 2021-09-25 23:56:32 +03:00
cudawarped
6a18431421 Merge pull request #3001 from cudawarped:fix_cudacodec_wh
* Correct width/height returned by cudacodec::VideoReader::FormatInfo()

* Remove redundant calls to VideoCapture
2021-07-10 12:57:23 +00:00
cudawarped
2c5a77712b Merge pull request #2999 from cudawarped:fix_cudacodec_stream
Fix cudacodec so that it can use streams other than the default

* Add stream property to CUVIDPROCPARAMS so that the post processing and mapping (cuvidMapVideoFrame) of a video frame to cuda from the hardware decoder can use streams other than the default.

* Use standard OpenCV StreamAccessor::getStream() method for returning the raw cuda stream.
2021-07-09 18:48:25 +00:00
cudawarped
5f99ff97b9 Update cudacodec to work with Nvidia Video Codec SDK 11.0 2020-12-07 10:01:02 +00:00
Alexander Alekhin
58f9a9e4da [moved from opencv] cudacodec(build): fix detection in CMake, cleanup duplicate includes
original commit: d01cbe9320
2020-06-17 09:09:40 +00:00
Tomoaki Teshima
bab3d66c71 [moved from opencv] fix corner case of libnvcuvid
* detect header automatically and not based on version number

original commit: d4af89781b
2020-06-11 23:06:18 +09:00
cudawarped
d7d6360fce Merge pull request #2396 from cudawarped:fix_python_cudawarping_cudaarithm
Add python bindings to cudaobjdetect, cudawarping and cudaarithm

* Overload cudawarping functions to generate correct python bindings.
Add python wrapper to convolution funciton.

* Added shift and hog.

* Moved cuda python tests to this repo and added python bindings to SURF.

* Fix SURF documentation and allow meanshiftsegmention to create GpuMat internaly if not passed for python bindings consistency.

* Add correct cuda SURF test case.

* Fix python mog and mog2 python bindings, add tests and  correct cudawarping documentation.

* Updated KeyPoints in cuda::ORB::Convert python wrapper to be an output argument.

* Add changes suggested by alalek

* Added changes suggested by asmorkalov
2020-01-29 12:54:42 +03:00
cudawarped
7cb627a372 Patch cv::cudacodec::createVideoReader() memory leak until cudacodec can be updated to miirror NVidia example code. 2019-12-06 17:42:15 +00:00
cudawarped
7cbe83f217 Merge pull request #2362 from cudawarped:fix_cudacodec_python
Fix cudacodec::VideoReader::nextFrame python bindings

* Signla to python bindings generator that nextFrame's OutputArray is a GpuMat.
Also remove duplicate test in cudacodec

* cudacodec: drop CV_GPU, wrap GpuMat only

* Make it explicit that frame in nextFrame is GpuMat and cannot be multiple types as implied by OutputArray
2019-12-04 18:58:06 +03:00
cudawarped
53b9880f8e Merge pull request #2180 from cudawarped:example_fix_for_cudacodec
OpenCV fix 14774 breaks cudacodec

* Example to describe comilation issue

* Added required changes, builds with -DWITH_FFMPEG=ON|OFF

* Working with standard ffmpeg cap.

* Changed cudacodec to use new retrieveRaw() function, to retrieve the raw encoded bitstream, from the videoio module  instead of its own implementation.

* Fix cv::cudacodec::VideoWriter

* Update to use VideoContainer

* Remove header used in testing

* Remove warning

* remove dependence on redundant ffmpeg codecs

* cudacodec: use .set(CAP_PROP_FORMAT, -1) to extract RAW streams

* whitespace

* addressed alalek's comment
2019-11-18 21:02:12 +03:00
James Bowley
66aba496f1 Add missing codecs to cudacodec which uses Nvidia Video Codec SDK including checks to ensure codec used in input video file is supported on the current device.
Re-enable cudacodec performance test.
2019-06-12 13:51:47 +01:00
LinkeyLeo
fe7301eadb add cuda 10 support for opencv_nvcuvid
nvidia video codec sdk need to be installed separately (https://developer.nvidia.com/nvidia-video-codec-sdk#Download)
only Samples/NvCodec/NvDecoder/nvcuvid.h and Samples/NvCodec/NvDecoder/cuviddec.h is necessary
2018-12-18 13:44:33 +08:00
Yuriy Obukh
abbc450b27 Fix win build perf_video 2018-11-29 11:24:12 +02:00
Hamdi Sahloul
542b9acf5b CUDA/Python: Cleanup some manual enum wrappers 2018-09-30 21:29:02 +09:00
Alexander Alekhin
82733fe56b cuda: move CUDA modules to opencv_contrib
OpenCV 4.0+
2018-09-19 18:57:43 +03:00