[−][src]Struct ffmpeg_dev::sys::AVHWFramesConstraints
This struct describes the constraints on hardware frames attached to a given device with a hardware-specific configuration. This is returned by av_hwdevice_get_hwframe_constraints() and must be freed by av_hwframe_constraints_free() after use.
Fields
valid_hw_formats: *mut AVPixelFormat
A list of possible values for format in the hw_frames_ctx, terminated by AV_PIX_FMT_NONE. This member will always be filled.
valid_sw_formats: *mut AVPixelFormat
A list of possible values for sw_format in the hw_frames_ctx, terminated by AV_PIX_FMT_NONE. Can be NULL if this information is not known.
min_width: c_int
The minimum size of frames in this hw_frames_ctx. (Zero if not known.)
min_height: c_int
max_width: c_int
The maximum size of frames in this hw_frames_ctx. (INT_MAX if not known / no limit.)
max_height: c_int
Trait Implementations
impl Clone for AVHWFramesConstraints
[src]
fn clone(&self) -> AVHWFramesConstraints
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AVHWFramesConstraints
[src]
impl Debug for AVHWFramesConstraints
[src]
Auto Trait Implementations
impl !Send for AVHWFramesConstraints
impl !Sync for AVHWFramesConstraints
impl Unpin for AVHWFramesConstraints
impl UnwindSafe for AVHWFramesConstraints
impl RefUnwindSafe for AVHWFramesConstraints
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,