#[repr(C)]pub struct _VABlendState {
pub flags: c_uint,
pub global_alpha: f32,
pub min_luma: f32,
pub max_luma: f32,
}Expand description
\brief Video blending state definition.
Fields§
§flags: c_uint\brief Video blending flags.
global_alpha: f32\brief Global alpha value.
Valid if \ref flags has VA_BLEND_GLOBAL_ALPHA. Valid range is 0.0 to 1.0 inclusive.
min_luma: f32\brief Minimum luma value.
Valid if \ref flags has VA_BLEND_LUMA_KEY. Valid range is 0.0 to 1.0 inclusive. \ref min_luma shall be set to a sensible value lower than \ref max_luma.
max_luma: f32\brief Maximum luma value.
Valid if \ref flags has VA_BLEND_LUMA_KEY. Valid range is 0.0 to 1.0 inclusive. \ref max_luma shall be set to a sensible value larger than \ref min_luma.
Trait Implementations§
Source§impl Clone for _VABlendState
impl Clone for _VABlendState
Source§fn clone(&self) -> _VABlendState
fn clone(&self) -> _VABlendState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _VABlendState
Source§impl Debug for _VABlendState
impl Debug for _VABlendState
Source§impl Default for _VABlendState
impl Default for _VABlendState
Source§fn default() -> _VABlendState
fn default() -> _VABlendState
Returns the “default value” for a type. Read more
Source§impl PartialEq for _VABlendState
impl PartialEq for _VABlendState
Source§fn eq(&self, other: &_VABlendState) -> bool
fn eq(&self, other: &_VABlendState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for _VABlendState
Auto Trait Implementations§
impl Freeze for _VABlendState
impl RefUnwindSafe for _VABlendState
impl Send for _VABlendState
impl Sync for _VABlendState
impl Unpin for _VABlendState
impl UnsafeUnpin for _VABlendState
impl UnwindSafe for _VABlendState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more