Realm

vk · Structs · S8

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

StRustExperimental

Stvk::StdVideoAV1TileInfoFlags

Contract

Native structure StdVideoAV1TileInfoFlags.

Khronos registry source: StdVideoAV1TileInfoFlags

Fields

_bitfield_1

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

Methods and associated items

uniform_tile_spacing_flag

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

Read native bitfield uniform_tile_spacing_flag.

set_uniform_tile_spacing_flag

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

Set native bitfield uniform_tile_spacing_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 31 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoAV1TimingInfo

#[repr(C)]pub struct StdVideoAV1TimingInfo { pub flags: StdVideoAV1TimingInfoFlags, pub num_units_in_display_tick: u32, pub time_scale: u32, pub num_ticks_per_picture_minus_1: u32, }
Native structure StdVideoAV1TimingInfo.

Contract

Native structure StdVideoAV1TimingInfo.

Khronos registry source: StdVideoAV1TimingInfo

Fields

flags

Field
flags: StdVideoAV1TimingInfoFlags

Native field flags.

num_units_in_display_tick

Field
num_units_in_display_tick: u32

Native field num_units_in_display_tick.

time_scale

Field
time_scale: u32

Native field time_scale.

num_ticks_per_picture_minus_1

Field
num_ticks_per_picture_minus_1: u32

Native field num_ticks_per_picture_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: StdVideoAV1TimingInfoFlags) -> Self

Set native field flags without native effects.

set_num_units_in_display_tick

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

Set native field num_units_in_display_tick without native effects.

set_time_scale

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

Set native field time_scale without native effects.

set_num_ticks_per_picture_minus_1

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

Set native field num_ticks_per_picture_minus_1 without native effects.

clone

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

Stvk::StdVideoAV1TimingInfoFlags

Contract

Native structure StdVideoAV1TimingInfoFlags.

Khronos registry source: StdVideoAV1TimingInfoFlags

Fields

_bitfield_1

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

Methods and associated items

equal_picture_interval

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

Read native bitfield equal_picture_interval.

set_equal_picture_interval

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

Set native bitfield equal_picture_interval, 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) -> StdVideoAV1TimingInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1TransferCharacteristics

Contract

Open integer representation of StdVideoAV1TransferCharacteristics.

Khronos registry source: StdVideoAV1TransferCharacteristics

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoAV1TransferCharacteristics
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoAV1TransferCharacteristics) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoAV1TxMode

Contract

Open integer representation of StdVideoAV1TxMode.

Khronos registry source: StdVideoAV1TxMode

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoAV1TxMode
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoAV1TxMode) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoDecodeAV1PictureInfo

pub struct StdVideoDecodeAV1PictureInfo<'a> { pub flags: StdVideoDecodeAV1PictureInfoFlags, pub frame_type: StdVideoAV1FrameType, pub current_frame_id: u32, pub order_hint: u8, pub primary_ref_frame: u8, pub refresh_frame_flags: u8, pub reserved1: u8, pub interpolation_filter: StdVideoAV1InterpolationFilter, pub tx_mode: StdVideoAV1TxMode, pub delta_q_res: u8, pub delta_lf_res: u8, pub skip_mode_frame: [u8; 2], pub coded_denom: u8, pub reserved2: [u8; 3], pub order_hints: [u8; 8], pub expected_frame_id: [u32; 8], 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_film_grain: *const StdVideoAV1FilmGrain, /* private fields */ }
Native structure StdVideoDecodeAV1PictureInfo.

Contract

Native structure StdVideoDecodeAV1PictureInfo.

Khronos registry source: StdVideoDecodeAV1PictureInfo

Fields

flags

Field
flags: StdVideoDecodeAV1PictureInfoFlags

Native field flags.

frame_type

Field
frame_type: StdVideoAV1FrameType

Native field frame_type.

current_frame_id

Field
current_frame_id: u32

Native field current_frame_id.

order_hint

Field
order_hint: u8

Native field OrderHint.

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.

reserved1

Field
reserved1: u8

Native field reserved1.

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.

