Enum opencv::cudacodec::CUDA_VideoReaderProps
source · #[repr(C)]pub enum CUDA_VideoReaderProps {
PROP_DECODED_FRAME_IDX,
PROP_EXTRA_DATA_INDEX,
PROP_RAW_PACKAGES_BASE_INDEX,
PROP_NUMBER_OF_RAW_PACKAGES_SINCE_LAST_GRAB,
PROP_RAW_MODE,
PROP_LRF_HAS_KEY_FRAME,
PROP_COLOR_FORMAT,
PROP_UDP_SOURCE,
PROP_ALLOW_FRAME_DROP,
PROP_NOT_SUPPORTED,
}
Expand description
cv::cudacodec::VideoReader generic properties identifier.
Variants§
PROP_DECODED_FRAME_IDX
Index for retrieving the decoded frame using retrieve().
PROP_EXTRA_DATA_INDEX
Index for retrieving the extra data associated with a video source using retrieve().
PROP_RAW_PACKAGES_BASE_INDEX
Base index for retrieving raw encoded data using retrieve().
PROP_NUMBER_OF_RAW_PACKAGES_SINCE_LAST_GRAB
Number of raw packages recieved since the last call to grab().
PROP_RAW_MODE
Status of raw mode.
PROP_LRF_HAS_KEY_FRAME
FFmpeg source only - Indicates whether the Last Raw Frame (LRF), output from VideoReader::retrieve() when VideoReader is initialized in raw mode, contains encoded data for a key frame.
PROP_COLOR_FORMAT
Set the ColorFormat of the decoded frame. This can be changed before every call to nextFrame() and retrieve().
PROP_UDP_SOURCE
Status of VideoReaderInitParams::udpSource initialization.
PROP_ALLOW_FRAME_DROP
Status of VideoReaderInitParams::allowFrameDrop initialization.
PROP_NOT_SUPPORTED
Trait Implementations§
source§impl Clone for CUDA_VideoReaderProps
impl Clone for CUDA_VideoReaderProps
source§fn clone(&self) -> CUDA_VideoReaderProps
fn clone(&self) -> CUDA_VideoReaderProps
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CUDA_VideoReaderProps
impl Debug for CUDA_VideoReaderProps
source§impl PartialEq<CUDA_VideoReaderProps> for CUDA_VideoReaderProps
impl PartialEq<CUDA_VideoReaderProps> for CUDA_VideoReaderProps
source§fn eq(&self, other: &CUDA_VideoReaderProps) -> bool
fn eq(&self, other: &CUDA_VideoReaderProps) -> bool
self
and other
values to be equal, and is used
by ==
.