Struct opencv::cudacodec::FormatInfo
source · [−]#[repr(C)]pub struct FormatInfo {Show 14 fields
pub codec: Codec,
pub chroma_format: ChromaFormat,
pub n_bit_depth_minus8: i32,
pub ul_width: i32,
pub ul_height: i32,
pub width: i32,
pub height: i32,
pub ul_max_width: i32,
pub ul_max_height: i32,
pub display_area: Rect,
pub valid: bool,
pub fps: f64,
pub ul_num_decode_surfaces: i32,
pub deinterlace_mode: DeinterlaceMode,
}
Expand description
Struct providing information about video file format. :
Fields
codec: Codec
chroma_format: ChromaFormat
n_bit_depth_minus8: i32
ul_width: i32
Coded sequence width in pixels.
ul_height: i32
Coded sequence height in pixels.
width: i32
Width of the decoded frame returned by nextFrame(frame).
height: i32
Height of the decoded frame returned by nextFrame(frame).
ul_max_width: i32
ul_max_height: i32
display_area: Rect
ROI inside the decoded frame returned by nextFrame(frame), containing the useable video frame.
valid: bool
fps: f64
ul_num_decode_surfaces: i32
Maximum number of internal decode surfaces.
deinterlace_mode: DeinterlaceMode
Trait Implementations
sourceimpl Clone for FormatInfo
impl Clone for FormatInfo
sourcefn clone(&self) -> FormatInfo
fn clone(&self) -> FormatInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FormatInfo
impl Debug for FormatInfo
sourceimpl PartialEq<FormatInfo> for FormatInfo
impl PartialEq<FormatInfo> for FormatInfo
sourcefn eq(&self, other: &FormatInfo) -> bool
fn eq(&self, other: &FormatInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FormatInfo) -> bool
fn ne(&self, other: &FormatInfo) -> bool
This method tests for !=
.
impl Copy for FormatInfo
impl StructuralPartialEq for FormatInfo
Auto Trait Implementations
impl RefUnwindSafe for FormatInfo
impl Send for FormatInfo
impl Sync for FormatInfo
impl Unpin for FormatInfo
impl UnwindSafe for FormatInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more