skip_mode_frame

Field
skip_mode_frame: [u8; 2]

Native field SkipModeFrame.

coded_denom

Field
coded_denom: u8

Native field coded_denom.

reserved2

Field
reserved2: [u8; 3]

Native field reserved2.

order_hints

Field
order_hints: [u8; 8]

Native field OrderHints.

expected_frame_id

Field
expected_frame_id: [u32; 8]

Native field expectedFrameId.

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_film_grain

Field
p_film_grain: *const StdVideoAV1FilmGrain

Native field pFilmGrain.

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: StdVideoDecodeAV1PictureInfoFlags) -> 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_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 OrderHint 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_reserved1

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

Set native field reserved1 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_skip_mode_frame

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

Set native field SkipModeFrame 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_reserved2

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

Set native field reserved2 without native effects.

set_order_hints

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

Set native field OrderHints without native effects.

set_expected_frame_id

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

Set native field expectedFrameId 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_film_grain

Method
pub fn set_film_grain(self, value: &'a StdVideoAV1FilmGrain) -> Self

Set native field pFilmGrain without native effects.

clone

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

Stvk::StdVideoDecodeAV1PictureInfoFlags

Contract

Native structure StdVideoDecodeAV1PictureInfoFlags.

Khronos registry source: StdVideoDecodeAV1PictureInfoFlags

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.

reference_select

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

Read native bitfield reference_select.

set_reference_select

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

Set native bitfield reference_select, 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.

apply_grain

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

Read native bitfield apply_grain.

set_apply_grain

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

Set native bitfield apply_grain, 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) -> StdVideoDecodeAV1PictureInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoDecodeAV1ReferenceInfo

#[repr(C)]pub struct StdVideoDecodeAV1ReferenceInfo { pub flags: StdVideoDecodeAV1ReferenceInfoFlags, pub frame_type: u8, pub ref_frame_sign_bias: u8, pub order_hint: u8, pub saved_order_hints: [u8; 8], }
Native structure StdVideoDecodeAV1ReferenceInfo.

Contract

Native structure StdVideoDecodeAV1ReferenceInfo.

Khronos registry source: StdVideoDecodeAV1ReferenceInfo

Fields

flags

Field
flags: StdVideoDecodeAV1ReferenceInfoFlags

Native field flags.

frame_type

Field
frame_type: u8

Native field frame_type.

ref_frame_sign_bias

Field
ref_frame_sign_bias: u8

Native field RefFrameSignBias.

order_hint

Field
order_hint: u8

Native field OrderHint.

saved_order_hints

Field
saved_order_hints: [u8; 8]

Native field SavedOrderHints.

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: StdVideoDecodeAV1ReferenceInfoFlags) -> Self

Set native field flags without native effects.

set_frame_type

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

Set native field frame_type without native effects.

set_ref_frame_sign_bias

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

Set native field RefFrameSignBias without native effects.

set_order_hint

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

Set native field OrderHint without native effects.

set_saved_order_hints

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

Set native field SavedOrderHints without native effects.

clone

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

Stvk::StdVideoDecodeAV1ReferenceInfoFlags

Contract

Native structure StdVideoDecodeAV1ReferenceInfoFlags.

Khronos registry source: StdVideoDecodeAV1ReferenceInfoFlags

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) -> StdVideoDecodeAV1ReferenceInfoFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoDecodeH264FieldOrderCount

Contract

Open integer representation of StdVideoDecodeH264FieldOrderCount.

Khronos registry source: StdVideoDecodeH264FieldOrderCount

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoDecodeH264FieldOrderCount
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoDecodeH264FieldOrderCount) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoDecodeH264PictureInfo

#[repr(C)]pub struct StdVideoDecodeH264PictureInfo { pub flags: StdVideoDecodeH264PictureInfoFlags, pub seq_parameter_set_id: u8, pub pic_parameter_set_id: u8, pub reserved1: u8, pub reserved2: u8, pub frame_num: u16, pub idr_pic_id: u16, pub pic_order_cnt: [i32; 2], }
Native structure StdVideoDecodeH264PictureInfo.

