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
- Extra data if available, idx = get(PROP_EXTRA_DATA_INDEX).
388
+
- Raw encoded data package. To retrieve package i, idx = get(PROP_RAW_PACKAGES_BASE_INDEX) + i with i < get(PROP_NUMBER_OF_RAW_PACKAGES_SINCE_LAST_GRAB)
389
+
@return `false` if no frames have been grabbed
390
+
391
+
The method returns data associated with the current video source since the last call to grab() or the creation of the VideoReader. If no data is present
392
+
the method returns false and the function returns an empty image.
/** @brief Returns previously grabbed encoded video data.
397
+
398
+
@param [out] frame The encoded video data.
399
+
@param idx Determines the returned data inside image. The returned data can be the:
400
+
- Extra data if available, idx = get(PROP_EXTRA_DATA_INDEX).
401
+
- Raw encoded data package. To retrieve package i, idx = get(PROP_RAW_PACKAGES_BASE_INDEX) + i with i < get(PROP_NUMBER_OF_RAW_PACKAGES_SINCE_LAST_GRAB)
402
+
@return `false` if no frames have been grabbed
385
403
386
404
The method returns data associated with the current video source since the last call to grab() or the creation of the VideoReader. If no data is present
387
405
the method returns false and the function returns an empty image.
In - Optional value required for querying specific propertyId's, e.g. the index of the raw package to be checked for a key frame (cv::cudacodec::VideoReaderProps::PROP_LRF_HAS_KEY_FRAME).
412
-
Out - Value of the property.
446
+
- In: Optional value required for querying specific propertyId's, e.g. the index of the raw package to be checked for a key frame (cv::cudacodec::VideoReaderProps::PROP_LRF_HAS_KEY_FRAME).
447
+
- Out: Value of the property.
413
448
@return `true` unless the property is not supported.
0 commit comments