Realm

vk · Structs · S9

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::StdVideoDecodeH265ReferenceInfo

Contract

Native structure StdVideoDecodeH265ReferenceInfo.

Khronos registry source: StdVideoDecodeH265ReferenceInfo

Fields

flags

Field
flags: StdVideoDecodeH265ReferenceInfoFlags

Native field flags.

pic_order_cnt_val

Field
pic_order_cnt_val: i32

Native field PicOrderCntVal.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoDecodeH265ReferenceInfoFlags) -> Self

Set native field flags without native effects.

set_pic_order_cnt_val

Method
pub fn set_pic_order_cnt_val(self, value: i32) -> Self

Set native field PicOrderCntVal without native effects.

clone

Method
fn clone(&self) -> StdVideoDecodeH265ReferenceInfo
Returns a duplicate of the value. Read more

Stvk::StdVideoDecodeH265ReferenceInfoFlags

Contract

Native structure StdVideoDecodeH265ReferenceInfoFlags.

Khronos registry source: StdVideoDecodeH265ReferenceInfoFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

used_for_long_term_reference

Method
pub const fn used_for_long_term_reference(&self) -> u32

Read native bitfield used_for_long_term_reference.

set_used_for_long_term_reference

Method
pub fn set_used_for_long_term_reference(&mut self, value: u32)

Set native bitfield used_for_long_term_reference, retaining its low 1 bits.

unused_for_reference

Method
pub const fn unused_for_reference(&self) -> u32

Read native bitfield unused_for_reference.

set_unused_for_reference

Method
pub fn set_unused_for_reference(&mut self, value: u32)

Set native bitfield unused_for_reference, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoDecodeH265ReferenceInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoDecodeVP9PictureInfo

pub struct StdVideoDecodeVP9PictureInfo<'a> { pub flags: StdVideoDecodeVP9PictureInfoFlags, pub profile: StdVideoVP9Profile, pub frame_type: StdVideoVP9FrameType, pub frame_context_idx: u8, pub reset_frame_context: u8, pub refresh_frame_flags: u8, pub ref_frame_sign_bias_mask: u8, pub interpolation_filter: StdVideoVP9InterpolationFilter, pub base_q_idx: u8, pub delta_q_y_dc: i8, pub delta_q_uv_dc: i8, pub delta_q_uv_ac: i8, pub tile_cols_log2: u8, pub tile_rows_log2: u8, pub reserved1: [u16; 3], pub p_color_config: *const StdVideoVP9ColorConfig, pub p_loop_filter: *const StdVideoVP9LoopFilter, pub p_segmentation: *const StdVideoVP9Segmentation, /* private fields */ }
Native structure StdVideoDecodeVP9PictureInfo.

Contract

Native structure StdVideoDecodeVP9PictureInfo.

Khronos registry source: StdVideoDecodeVP9PictureInfo

Fields

flags

Field
flags: StdVideoDecodeVP9PictureInfoFlags

Native field flags.

profile

Field
profile: StdVideoVP9Profile

Native field profile.

frame_type

Field
frame_type: StdVideoVP9FrameType

Native field frame_type.

frame_context_idx

Field
frame_context_idx: u8

Native field frame_context_idx.

reset_frame_context

Field
reset_frame_context: u8

Native field reset_frame_context.

refresh_frame_flags

Field
refresh_frame_flags: u8

Native field refresh_frame_flags.

ref_frame_sign_bias_mask

Field
ref_frame_sign_bias_mask: u8

Native field ref_frame_sign_bias_mask.

interpolation_filter

Field
interpolation_filter: StdVideoVP9InterpolationFilter

Native field interpolation_filter.

base_q_idx

Field
base_q_idx: u8

Native field base_q_idx.

delta_q_y_dc

Field
delta_q_y_dc: i8

Native field delta_q_y_dc.

delta_q_uv_dc

Field
delta_q_uv_dc: i8

Native field delta_q_uv_dc.

delta_q_uv_ac

Field
delta_q_uv_ac: i8

Native field delta_q_uv_ac.

tile_cols_log2

Field
tile_cols_log2: u8

Native field tile_cols_log2.

tile_rows_log2

Field
tile_rows_log2: u8

Native field tile_rows_log2.

reserved1

Field
reserved1: [u16; 3]

Native field reserved1.

p_color_config

Field
p_color_config: *const StdVideoVP9ColorConfig

Native field pColorConfig.

p_loop_filter

Field
p_loop_filter: *const StdVideoVP9LoopFilter

Native field pLoopFilter.

p_segmentation

Field
p_segmentation: *const StdVideoVP9Segmentation

Native field pSegmentation.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoDecodeVP9PictureInfoFlags) -> Self

Set native field flags without native effects.

set_profile

Method
pub fn set_profile(self, value: StdVideoVP9Profile) -> Self

Set native field profile without native effects.

set_frame_type

Method
pub fn set_frame_type(self, value: StdVideoVP9FrameType) -> Self

Set native field frame_type without native effects.

set_frame_context_idx

Method
pub fn set_frame_context_idx(self, value: u8) -> Self

Set native field frame_context_idx without native effects.

set_reset_frame_context

Method
pub fn set_reset_frame_context(self, value: u8) -> Self

Set native field reset_frame_context without native effects.

set_refresh_frame_flags

Method
pub fn set_refresh_frame_flags(self, value: u8) -> Self

Set native field refresh_frame_flags without native effects.

set_ref_frame_sign_bias_mask

Method
pub fn set_ref_frame_sign_bias_mask(self, value: u8) -> Self

Set native field ref_frame_sign_bias_mask without native effects.

set_interpolation_filter

