Struct libva::VP9PicFields
source · [−]pub struct VP9PicFields(_VADecPictureParameterBufferVP9__bindgen_ty_1);
Expand description
Wrapper over the pic_fields
bindgen field in VAPictureParameterBufferVP9
.
Tuple Fields
0: _VADecPictureParameterBufferVP9__bindgen_ty_1
Implementations
sourceimpl VP9PicFields
impl VP9PicFields
sourcepub fn new(
subsampling_x: u32,
subsampling_y: u32,
frame_type: u32,
show_frame: u32,
error_resilient_mode: u32,
intra_only: u32,
allow_high_precision_mv: u32,
mcomp_filter_type: u32,
frame_parallel_decoding_mode: u32,
reset_frame_context: u32,
refresh_frame_context: u32,
frame_context_idx: u32,
segmentation_enabled: u32,
segmentation_temporal_update: u32,
segmentation_update_map: u32,
last_ref_frame: u32,
last_ref_frame_sign_bias: u32,
golden_ref_frame: u32,
golden_ref_frame_sign_bias: u32,
alt_ref_frame: u32,
alt_ref_frame_sign_bias: u32,
lossless_flag: u32
) -> Self
pub fn new(
subsampling_x: u32,
subsampling_y: u32,
frame_type: u32,
show_frame: u32,
error_resilient_mode: u32,
intra_only: u32,
allow_high_precision_mv: u32,
mcomp_filter_type: u32,
frame_parallel_decoding_mode: u32,
reset_frame_context: u32,
refresh_frame_context: u32,
frame_context_idx: u32,
segmentation_enabled: u32,
segmentation_temporal_update: u32,
segmentation_update_map: u32,
last_ref_frame: u32,
last_ref_frame_sign_bias: u32,
golden_ref_frame: u32,
golden_ref_frame_sign_bias: u32,
alt_ref_frame: u32,
alt_ref_frame_sign_bias: u32,
lossless_flag: u32
) -> Self
Creates the bindgen field
sourcepub fn inner(&mut self) -> &_VADecPictureParameterBufferVP9__bindgen_ty_1
pub fn inner(&mut self) -> &_VADecPictureParameterBufferVP9__bindgen_ty_1
Returns the inner FFI type. Useful for testing purposes.
Auto Trait Implementations
impl RefUnwindSafe for VP9PicFields
impl Send for VP9PicFields
impl Sync for VP9PicFields
impl Unpin for VP9PicFields
impl UnwindSafe for VP9PicFields
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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