Contract

Native structure StdVideoDecodeH264PictureInfo.

Khronos registry source: StdVideoDecodeH264PictureInfo

Fields

flags

Field
flags: StdVideoDecodeH264PictureInfoFlags

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.

reserved1

Field
reserved1: u8

Native field reserved1.

reserved2

Field
reserved2: u8

Native field reserved2.

frame_num

Field
frame_num: u16

Native field frame_num.

idr_pic_id

Field
idr_pic_id: u16

Native field idr_pic_id.

pic_order_cnt

Field
pic_order_cnt: [i32; 2]

Native field PicOrderCnt.

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: StdVideoDecodeH264PictureInfoFlags) -> 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_reserved1

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

Set native field reserved1 without native effects.

set_reserved2

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

Set native field reserved2 without native effects.

set_frame_num

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

Set native field frame_num 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_pic_order_cnt

Method
pub fn set_pic_order_cnt(self, value: [i32; 2]) -> Self

Set native field PicOrderCnt without native effects.

clone

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

Stvk::StdVideoDecodeH264PictureInfoFlags

Contract

Native structure StdVideoDecodeH264PictureInfoFlags.

Khronos registry source: StdVideoDecodeH264PictureInfoFlags

Fields

_bitfield_1

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

Methods and associated items

field_pic_flag

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

Read native bitfield field_pic_flag.

set_field_pic_flag

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

Set native bitfield field_pic_flag, retaining its low 1 bits.

is_intra

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

Read native bitfield is_intra.

set_is_intra

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

Set native bitfield is_intra, retaining its low 1 bits.

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.

bottom_field_flag

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

Read native bitfield bottom_field_flag.

set_bottom_field_flag

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

Set native bitfield bottom_field_flag, 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.

complementary_field_pair

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

Read native bitfield complementary_field_pair.

set_complementary_field_pair

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

Set native bitfield complementary_field_pair, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoDecodeH264ReferenceInfo

#[repr(C)]pub struct StdVideoDecodeH264ReferenceInfo { pub flags: StdVideoDecodeH264ReferenceInfoFlags, pub frame_num: u16, pub reserved: u16, pub pic_order_cnt: [i32; 2], }
Native structure StdVideoDecodeH264ReferenceInfo.

Contract

Native structure StdVideoDecodeH264ReferenceInfo.

Khronos registry source: StdVideoDecodeH264ReferenceInfo

Fields

flags

Field
flags: StdVideoDecodeH264ReferenceInfoFlags

Native field flags.

frame_num

Field
frame_num: u16

Native field FrameNum.

reserved

Field
reserved: u16

Native field reserved.

pic_order_cnt

Field
pic_order_cnt: [i32; 2]

Native field PicOrderCnt.

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: StdVideoDecodeH264ReferenceInfoFlags) -> Self

Set native field flags without native effects.

set_frame_num

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

Set native field FrameNum without native effects.

set_reserved

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

Set native field reserved without native effects.

set_pic_order_cnt

Method
pub fn set_pic_order_cnt(self, value: [i32; 2]) -> Self

Set native field PicOrderCnt without native effects.

clone

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

Stvk::StdVideoDecodeH264ReferenceInfoFlags

Contract

Native structure StdVideoDecodeH264ReferenceInfoFlags.

Khronos registry source: StdVideoDecodeH264ReferenceInfoFlags

Fields

_bitfield_1

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

Methods and associated items

top_field_flag

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

Read native bitfield top_field_flag.

set_top_field_flag

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

Set native bitfield top_field_flag, retaining its low 1 bits.

bottom_field_flag

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

Read native bitfield bottom_field_flag.

set_bottom_field_flag

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

Set native bitfield bottom_field_flag, retaining its low 1 bits.

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.

is_non_existing

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

Read native bitfield is_non_existing.

set_is_non_existing

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

Set native bitfield is_non_existing, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoDecodeH265PictureInfo