Method
pub fn set_interpolation_filter( self, value: StdVideoVP9InterpolationFilter, ) -> Self

Set native field interpolation_filter without native effects.

set_base_q_idx

Method
pub fn set_base_q_idx(self, value: u8) -> Self

Set native field base_q_idx without native effects.

set_delta_q_y_dc

Method
pub fn set_delta_q_y_dc(self, value: i8) -> Self

Set native field delta_q_y_dc without native effects.

set_delta_q_uv_dc

Method
pub fn set_delta_q_uv_dc(self, value: i8) -> Self

Set native field delta_q_uv_dc without native effects.

set_delta_q_uv_ac

Method
pub fn set_delta_q_uv_ac(self, value: i8) -> Self

Set native field delta_q_uv_ac without native effects.

set_tile_cols_log2

Method
pub fn set_tile_cols_log2(self, value: u8) -> Self

Set native field tile_cols_log2 without native effects.

set_tile_rows_log2

Method
pub fn set_tile_rows_log2(self, value: u8) -> Self

Set native field tile_rows_log2 without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: [u16; 3]) -> Self

Set native field reserved1 without native effects.

set_color_config

Method
pub fn set_color_config(self, value: &'a StdVideoVP9ColorConfig) -> Self

Set native field pColorConfig without native effects.

set_loop_filter

Method
pub fn set_loop_filter(self, value: &'a StdVideoVP9LoopFilter) -> Self

Set native field pLoopFilter without native effects.

set_segmentation

Method
pub fn set_segmentation(self, value: &'a StdVideoVP9Segmentation) -> Self

Set native field pSegmentation without native effects.

clone

Method
fn clone(&self) -> StdVideoDecodeVP9PictureInfo<'a>
Returns a duplicate of the value. Read more

Stvk::StdVideoDecodeVP9PictureInfoFlags

Contract

Native structure StdVideoDecodeVP9PictureInfoFlags.

Khronos registry source: StdVideoDecodeVP9PictureInfoFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

error_resilient_mode

Method
pub const fn error_resilient_mode(&self) -> u32

Read native bitfield error_resilient_mode.

set_error_resilient_mode

Method
pub fn set_error_resilient_mode(&mut self, value: u32)

Set native bitfield error_resilient_mode, retaining its low 1 bits.

intra_only

Method
pub const fn intra_only(&self) -> u32

Read native bitfield intra_only.

set_intra_only

Method
pub fn set_intra_only(&mut self, value: u32)

Set native bitfield intra_only, retaining its low 1 bits.

allow_high_precision_mv

Method
pub const fn allow_high_precision_mv(&self) -> u32

Read native bitfield allow_high_precision_mv.

set_allow_high_precision_mv

Method
pub fn set_allow_high_precision_mv(&mut self, value: u32)

Set native bitfield allow_high_precision_mv, retaining its low 1 bits.

refresh_frame_context

Method
pub const fn refresh_frame_context(&self) -> u32

Read native bitfield refresh_frame_context.

set_refresh_frame_context

Method
pub fn set_refresh_frame_context(&mut self, value: u32)

Set native bitfield refresh_frame_context, retaining its low 1 bits.

frame_parallel_decoding_mode

Method
pub const fn frame_parallel_decoding_mode(&self) -> u32

Read native bitfield frame_parallel_decoding_mode.

set_frame_parallel_decoding_mode

Method
pub fn set_frame_parallel_decoding_mode(&mut self, value: u32)

Set native bitfield frame_parallel_decoding_mode, retaining its low 1 bits.

segmentation_enabled

Method
pub const fn segmentation_enabled(&self) -> u32

Read native bitfield segmentation_enabled.

set_segmentation_enabled

Method
pub fn set_segmentation_enabled(&mut self, value: u32)

Set native bitfield segmentation_enabled, retaining its low 1 bits.

show_frame

Method
pub const fn show_frame(&self) -> u32

Read native bitfield show_frame.

set_show_frame

Method
pub fn set_show_frame(&mut self, value: u32)

Set native bitfield show_frame, retaining its low 1 bits.

use_prev_frame_mvs

Method
pub const fn use_prev_frame_mvs(&self) -> u32

Read native bitfield UsePrevFrameMvs.

set_use_prev_frame_mvs

Method
pub fn set_use_prev_frame_mvs(&mut self, value: u32)

Set native bitfield UsePrevFrameMvs, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 24 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoDecodeVP9PictureInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeAV1DecoderModelInfo

#[repr(C)]pub struct StdVideoEncodeAV1DecoderModelInfo { pub buffer_delay_length_minus_1: u8, pub buffer_removal_time_length_minus_1: u8, pub frame_presentation_time_length_minus_1: u8, pub reserved1: u8, pub num_units_in_decoding_tick: u32, }
Native structure StdVideoEncodeAV1DecoderModelInfo.

Contract

Native structure StdVideoEncodeAV1DecoderModelInfo.

Khronos registry source: StdVideoEncodeAV1DecoderModelInfo

Fields

buffer_delay_length_minus_1

Field
buffer_delay_length_minus_1: u8

Native field buffer_delay_length_minus_1.

buffer_removal_time_length_minus_1

Field
buffer_removal_time_length_minus_1: u8

Native field buffer_removal_time_length_minus_1.

frame_presentation_time_length_minus_1

Field
frame_presentation_time_length_minus_1: u8

Native field frame_presentation_time_length_minus_1.

reserved1

Field
reserved1: u8

Native field reserved1.

num_units_in_decoding_tick

Field
num_units_in_decoding_tick: u32

Native field num_units_in_decoding_tick.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_buffer_delay_length_minus_1

Method
pub fn set_buffer_delay_length_minus_1(self, value: u8) -> Self

Set native field buffer_delay_length_minus_1 without native effects.

set_buffer_removal_time_length_minus_1

Method
pub fn set_buffer_removal_time_length_minus_1(self, value: u8) -> Self

Set native field buffer_removal_time_length_minus_1 without native effects.

set_frame_presentation_time_length_minus_1

Method
pub fn set_frame_presentation_time_length_minus_1(self, value: u8) -> Self

Set native field frame_presentation_time_length_minus_1 without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: u8) -> Self

Set native field reserved1 without native effects.

set_num_units_in_decoding_tick

Method
pub fn set_num_units_in_decoding_tick(self, value: u32) -> Self

Set native field num_units_in_decoding_tick without native effects.

clone

Method
fn clone(&self) -> StdVideoEncodeAV1DecoderModelInfo
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeAV1ExtensionHeader

Contract

Native structure StdVideoEncodeAV1ExtensionHeader.

Khronos registry source: StdVideoEncodeAV1ExtensionHeader

Fields

temporal_id

Field
temporal_id: u8

Native field temporal_id.

spatial_id

Field
spatial_id: u8

Native field spatial_id.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_temporal_id

Method
pub fn set_temporal_id(self, value: u8) -> Self

Set native field temporal_id without native effects.

set_spatial_id

Method
pub fn set_spatial_id(self, value: u8) -> Self

Set native field spatial_id without native effects.

clone

Method
fn clone(&self) -> StdVideoEncodeAV1ExtensionHeader
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeAV1OperatingPointInfo

#[repr(C)]pub struct StdVideoEncodeAV1OperatingPointInfo { pub flags: StdVideoEncodeAV1OperatingPointInfoFlags, pub operating_point_idc: u16, pub seq_level_idx: u8, pub seq_tier: u8, pub decoder_buffer_delay: u32, pub encoder_buffer_delay: u32, pub initial_display_delay_minus_1: u8, }
Native structure StdVideoEncodeAV1OperatingPointInfo.

Contract

Native structure StdVideoEncodeAV1OperatingPointInfo.

Khronos registry source: StdVideoEncodeAV1OperatingPointInfo

Fields

flags

Field
flags: StdVideoEncodeAV1OperatingPointInfoFlags

Native field flags.

operating_point_idc

Field
operating_point_idc: u16

Native field operating_point_idc.

seq_level_idx

Field
seq_level_idx: u8

Native field seq_level_idx.

seq_tier

Field
seq_tier: u8

Native field seq_tier.

decoder_buffer_delay

Field
decoder_buffer_delay: u32

Native field decoder_buffer_delay.

encoder_buffer_delay

Field
encoder_buffer_delay: u32

Native field encoder_buffer_delay.

initial_display_delay_minus_1

Field
initial_display_delay_minus_1: u8

Native field initial_display_delay_minus_1.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoEncodeAV1OperatingPointInfoFlags) -> Self

Set native field flags without native effects.

set_operating_point_idc

Method
pub fn set_operating_point_idc(self, value: u16) -> Self

Set native field operating_point_idc without native effects.

set_seq_level_idx

Method
pub fn set_seq_level_idx(self, value: u8) -> Self

Set native field seq_level_idx without native effects.

set_seq_tier

Method
pub fn set_seq_tier(self, value: u8) -> Self

Set native field seq_tier without native effects.

set_decoder_buffer_delay

Method
pub fn set_decoder_buffer_delay(self, value: u32) -> Self

Set native field decoder_buffer_delay without native effects.

set_encoder_buffer_delay

Method
pub fn set_encoder_buffer_delay(self, value: u32) -> Self

Set native field encoder_buffer_delay without native effects.

set_initial_display_delay_minus_1

Method
pub fn set_initial_display_delay_minus_1(self, value: u8) -> Self

Set native field initial_display_delay_minus_1 without native effects.

clone

Method
fn clone(&self) -> StdVideoEncodeAV1OperatingPointInfo
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeAV1OperatingPointInfoFlags

Contract

Native structure StdVideoEncodeAV1OperatingPointInfoFlags.

Khronos registry source: StdVideoEncodeAV1OperatingPointInfoFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

decoder_model_present_for_this_op

Method
pub const fn decoder_model_present_for_this_op(&self) -> u32

Read native bitfield decoder_model_present_for_this_op.

set_decoder_model_present_for_this_op

Method
pub fn set_decoder_model_present_for_this_op(&mut self, value: u32)

Set native bitfield decoder_model_present_for_this_op, retaining its low 1 bits.

low_delay_mode_flag

Method
pub const fn low_delay_mode_flag(&self) -> u32

Read native bitfield low_delay_mode_flag.

set_low_delay_mode_flag

Method
pub fn set_low_delay_mode_flag(&mut self, value: u32)

Set native bitfield low_delay_mode_flag, retaining its low 1 bits.

initial_display_delay_present_for_this_op

Method
pub const fn initial_display_delay_present_for_this_op(&self) -> u32

Read native bitfield initial_display_delay_present_for_this_op.

set_initial_display_delay_present_for_this_op

Method
pub fn set_initial_display_delay_present_for_this_op(&mut self, value: u32)

Set native bitfield initial_display_delay_present_for_this_op, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 29 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoEncodeAV1OperatingPointInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeAV1PictureInfo

pub struct StdVideoEncodeAV1PictureInfo<'a> { pub flags: StdVideoEncodeAV1PictureInfoFlags, pub frame_type: StdVideoAV1FrameType, pub frame_presentation_time: u32, pub current_frame_id: u32, pub order_hint: u8, pub primary_ref_frame: u8, pub refresh_frame_flags: u8, pub coded_denom: u8, pub render_width_minus_1: u16, pub render_height_minus_1: u16, pub interpolation_filter: StdVideoAV1InterpolationFilter, pub tx_mode: StdVideoAV1TxMode, pub delta_q_res: u8, pub delta_lf_res: u8, pub ref_order_hint: [u8; 8], pub ref_frame_idx: [i8; 7], pub reserved1: [u8; 3], pub delta_frame_id_minus_1: [u32; 7], pub p_tile_info: *const StdVideoAV1TileInfo<'a>, pub p_quantization: *const StdVideoAV1Quantization, pub p_segmentation: *const StdVideoAV1Segmentation, pub p_loop_filter: *const StdVideoAV1LoopFilter, pub p_cdef: *const StdVideoAV1CDEF, pub p_loop_restoration: *const StdVideoAV1LoopRestoration, pub p_global_motion: *const StdVideoAV1GlobalMotion, pub p_extension_header: *const StdVideoEncodeAV1ExtensionHeader, pub p_buffer_removal_times: *const u32, /* private fields */ }
Native structure StdVideoEncodeAV1PictureInfo.

