#[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
impl Copy for _VABlendState
Source§impl Debug for _VABlendState
impl Debug for _VABlendState
Source§impl Default for _VABlendState
impl Default for _VABlendState
Source§impl PartialEq for _VABlendState
impl PartialEq for _VABlendState
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