You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/cudacodec/include/opencv2/cudacodec.hpp
+10-2
Original file line number
Diff line number
Diff line change
@@ -457,16 +457,24 @@ The `params` parameter allows to specify extra parameters encoded as pairs `(par
457
457
See cv::VideoCaptureProperties
458
458
e.g. when streaming from an RTSP source CAP_PROP_OPEN_TIMEOUT_MSEC may need to be set.
459
459
@param rawMode Allow the raw encoded data which has been read up until the last call to grab() to be retrieved by calling retrieve(rawData,RAW_DATA_IDX).
460
+
@param minNumDecodeSurfaces Minimum number of internal decode surfaces used by the hardware decoder. NVDEC will automatically determine the minimum number of
461
+
surfaces it requires for correct functionality and optimal video memory usage but not necessarily for best performance, which depends on the design of the
462
+
overall application. The optimal number of decode surfaces (in terms of performance and memory utilization) should be decided by experimentation for each application,
463
+
but it cannot go below the number determined by NVDEC.
460
464
461
465
FFMPEG is used to read videos. User can implement own demultiplexing with cudacodec::RawVideoSource
@param source RAW video source implemented by user.
467
471
@param rawMode Allow the raw encoded data which has been read up until the last call to grab() to be retrieved by calling retrieve(rawData,RAW_DATA_IDX).
472
+
@param minNumDecodeSurfaces Minimum number of internal decode surfaces used by the hardware decoder. NVDEC will automatically determine the minimum number of
473
+
surfaces it requires for correct functionality and optimal video memory usage but not necessarily for best performance, which depends on the design of the
474
+
overall application. The optimal number of decode surfaces (in terms of performance and memory utilization) should be decided by experimentation for each application,
475
+
but it cannot go below the number determined by NVDEC.
0 commit comments