Contract

Native structure StdVideoEncodeAV1PictureInfo.

Khronos registry source: StdVideoEncodeAV1PictureInfo

Fields

flags

Field
flags: StdVideoEncodeAV1PictureInfoFlags

Native field flags.

frame_type

Field
frame_type: StdVideoAV1FrameType

Native field frame_type.

frame_presentation_time

Field
frame_presentation_time: u32

Native field frame_presentation_time.

current_frame_id

Field
current_frame_id: u32

Native field current_frame_id.

order_hint

Field
order_hint: u8

Native field order_hint.

primary_ref_frame

Field
primary_ref_frame: u8

Native field primary_ref_frame.

refresh_frame_flags

Field
refresh_frame_flags: u8

Native field refresh_frame_flags.

coded_denom

Field
coded_denom: u8

Native field coded_denom.

render_width_minus_1

Field
render_width_minus_1: u16

Native field render_width_minus_1.

render_height_minus_1

Field
render_height_minus_1: u16

Native field render_height_minus_1.

interpolation_filter

Field
interpolation_filter: StdVideoAV1InterpolationFilter

Native field interpolation_filter.

tx_mode

Field
tx_mode: StdVideoAV1TxMode

Native field TxMode.

delta_q_res

Field
delta_q_res: u8

Native field delta_q_res.