#[repr(C)]pub struct StdVideoDecodeH265PictureInfo { pub flags: StdVideoDecodeH265PictureInfoFlags, pub sps_video_parameter_set_id: u8, pub pps_seq_parameter_set_id: u8, pub pps_pic_parameter_set_id: u8, pub num_delta_pocs_of_ref_rps_idx: u8, pub pic_order_cnt_val: i32, pub num_bits_for_st_ref_pic_set_in_slice: u16, pub reserved: u16, pub ref_pic_set_st_curr_before: [u8; 8], pub ref_pic_set_st_curr_after: [u8; 8], pub ref_pic_set_lt_curr: [u8; 8], }
Native structure StdVideoDecodeH265PictureInfo.

Contract

Native structure StdVideoDecodeH265PictureInfo.

Khronos registry source: StdVideoDecodeH265PictureInfo

Fields

flags

Field
flags: StdVideoDecodeH265PictureInfoFlags

Native field flags.

sps_video_parameter_set_id

Field
sps_video_parameter_set_id: u8

Native field sps_video_parameter_set_id.

pps_seq_parameter_set_id

Field
pps_seq_parameter_set_id: u8

Native field pps_seq_parameter_set_id.

pps_pic_parameter_set_id

Field
pps_pic_parameter_set_id: u8

Native field pps_pic_parameter_set_id.

num_delta_pocs_of_ref_rps_idx

Field
num_delta_pocs_of_ref_rps_idx: u8

Native field NumDeltaPocsOfRefRpsIdx.

pic_order_cnt_val

Field
pic_order_cnt_val: i32

Native field PicOrderCntVal.

num_bits_for_st_ref_pic_set_in_slice

Field
num_bits_for_st_ref_pic_set_in_slice: u16

Native field NumBitsForSTRefPicSetInSlice.

reserved

Field
reserved: u16

Native field reserved.

ref_pic_set_st_curr_before

Field
ref_pic_set_st_curr_before: [u8; 8]

Native field RefPicSetStCurrBefore.

ref_pic_set_st_curr_after

Field
ref_pic_set_st_curr_after: [u8; 8]

Native field RefPicSetStCurrAfter.

ref_pic_set_lt_curr

Field
ref_pic_set_lt_curr: [u8; 8]

Native field RefPicSetLtCurr.

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: StdVideoDecodeH265PictureInfoFlags) -> Self

Set native field flags without native effects.

set_sps_video_parameter_set_id

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

Set native field sps_video_parameter_set_id without native effects.

set_pps_seq_parameter_set_id

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

Set native field pps_seq_parameter_set_id without native effects.

set_pps_pic_parameter_set_id

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

Set native field pps_pic_parameter_set_id without native effects.

set_num_delta_pocs_of_ref_rps_idx

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

Set native field NumDeltaPocsOfRefRpsIdx 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.

set_num_bits_for_st_ref_pic_set_in_slice

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

Set native field NumBitsForSTRefPicSetInSlice without native effects.

set_reserved

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

Set native field reserved without native effects.

set_ref_pic_set_st_curr_before

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

Set native field RefPicSetStCurrBefore without native effects.

set_ref_pic_set_st_curr_after

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

Set native field RefPicSetStCurrAfter without native effects.

set_ref_pic_set_lt_curr

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

Set native field RefPicSetLtCurr without native effects.

clone

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

Stvk::StdVideoDecodeH265PictureInfoFlags

Contract

Native structure StdVideoDecodeH265PictureInfoFlags.

Khronos registry source: StdVideoDecodeH265PictureInfoFlags

Fields

_bitfield_1

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

Methods and associated items

irap_pic_flag

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

Read native bitfield IrapPicFlag.

set_irap_pic_flag

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

Set native bitfield IrapPicFlag, retaining its low 1 bits.

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 IsReference.

set_is_reference

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

Set native bitfield IsReference, retaining its low 1 bits.

short_term_ref_pic_set_sps_flag

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

Read native bitfield short_term_ref_pic_set_sps_flag.

set_short_term_ref_pic_set_sps_flag

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

Set native bitfield short_term_ref_pic_set_sps_flag, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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