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).
386
+
- 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)
387
+
@return `false` if no frames have been grabbed
388
+
389
+
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
390
+
the method returns false and the function returns an empty image.
/** @brief Returns previously grabbed encoded video data.
395
+
396
+
@param [out] frame The encoded video data.
397
+
@param idx Determines the returned data inside image. The returned data can be the:
398
+
- Extra data if available, idx = get(PROP_EXTRA_DATA_INDEX).
399
+
- 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)
400
+
@return `false` if no frames have been grabbed
385
401
386
402
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
403
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.
444
+
- 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).
445
+
- Out: Value of the property.
413
446
@return `true` unless the property is not supported.
0 commit comments