delta_lf_res

Field
delta_lf_res: u8

Native field delta_lf_res.

ref_order_hint

Field
ref_order_hint: [u8; 8]

Native field ref_order_hint.

ref_frame_idx

Field
ref_frame_idx: [i8; 7]

Native field ref_frame_idx.

reserved1

Field
reserved1: [u8; 3]

Native field reserved1.

delta_frame_id_minus_1

Field
delta_frame_id_minus_1: [u32; 7]

Native field delta_frame_id_minus_1.

p_tile_info

Field
p_tile_info: *const StdVideoAV1TileInfo<'a>

Native field pTileInfo.

p_quantization

Field
p_quantization: *const StdVideoAV1Quantization

Native field pQuantization.

p_segmentation

Field
p_segmentation: *const StdVideoAV1Segmentation

Native field pSegmentation.

p_loop_filter

Field
p_loop_filter: *const StdVideoAV1LoopFilter

Native field pLoopFilter.

p_cdef

Field
p_cdef: *const StdVideoAV1CDEF

Native field pCDEF.

p_loop_restoration

Field
p_loop_restoration: *const StdVideoAV1LoopRestoration

Native field pLoopRestoration.

p_global_motion

Field
p_global_motion: *const StdVideoAV1GlobalMotion

Native field pGlobalMotion.

p_extension_header

Field
p_extension_header: *const StdVideoEncodeAV1ExtensionHeader

Native field pExtensionHeader.

p_buffer_removal_times

Field
p_buffer_removal_times: *const u32

Native field pBufferRemovalTimes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoEncodeAV1PictureInfoFlags) -> Self

Set native field flags without native effects.

set_frame_type

Method
pub fn set_frame_type(self, value: StdVideoAV1FrameType) -> Self

Set native field frame_type without native effects.

set_frame_presentation_time

Method
pub fn set_frame_presentation_time(self, value: u32) -> Self

Set native field frame_presentation_time without native effects.

set_current_frame_id

Method
pub fn set_current_frame_id(self, value: u32) -> Self

Set native field current_frame_id without native effects.

set_order_hint

Method
pub fn set_order_hint(self, value: u8) -> Self

Set native field order_hint without native effects.

set_primary_ref_frame

Method
pub fn set_primary_ref_frame(self, value: u8) -> Self

Set native field primary_ref_frame without native effects.

set_refresh_frame_flags

Method
pub fn set_refresh_frame_flags(self, value: u8) -> Self

Set native field refresh_frame_flags without native effects.

set_coded_denom

Method
pub fn set_coded_denom(self, value: u8) -> Self

Set native field coded_denom without native effects.

set_render_width_minus_1

Method
pub fn set_render_width_minus_1(self, value: u16) -> Self

Set native field render_width_minus_1 without native effects.

set_render_height_minus_1

Method
pub fn set_render_height_minus_1(self, value: u16) -> Self

Set native field render_height_minus_1 without native effects.

set_interpolation_filter

Method
pub fn set_interpolation_filter( self, value: StdVideoAV1InterpolationFilter, ) -> Self

Set native field interpolation_filter without native effects.

set_tx_mode

