pub struct ProcPipelineParameterBuffer { /* private fields */ }Expand description
Wrapper over the VAProcPipelineParameterBuffer FFI type.
Implementations§
Source§impl ProcPipelineParameterBuffer
impl ProcPipelineParameterBuffer
Sourcepub fn new(
surface: VASurfaceID,
surface_region: Option<VARectangle>,
surface_color_standard: u8,
output_region: Option<VARectangle>,
output_background_color: u32,
output_color_standard: u8,
pipeline_flags: u32,
filter_flags: u32,
filters: Option<Vec<VABufferID>>,
forward_references: Option<Vec<VASurfaceID>>,
backward_references: Option<Vec<VASurfaceID>>,
rotation_state: u32,
blend_state: Option<Vec<BlendState>>,
mirror_state: u32,
additional_outputs: Option<Vec<VASurfaceID>>,
input_surface_flag: u32,
output_surface_flag: u32,
input_color_properties: ProcColorProperties,
output_color_properties: ProcColorProperties,
processing_mode: u32,
output_hdr_metadata: Option<Vec<HdrMetaData>>,
) -> Self
pub fn new( surface: VASurfaceID, surface_region: Option<VARectangle>, surface_color_standard: u8, output_region: Option<VARectangle>, output_background_color: u32, output_color_standard: u8, pipeline_flags: u32, filter_flags: u32, filters: Option<Vec<VABufferID>>, forward_references: Option<Vec<VASurfaceID>>, backward_references: Option<Vec<VASurfaceID>>, rotation_state: u32, blend_state: Option<Vec<BlendState>>, mirror_state: u32, additional_outputs: Option<Vec<VASurfaceID>>, input_surface_flag: u32, output_surface_flag: u32, input_color_properties: ProcColorProperties, output_color_properties: ProcColorProperties, processing_mode: u32, output_hdr_metadata: Option<Vec<HdrMetaData>>, ) -> Self
Creates the wrapper.
Sourcepub fn inner(&self) -> &VAProcPipelineParameterBuffer
pub fn inner(&self) -> &VAProcPipelineParameterBuffer
Returns the inner FFI type. Useful for testing purposes.
Auto Trait Implementations§
impl !Send for ProcPipelineParameterBuffer
impl !Sync for ProcPipelineParameterBuffer
impl Freeze for ProcPipelineParameterBuffer
impl RefUnwindSafe for ProcPipelineParameterBuffer
impl Unpin for ProcPipelineParameterBuffer
impl UnsafeUnpin for ProcPipelineParameterBuffer
impl UnwindSafe for ProcPipelineParameterBuffer
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