#[repr(C)]
pub enum 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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.