Method
pub fn set_tx_mode(self, value: StdVideoAV1TxMode) -> Self

Set native field TxMode without native effects.

set_delta_q_res

Method
pub fn set_delta_q_res(self, value: u8) -> Self

Set native field delta_q_res without native effects.

set_delta_lf_res

Method
pub fn set_delta_lf_res(self, value: u8) -> Self

Set native field delta_lf_res without native effects.

set_ref_order_hint

Method
pub fn set_ref_order_hint(self, value: [u8; 8]) -> Self

Set native field ref_order_hint without native effects.

set_ref_frame_idx

Method
pub fn set_ref_frame_idx(self, value: [i8; 7]) -> Self

Set native field ref_frame_idx without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: [u8; 3]) -> Self

Set native field reserved1 without native effects.

set_delta_frame_id_minus_1

Method
pub fn set_delta_frame_id_minus_1(self, value: [u32; 7]) -> Self

Set native field delta_frame_id_minus_1 without native effects.

set_tile_info

Method
pub fn set_tile_info(self, value: &'a StdVideoAV1TileInfo<'a>) -> Self

Set native field pTileInfo without native effects.

set_quantization

Method
pub fn set_quantization(self, value: &'a StdVideoAV1Quantization) -> Self

Set native field pQuantization without native effects.

set_segmentation

Method
pub fn set_segmentation(self, value: &'a StdVideoAV1Segmentation) -> Self

Set native field pSegmentation without native effects.

set_loop_filter

Method
pub fn set_loop_filter(self, value: &'a StdVideoAV1LoopFilter) -> Self

Set native field pLoopFilter without native effects.

set_cdef

Method
pub fn set_cdef(self, value: &'a StdVideoAV1CDEF) -> Self

Set native field pCDEF without native effects.

set_loop_restoration

Method
pub fn set_loop_restoration(self, value: &'a StdVideoAV1LoopRestoration) -> Self

Set native field pLoopRestoration without native effects.

set_global_motion

Method
pub fn set_global_motion(self, value: &'a StdVideoAV1GlobalMotion) -> Self

Set native field pGlobalMotion without native effects.

set_extension_header

Method
pub fn set_extension_header( self, value: &'a StdVideoEncodeAV1ExtensionHeader, ) -> Self

Set native field pExtensionHeader without native effects.

set_buffer_removal_times

Method
pub fn set_buffer_removal_times(self, value: &'a u32) -> Self

Set native field pBufferRemovalTimes without native effects.

clone

Method
fn clone(&self) -> StdVideoEncodeAV1PictureInfo<'a>
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeAV1PictureInfoFlags

Contract

Native structure StdVideoEncodeAV1PictureInfoFlags.

Khronos registry source: StdVideoEncodeAV1PictureInfoFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

error_resilient_mode

Method
pub const fn error_resilient_mode(&self) -> u32

Read native bitfield error_resilient_mode.

set_error_resilient_mode

Method
pub fn set_error_resilient_mode(&mut self, value: u32)

Set native bitfield error_resilient_mode, retaining its low 1 bits.

disable_cdf_update

Method
pub const fn disable_cdf_update(&self) -> u32

Read native bitfield disable_cdf_update.

set_disable_cdf_update

Method
pub fn set_disable_cdf_update(&mut self, value: u32)

Set native bitfield disable_cdf_update, retaining its low 1 bits.

use_superres

Method
pub const fn use_superres(&self) -> u32

Read native bitfield use_superres.

set_use_superres

Method
pub fn set_use_superres(&mut self, value: u32)

Set native bitfield use_superres, retaining its low 1 bits.

render_and_frame_size_different

Method
pub const fn render_and_frame_size_different(&self) -> u32

Read native bitfield render_and_frame_size_different.

set_render_and_frame_size_different

Method
pub fn set_render_and_frame_size_different(&mut self, value: u32)

Set native bitfield render_and_frame_size_different, retaining its low 1 bits.

allow_screen_content_tools

Method
pub const fn allow_screen_content_tools(&self) -> u32

Read native bitfield allow_screen_content_tools.

set_allow_screen_content_tools

Method
pub fn set_allow_screen_content_tools(&mut self, value: u32)

Set native bitfield allow_screen_content_tools, retaining its low 1 bits.

is_filter_switchable

Method
pub const fn is_filter_switchable(&self) -> u32

Read native bitfield is_filter_switchable.

set_is_filter_switchable

Method
pub fn set_is_filter_switchable(&mut self, value: u32)

Set native bitfield is_filter_switchable, retaining its low 1 bits.

force_integer_mv

Method
pub const fn force_integer_mv(&self) -> u32

Read native bitfield force_integer_mv.

set_force_integer_mv

Method
pub fn set_force_integer_mv(&mut self, value: u32)

Set native bitfield force_integer_mv, retaining its low 1 bits.

frame_size_override_flag

Method
pub const fn frame_size_override_flag(&self) -> u32

Read native bitfield frame_size_override_flag.

set_frame_size_override_flag

Method
pub fn set_frame_size_override_flag(&mut self, value: u32)

Set native bitfield frame_size_override_flag, retaining its low 1 bits.

buffer_removal_time_present_flag

Method
pub const fn buffer_removal_time_present_flag(&self) -> u32

Read native bitfield buffer_removal_time_present_flag.

set_buffer_removal_time_present_flag

Method
pub fn set_buffer_removal_time_present_flag(&mut self, value: u32)

Set native bitfield buffer_removal_time_present_flag, retaining its low 1 bits.

allow_intrabc

Method
pub const fn allow_intrabc(&self) -> u32

Read native bitfield allow_intrabc.

set_allow_intrabc

Method
pub fn set_allow_intrabc(&mut self, value: u32)

Set native bitfield allow_intrabc, retaining its low 1 bits.

frame_refs_short_signaling

Method
pub const fn frame_refs_short_signaling(&self) -> u32

Read native bitfield frame_refs_short_signaling.

set_frame_refs_short_signaling

Method
pub fn set_frame_refs_short_signaling(&mut self, value: u32)

Set native bitfield frame_refs_short_signaling, retaining its low 1 bits.

allow_high_precision_mv

Method
pub const fn allow_high_precision_mv(&self) -> u32

Read native bitfield allow_high_precision_mv.

set_allow_high_precision_mv

Method
pub fn set_allow_high_precision_mv(&mut self, value: u32)

Set native bitfield allow_high_precision_mv, retaining its low 1 bits.

is_motion_mode_switchable

Method
pub const fn is_motion_mode_switchable(&self) -> u32

Read native bitfield is_motion_mode_switchable.

set_is_motion_mode_switchable

Method
pub fn set_is_motion_mode_switchable(&mut self, value: u32)

Set native bitfield is_motion_mode_switchable, retaining its low 1 bits.

use_ref_frame_mvs

Method
pub const fn use_ref_frame_mvs(&self) -> u32

Read native bitfield use_ref_frame_mvs.

set_use_ref_frame_mvs

Method
pub fn set_use_ref_frame_mvs(&mut self, value: u32)

Set native bitfield use_ref_frame_mvs, retaining its low 1 bits.

disable_frame_end_update_cdf

Method
pub const fn disable_frame_end_update_cdf(&self) -> u32

Read native bitfield disable_frame_end_update_cdf.

set_disable_frame_end_update_cdf

Method
pub fn set_disable_frame_end_update_cdf(&mut self, value: u32)

Set native bitfield disable_frame_end_update_cdf, retaining its low 1 bits.

allow_warped_motion

Method
pub const fn allow_warped_motion(&self) -> u32

Read native bitfield allow_warped_motion.

set_allow_warped_motion

Method
pub fn set_allow_warped_motion(&mut self, value: u32)

Set native bitfield allow_warped_motion, retaining its low 1 bits.

reduced_tx_set

Method
pub const fn reduced_tx_set(&self) -> u32

Read native bitfield reduced_tx_set.

set_reduced_tx_set

Method
pub fn set_reduced_tx_set(&mut self, value: u32)

Set native bitfield reduced_tx_set, retaining its low 1 bits.

skip_mode_present

Method
pub const fn skip_mode_present(&self) -> u32

Read native bitfield skip_mode_present.

set_skip_mode_present

Method
pub fn set_skip_mode_present(&mut self, value: u32)

Set native bitfield skip_mode_present, retaining its low 1 bits.

delta_q_present

Method
pub const fn delta_q_present(&self) -> u32

Read native bitfield delta_q_present.

set_delta_q_present

Method
pub fn set_delta_q_present(&mut self, value: u32)

Set native bitfield delta_q_present, retaining its low 1 bits.

delta_lf_present

Method
pub const fn delta_lf_present(&self) -> u32

Read native bitfield delta_lf_present.

set_delta_lf_present

Method
pub fn set_delta_lf_present(&mut self, value: u32)

Set native bitfield delta_lf_present, retaining its low 1 bits.

delta_lf_multi

Method
pub const fn delta_lf_multi(&self) -> u32

Read native bitfield delta_lf_multi.

set_delta_lf_multi

Method
pub fn set_delta_lf_multi(&mut self, value: u32)

Set native bitfield delta_lf_multi, retaining its low 1 bits.

segmentation_enabled

Method
pub const fn segmentation_enabled(&self) -> u32

Read native bitfield segmentation_enabled.

set_segmentation_enabled

Method
pub fn set_segmentation_enabled(&mut self, value: u32)

Set native bitfield segmentation_enabled, retaining its low 1 bits.

segmentation_update_map

Method
pub const fn segmentation_update_map(&self) -> u32

Read native bitfield segmentation_update_map.

set_segmentation_update_map

Method
pub fn set_segmentation_update_map(&mut self, value: u32)

Set native bitfield segmentation_update_map, retaining its low 1 bits.

segmentation_temporal_update

Method
pub const fn segmentation_temporal_update(&self) -> u32

Read native bitfield segmentation_temporal_update.

set_segmentation_temporal_update

Method
pub fn set_segmentation_temporal_update(&mut self, value: u32)

Set native bitfield segmentation_temporal_update, retaining its low 1 bits.

segmentation_update_data

Method
pub const fn segmentation_update_data(&self) -> u32

Read native bitfield segmentation_update_data.

set_segmentation_update_data

Method
pub fn set_segmentation_update_data(&mut self, value: u32)

Set native bitfield segmentation_update_data, retaining its low 1 bits.

uses_lr

Method
pub const fn uses_lr(&self) -> u32

Read native bitfield UsesLr.

set_uses_lr

Method
pub fn set_uses_lr(&mut self, value: u32)

Set native bitfield UsesLr, retaining its low 1 bits.

uses_chroma_lr

Method
pub const fn uses_chroma_lr(&self) -> u32

Read native bitfield usesChromaLr.

set_uses_chroma_lr

Method
pub fn set_uses_chroma_lr(&mut self, value: u32)

Set native bitfield usesChromaLr, retaining its low 1 bits.

show_frame

Method
pub const fn show_frame(&self) -> u32

Read native bitfield show_frame.

set_show_frame

Method
pub fn set_show_frame(&mut self, value: u32)

Set native bitfield show_frame, retaining its low 1 bits.

showable_frame

Method
pub const fn showable_frame(&self) -> u32

Read native bitfield showable_frame.

set_showable_frame

Method
pub fn set_showable_frame(&mut self, value: u32)

Set native bitfield showable_frame, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 3 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoEncodeAV1PictureInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeAV1ReferenceInfo

pub struct StdVideoEncodeAV1ReferenceInfo<'a> { pub flags: StdVideoEncodeAV1ReferenceInfoFlags, pub ref_frame_id: u32, pub frame_type: StdVideoAV1FrameType, pub order_hint: u8, pub reserved1: [u8; 3], pub p_extension_header: *const StdVideoEncodeAV1ExtensionHeader, /* private fields */ }
Native structure StdVideoEncodeAV1ReferenceInfo.

Contract

Native structure StdVideoEncodeAV1ReferenceInfo.

Khronos registry source: StdVideoEncodeAV1ReferenceInfo

Fields

flags

Field
flags: StdVideoEncodeAV1ReferenceInfoFlags

Native field flags.

ref_frame_id

Field
ref_frame_id: u32

Native field RefFrameId.

frame_type

Field
frame_type: StdVideoAV1FrameType

Native field frame_type.

order_hint

Field
order_hint: u8

Native field OrderHint.

reserved1

Field
reserved1: [u8; 3]

Native field reserved1.

p_extension_header

Field
p_extension_header: *const StdVideoEncodeAV1ExtensionHeader

Native field pExtensionHeader.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoEncodeAV1ReferenceInfoFlags) -> Self

Set native field flags without native effects.

set_ref_frame_id

Method
pub fn set_ref_frame_id(self, value: u32) -> Self

Set native field RefFrameId without native effects.

set_frame_type

Method
pub fn set_frame_type(self, value: StdVideoAV1FrameType) -> Self

Set native field frame_type without native effects.

set_order_hint

Method
pub fn set_order_hint(self, value: u8) -> Self

Set native field OrderHint without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: [u8; 3]) -> Self

Set native field reserved1 without native effects.

set_extension_header

Method
pub fn set_extension_header( self, value: &'a StdVideoEncodeAV1ExtensionHeader, ) -> Self

Set native field pExtensionHeader without native effects.

clone

Method
fn clone(&self) -> StdVideoEncodeAV1ReferenceInfo<'a>
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeAV1ReferenceInfoFlags

Contract

Native structure StdVideoEncodeAV1ReferenceInfoFlags.

Khronos registry source: StdVideoEncodeAV1ReferenceInfoFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

disable_frame_end_update_cdf

Method
pub const fn disable_frame_end_update_cdf(&self) -> u32

Read native bitfield disable_frame_end_update_cdf.

set_disable_frame_end_update_cdf

Method
pub fn set_disable_frame_end_update_cdf(&mut self, value: u32)

Set native bitfield disable_frame_end_update_cdf, retaining its low 1 bits.

segmentation_enabled

Method
pub const fn segmentation_enabled(&self) -> u32

Read native bitfield segmentation_enabled.

set_segmentation_enabled

Method
pub fn set_segmentation_enabled(&mut self, value: u32)

Set native bitfield segmentation_enabled, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 30 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoEncodeAV1ReferenceInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeH264PictureInfo

pub struct StdVideoEncodeH264PictureInfo<'a> { pub flags: StdVideoEncodeH264PictureInfoFlags, pub seq_parameter_set_id: u8, pub pic_parameter_set_id: u8, pub idr_pic_id: u16, pub primary_pic_type: StdVideoH264PictureType, pub frame_num: u32, pub pic_order_cnt: i32, pub temporal_id: u8, pub reserved1: [u8; 3], pub p_ref_lists: *const StdVideoEncodeH264ReferenceListsInfo<'a>, /* private fields */ }
Native structure StdVideoEncodeH264PictureInfo.

Contract

Native structure StdVideoEncodeH264PictureInfo.

Khronos registry source: StdVideoEncodeH264PictureInfo

Fields

flags

Field
flags: StdVideoEncodeH264PictureInfoFlags

Native field flags.

seq_parameter_set_id

Field
seq_parameter_set_id: u8

Native field seq_parameter_set_id.

pic_parameter_set_id

Field
pic_parameter_set_id: u8

Native field pic_parameter_set_id.

idr_pic_id

Field
idr_pic_id: u16

Native field idr_pic_id.

primary_pic_type

Field
primary_pic_type: StdVideoH264PictureType

Native field primary_pic_type.

frame_num

Field
frame_num: u32

Native field frame_num.

pic_order_cnt

Field
pic_order_cnt: i32

Native field PicOrderCnt.

temporal_id

Field
temporal_id: u8

Native field temporal_id.

reserved1

Field
reserved1: [u8; 3]

Native field reserved1.

p_ref_lists

Field
p_ref_lists: *const StdVideoEncodeH264ReferenceListsInfo<'a>

Native field pRefLists.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoEncodeH264PictureInfoFlags) -> Self

Set native field flags without native effects.

set_seq_parameter_set_id

Method
pub fn set_seq_parameter_set_id(self, value: u8) -> Self

Set native field seq_parameter_set_id without native effects.

set_pic_parameter_set_id

Method
pub fn set_pic_parameter_set_id(self, value: u8) -> Self

Set native field pic_parameter_set_id without native effects.

set_idr_pic_id

Method
pub fn set_idr_pic_id(self, value: u16) -> Self

Set native field idr_pic_id without native effects.

set_primary_pic_type

Method
pub fn set_primary_pic_type(self, value: StdVideoH264PictureType) -> Self

Set native field primary_pic_type without native effects.

set_frame_num

Method
pub fn set_frame_num(self, value: u32) -> Self

Set native field frame_num without native effects.

set_pic_order_cnt

Method
pub fn set_pic_order_cnt(self, value: i32) -> Self

Set native field PicOrderCnt without native effects.

set_temporal_id

Method
pub fn set_temporal_id(self, value: u8) -> Self

Set native field temporal_id without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: [u8; 3]) -> Self

Set native field reserved1 without native effects.

set_ref_lists

Method
pub fn set_ref_lists( self, value: &'a StdVideoEncodeH264ReferenceListsInfo<'a>, ) -> Self

Set native field pRefLists without native effects.

clone

Method
fn clone(&self) -> StdVideoEncodeH264PictureInfo<'a>
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeH264PictureInfoFlags

Contract

Native structure StdVideoEncodeH264PictureInfoFlags.

Khronos registry source: StdVideoEncodeH264PictureInfoFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

idr_pic_flag

Method
pub const fn idr_pic_flag(&self) -> u32

Read native bitfield IdrPicFlag.

set_idr_pic_flag

Method
pub fn set_idr_pic_flag(&mut self, value: u32)

Set native bitfield IdrPicFlag, retaining its low 1 bits.

is_reference

Method
pub const fn is_reference(&self) -> u32

Read native bitfield is_reference.

set_is_reference

Method
pub fn set_is_reference(&mut self, value: u32)

Set native bitfield is_reference, retaining its low 1 bits.

no_output_of_prior_pics_flag

Method
pub const fn no_output_of_prior_pics_flag(&self) -> u32

Read native bitfield no_output_of_prior_pics_flag.

set_no_output_of_prior_pics_flag

Method
pub fn set_no_output_of_prior_pics_flag(&mut self, value: u32)

Set native bitfield no_output_of_prior_pics_flag, retaining its low 1 bits.

long_term_reference_flag

Method
pub const fn long_term_reference_flag(&self) -> u32

Read native bitfield long_term_reference_flag.

set_long_term_reference_flag

Method
pub fn set_long_term_reference_flag(&mut self, value: u32)

Set native bitfield long_term_reference_flag, retaining its low 1 bits.

adaptive_ref_pic_marking_mode_flag

Method
pub const fn adaptive_ref_pic_marking_mode_flag(&self) -> u32

Read native bitfield adaptive_ref_pic_marking_mode_flag.

set_adaptive_ref_pic_marking_mode_flag

Method
pub fn set_adaptive_ref_pic_marking_mode_flag(&mut self, value: u32)

Set native bitfield adaptive_ref_pic_marking_mode_flag, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 27 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoEncodeH264PictureInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeH264ReferenceInfo

#[repr(C)]pub struct StdVideoEncodeH264ReferenceInfo { pub flags: StdVideoEncodeH264ReferenceInfoFlags, pub primary_pic_type: StdVideoH264PictureType, pub frame_num: u32, pub pic_order_cnt: i32, pub long_term_pic_num: u16, pub long_term_frame_idx: u16, pub temporal_id: u8, }
Native structure StdVideoEncodeH264ReferenceInfo.

Contract

Native structure StdVideoEncodeH264ReferenceInfo.

Khronos registry source: StdVideoEncodeH264ReferenceInfo

Fields

flags

Field
flags: StdVideoEncodeH264ReferenceInfoFlags

Native field flags.

primary_pic_type

Field
primary_pic_type: StdVideoH264PictureType

Native field primary_pic_type.

frame_num

Field
frame_num: u32

Native field FrameNum.

pic_order_cnt

Field
pic_order_cnt: i32

Native field PicOrderCnt.

long_term_pic_num

Field
long_term_pic_num: u16

Native field long_term_pic_num.

long_term_frame_idx

Field
long_term_frame_idx: u16

Native field long_term_frame_idx.

temporal_id

Field
temporal_id: u8

Native field temporal_id.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoEncodeH264ReferenceInfoFlags) -> Self

Set native field flags without native effects.

set_primary_pic_type

Method
pub fn set_primary_pic_type(self, value: StdVideoH264PictureType) -> Self

Set native field primary_pic_type without native effects.

set_frame_num

Method
pub fn set_frame_num(self, value: u32) -> Self

Set native field FrameNum without native effects.

set_pic_order_cnt

Method
pub fn set_pic_order_cnt(self, value: i32) -> Self

Set native field PicOrderCnt without native effects.

set_long_term_pic_num

Method
pub fn set_long_term_pic_num(self, value: u16) -> Self

Set native field long_term_pic_num without native effects.

set_long_term_frame_idx

Method
pub fn set_long_term_frame_idx(self, value: u16) -> Self

Set native field long_term_frame_idx without native effects.

set_temporal_id

Method
pub fn set_temporal_id(self, value: u8) -> Self

Set native field temporal_id without native effects.

clone

Method
fn clone(&self) -> StdVideoEncodeH264ReferenceInfo
Returns a duplicate of the value. Read more

Stvk::StdVideoEncodeH264ReferenceInfoFlags

Contract

Native structure StdVideoEncodeH264ReferenceInfoFlags.

Khronos registry source: StdVideoEncodeH264ReferenceInfoFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

used_for_long_term_reference

Method
pub const fn used_for_long_term_reference(&self) -> u32

Read native bitfield used_for_long_term_reference.

set_used_for_long_term_reference

Method
pub fn set_used_for_long_term_reference(&mut self, value: u32)

Set native bitfield used_for_long_term_reference, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 31 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoEncodeH264ReferenceInfoFlags
Returns a duplicate of the value. Read more