vk · Structs · S12
16 public declarations with native signatures and source-owned contracts.
Stvk::StdVideoH264ProfileIdc
Contract
Open integer representation of StdVideoH264ProfileIdc.
Fields
0
0: i32Methods and associated items
BASELINE
Native value STD_VIDEO_H264_PROFILE_IDC_BASELINE.
Khronos registry source: STD_VIDEO_H264_PROFILE_IDC_BASELINE
MAIN
Native value STD_VIDEO_H264_PROFILE_IDC_MAIN.
HIGH
Native value STD_VIDEO_H264_PROFILE_IDC_HIGH.
HIGH_10
Native value STD_VIDEO_H264_PROFILE_IDC_HIGH_10.
HIGH_422
Native value STD_VIDEO_H264_PROFILE_IDC_HIGH_422.
Khronos registry source: STD_VIDEO_H264_PROFILE_IDC_HIGH_422
HIGH_444_PREDICTIVE
Native value STD_VIDEO_H264_PROFILE_IDC_HIGH_444_PREDICTIVE.
Khronos registry source: STD_VIDEO_H264_PROFILE_IDC_HIGH_444_PREDICTIVE
INVALID
Native value STD_VIDEO_H264_PROFILE_IDC_INVALID.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoH264ScalingLists
Contract
Native structure StdVideoH264ScalingLists.
Fields
scaling_list_present_mask
scaling_list_present_mask: u16Native field scaling_list_present_mask.
use_default_scaling_matrix_mask
use_default_scaling_matrix_mask: u16Native field use_default_scaling_matrix_mask.
scaling_list4x4
scaling_list4x4: [[u8; 16]; 6]Native field ScalingList4x4.
scaling_list8x8
scaling_list8x8: [[u8; 64]; 6]Native field ScalingList8x8.
Methods and associated items
new
Construct the record with its default native state.
set_scaling_list_present_mask
Set native field scaling_list_present_mask without native effects.
set_use_default_scaling_matrix_mask
Set native field use_default_scaling_matrix_mask without native effects.
set_scaling_list4x4
Set native field ScalingList4x4 without native effects.
set_scaling_list8x8
Set native field ScalingList8x8 without native effects.
clone
default
Stvk::StdVideoH264SequenceParameterSet
pub struct StdVideoH264SequenceParameterSet<'a> {
pub flags: StdVideoH264SpsFlags,
pub profile_idc: StdVideoH264ProfileIdc,
pub level_idc: StdVideoH264LevelIdc,
pub chroma_format_idc: StdVideoH264ChromaFormatIdc,
pub seq_parameter_set_id: u8,
pub bit_depth_luma_minus8: u8,
pub bit_depth_chroma_minus8: u8,
pub log2_max_frame_num_minus4: u8,
pub pic_order_cnt_type: StdVideoH264PocType,
pub offset_for_non_ref_pic: i32,
pub offset_for_top_to_bottom_field: i32,
pub log2_max_pic_order_cnt_lsb_minus4: u8,
pub num_ref_frames_in_pic_order_cnt_cycle: u8,
pub max_num_ref_frames: u8,
pub reserved1: u8,
pub pic_width_in_mbs_minus1: u32,
pub pic_height_in_map_units_minus1: u32,
pub frame_crop_left_offset: u32,
pub frame_crop_right_offset: u32,
pub frame_crop_top_offset: u32,
pub frame_crop_bottom_offset: u32,
pub reserved2: u32,
pub p_offset_for_ref_frame: *const i32,
pub p_scaling_lists: *const StdVideoH264ScalingLists,
pub p_sequence_parameter_set_vui: *const StdVideoH264SequenceParameterSetVui<'a>,
/* private fields */
}Contract
Native structure StdVideoH264SequenceParameterSet.
Fields
flags
flags: StdVideoH264SpsFlagsNative field flags.
profile_idc
profile_idc: StdVideoH264ProfileIdcNative field profile_idc.
level_idc
level_idc: StdVideoH264LevelIdcNative field level_idc.
chroma_format_idc
chroma_format_idc: StdVideoH264ChromaFormatIdcNative field chroma_format_idc.
seq_parameter_set_id
seq_parameter_set_id: u8Native field seq_parameter_set_id.
bit_depth_luma_minus8
bit_depth_luma_minus8: u8Native field bit_depth_luma_minus8.
bit_depth_chroma_minus8
bit_depth_chroma_minus8: u8Native field bit_depth_chroma_minus8.
log2_max_frame_num_minus4
log2_max_frame_num_minus4: u8Native field log2_max_frame_num_minus4.
pic_order_cnt_type
pic_order_cnt_type: StdVideoH264PocTypeNative field pic_order_cnt_type.
offset_for_non_ref_pic
offset_for_non_ref_pic: i32Native field offset_for_non_ref_pic.
offset_for_top_to_bottom_field
offset_for_top_to_bottom_field: i32Native field offset_for_top_to_bottom_field.
log2_max_pic_order_cnt_lsb_minus4
log2_max_pic_order_cnt_lsb_minus4: u8Native field log2_max_pic_order_cnt_lsb_minus4.
num_ref_frames_in_pic_order_cnt_cycle
num_ref_frames_in_pic_order_cnt_cycle: u8Native field num_ref_frames_in_pic_order_cnt_cycle.
max_num_ref_frames
max_num_ref_frames: u8Native field max_num_ref_frames.
reserved1
reserved1: u8Native field reserved1.
pic_width_in_mbs_minus1
pic_width_in_mbs_minus1: u32Native field pic_width_in_mbs_minus1.
pic_height_in_map_units_minus1
pic_height_in_map_units_minus1: u32Native field pic_height_in_map_units_minus1.
frame_crop_left_offset
frame_crop_left_offset: u32Native field frame_crop_left_offset.
frame_crop_right_offset
frame_crop_right_offset: u32Native field frame_crop_right_offset.
frame_crop_top_offset
frame_crop_top_offset: u32Native field frame_crop_top_offset.
frame_crop_bottom_offset
frame_crop_bottom_offset: u32Native field frame_crop_bottom_offset.
reserved2
reserved2: u32Native field reserved2.
p_offset_for_ref_frame
p_offset_for_ref_frame: *const i32Native field pOffsetForRefFrame.
p_scaling_lists
p_scaling_lists: *const StdVideoH264ScalingListsNative field pScalingLists.
p_sequence_parameter_set_vui
p_sequence_parameter_set_vui: *const StdVideoH264SequenceParameterSetVui<'a>Native field pSequenceParameterSetVui.
Methods and associated items
new
Construct the record with its default native state.
set_flags
Set native field flags without native effects.
set_profile_idc
Set native field profile_idc without native effects.
set_level_idc
Set native field level_idc without native effects.
set_chroma_format_idc
Set native field chroma_format_idc without native effects.
set_seq_parameter_set_id
Set native field seq_parameter_set_id without native effects.
set_bit_depth_luma_minus8
Set native field bit_depth_luma_minus8 without native effects.
set_bit_depth_chroma_minus8
Set native field bit_depth_chroma_minus8 without native effects.
set_log2_max_frame_num_minus4
Set native field log2_max_frame_num_minus4 without native effects.
set_pic_order_cnt_type
Set native field pic_order_cnt_type without native effects.
set_offset_for_non_ref_pic
Set native field offset_for_non_ref_pic without native effects.
set_offset_for_top_to_bottom_field
Set native field offset_for_top_to_bottom_field without native effects.
set_log2_max_pic_order_cnt_lsb_minus4
Set native field log2_max_pic_order_cnt_lsb_minus4 without native effects.
set_num_ref_frames_in_pic_order_cnt_cycle
Set native count num_ref_frames_in_pic_order_cnt_cycle directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_max_num_ref_frames
Set native field max_num_ref_frames without native effects.
set_reserved1
Set native field reserved1 without native effects.
set_pic_width_in_mbs_minus1
Set native field pic_width_in_mbs_minus1 without native effects.
set_pic_height_in_map_units_minus1
Set native field pic_height_in_map_units_minus1 without native effects.
set_frame_crop_left_offset
Set native field frame_crop_left_offset without native effects.
set_frame_crop_right_offset
Set native field frame_crop_right_offset without native effects.
set_frame_crop_top_offset
Set native field frame_crop_top_offset without native effects.
set_frame_crop_bottom_offset
Set native field frame_crop_bottom_offset without native effects.
set_reserved2
Set native field reserved2 without native effects.
set_offset_for_ref_frame
Borrow pOffsetForRefFrame and set checked native count num_ref_frames_in_pic_order_cnt_cycle.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
set_scaling_lists
Set native field pScalingLists without native effects.
set_sequence_parameter_set_vui
Set native field pSequenceParameterSetVui without native effects.
clone
default
Stvk::StdVideoH264SequenceParameterSetVui
pub struct StdVideoH264SequenceParameterSetVui<'a> {
pub flags: StdVideoH264SpsVuiFlags,
pub aspect_ratio_idc: StdVideoH264AspectRatioIdc,
pub sar_width: u16,
pub sar_height: u16,
pub video_format: u8,
pub colour_primaries: u8,
pub transfer_characteristics: u8,
pub matrix_coefficients: u8,
pub num_units_in_tick: u32,
pub time_scale: u32,
pub max_num_reorder_frames: u8,
pub max_dec_frame_buffering: u8,
pub chroma_sample_loc_type_top_field: u8,
pub chroma_sample_loc_type_bottom_field: u8,
pub reserved1: u32,
pub p_hrd_parameters: *const StdVideoH264HrdParameters,
/* private fields */
}Contract
Native structure StdVideoH264SequenceParameterSetVui.
Khronos registry source: StdVideoH264SequenceParameterSetVui
Fields
flags
flags: StdVideoH264SpsVuiFlagsNative field flags.
aspect_ratio_idc
aspect_ratio_idc: StdVideoH264AspectRatioIdcNative field aspect_ratio_idc.
sar_width
sar_width: u16Native field sar_width.
sar_height
sar_height: u16Native field sar_height.
video_format
video_format: u8Native field video_format.
colour_primaries
colour_primaries: u8Native field colour_primaries.
transfer_characteristics
transfer_characteristics: u8Native field transfer_characteristics.
matrix_coefficients
matrix_coefficients: u8Native field matrix_coefficients.
num_units_in_tick
num_units_in_tick: u32Native field num_units_in_tick.
time_scale
time_scale: u32Native field time_scale.
max_num_reorder_frames
max_num_reorder_frames: u8Native field max_num_reorder_frames.
max_dec_frame_buffering
max_dec_frame_buffering: u8Native field max_dec_frame_buffering.
chroma_sample_loc_type_top_field
chroma_sample_loc_type_top_field: u8Native field chroma_sample_loc_type_top_field.
chroma_sample_loc_type_bottom_field
chroma_sample_loc_type_bottom_field: u8Native field chroma_sample_loc_type_bottom_field.
reserved1
reserved1: u32Native field reserved1.
p_hrd_parameters
p_hrd_parameters: *const StdVideoH264HrdParametersNative field pHrdParameters.
Methods and associated items
new
Construct the record with its default native state.
set_flags
Set native field flags without native effects.
set_aspect_ratio_idc
Set native field aspect_ratio_idc without native effects.
set_sar_width
Set native field sar_width without native effects.
set_sar_height
Set native field sar_height without native effects.
set_video_format
Set native field video_format without native effects.
set_colour_primaries
Set native field colour_primaries without native effects.
set_transfer_characteristics
Set native field transfer_characteristics without native effects.
set_matrix_coefficients
Set native field matrix_coefficients without native effects.
set_num_units_in_tick
Set native field num_units_in_tick without native effects.
set_time_scale
Set native field time_scale without native effects.
set_max_num_reorder_frames
Set native field max_num_reorder_frames without native effects.
set_max_dec_frame_buffering
Set native field max_dec_frame_buffering without native effects.
set_chroma_sample_loc_type_top_field
Set native field chroma_sample_loc_type_top_field without native effects.
set_chroma_sample_loc_type_bottom_field
Set native field chroma_sample_loc_type_bottom_field without native effects.
set_reserved1
Set native field reserved1 without native effects.
set_hrd_parameters
Set native field pHrdParameters without native effects.
clone
default
Stvk::StdVideoH264SliceType
Contract
Open integer representation of StdVideoH264SliceType.
Fields
0
0: i32Methods and associated items
P
Native value STD_VIDEO_H264_SLICE_TYPE_P.
B
Native value STD_VIDEO_H264_SLICE_TYPE_B.
I
Native value STD_VIDEO_H264_SLICE_TYPE_I.
INVALID
Native value STD_VIDEO_H264_SLICE_TYPE_INVALID.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoH264SpsFlags
Contract
Native structure StdVideoH264SpsFlags.
Fields
_bitfield_1
_bitfield_1: u32Methods and associated items
constraint_set0_flag
Read native bitfield constraint_set0_flag.
set_constraint_set0_flag
Set native bitfield constraint_set0_flag, retaining its low 1 bits.
constraint_set1_flag
Read native bitfield constraint_set1_flag.
set_constraint_set1_flag
Set native bitfield constraint_set1_flag, retaining its low 1 bits.
constraint_set2_flag
Read native bitfield constraint_set2_flag.
set_constraint_set2_flag
Set native bitfield constraint_set2_flag, retaining its low 1 bits.
constraint_set3_flag
Read native bitfield constraint_set3_flag.
set_constraint_set3_flag
Set native bitfield constraint_set3_flag, retaining its low 1 bits.
constraint_set4_flag
Read native bitfield constraint_set4_flag.
set_constraint_set4_flag
Set native bitfield constraint_set4_flag, retaining its low 1 bits.
constraint_set5_flag
Read native bitfield constraint_set5_flag.
set_constraint_set5_flag
Set native bitfield constraint_set5_flag, retaining its low 1 bits.
direct_8x8_inference_flag
Read native bitfield direct_8x8_inference_flag.
set_direct_8x8_inference_flag
Set native bitfield direct_8x8_inference_flag, retaining its low 1 bits.
mb_adaptive_frame_field_flag
Read native bitfield mb_adaptive_frame_field_flag.
set_mb_adaptive_frame_field_flag
Set native bitfield mb_adaptive_frame_field_flag, retaining its low 1 bits.
frame_mbs_only_flag
Read native bitfield frame_mbs_only_flag.
set_frame_mbs_only_flag
Set native bitfield frame_mbs_only_flag, retaining its low 1 bits.
delta_pic_order_always_zero_flag
Read native bitfield delta_pic_order_always_zero_flag.
set_delta_pic_order_always_zero_flag
Set native bitfield delta_pic_order_always_zero_flag, retaining its low 1 bits.
separate_colour_plane_flag
Read native bitfield separate_colour_plane_flag.
set_separate_colour_plane_flag
Set native bitfield separate_colour_plane_flag, retaining its low 1 bits.
gaps_in_frame_num_value_allowed_flag
Read native bitfield gaps_in_frame_num_value_allowed_flag.
set_gaps_in_frame_num_value_allowed_flag
Set native bitfield gaps_in_frame_num_value_allowed_flag, retaining its low 1 bits.
qpprime_y_zero_transform_bypass_flag
Read native bitfield qpprime_y_zero_transform_bypass_flag.
set_qpprime_y_zero_transform_bypass_flag
Set native bitfield qpprime_y_zero_transform_bypass_flag, retaining its low 1 bits.
frame_cropping_flag
Read native bitfield frame_cropping_flag.
set_frame_cropping_flag
Set native bitfield frame_cropping_flag, retaining its low 1 bits.
seq_scaling_matrix_present_flag
Read native bitfield seq_scaling_matrix_present_flag.
set_seq_scaling_matrix_present_flag
Set native bitfield seq_scaling_matrix_present_flag, retaining its low 1 bits.
vui_parameters_present_flag
Read native bitfield vui_parameters_present_flag.
set_vui_parameters_present_flag
Set native bitfield vui_parameters_present_flag, retaining its low 1 bits.
new
Construct the record with its default native state.
clone
default
Stvk::StdVideoH264SpsVuiFlags
Contract
Native structure StdVideoH264SpsVuiFlags.
Fields
_bitfield_1
_bitfield_1: u32Methods and associated items
aspect_ratio_info_present_flag
Read native bitfield aspect_ratio_info_present_flag.
set_aspect_ratio_info_present_flag
Set native bitfield aspect_ratio_info_present_flag, retaining its low 1 bits.
overscan_info_present_flag
Read native bitfield overscan_info_present_flag.
set_overscan_info_present_flag
Set native bitfield overscan_info_present_flag, retaining its low 1 bits.
overscan_appropriate_flag
Read native bitfield overscan_appropriate_flag.
set_overscan_appropriate_flag
Set native bitfield overscan_appropriate_flag, retaining its low 1 bits.
video_signal_type_present_flag
Read native bitfield video_signal_type_present_flag.
set_video_signal_type_present_flag
Set native bitfield video_signal_type_present_flag, retaining its low 1 bits.
video_full_range_flag
Read native bitfield video_full_range_flag.
set_video_full_range_flag
Set native bitfield video_full_range_flag, retaining its low 1 bits.
color_description_present_flag
Read native bitfield color_description_present_flag.
set_color_description_present_flag
Set native bitfield color_description_present_flag, retaining its low 1 bits.
chroma_loc_info_present_flag
Read native bitfield chroma_loc_info_present_flag.
set_chroma_loc_info_present_flag
Set native bitfield chroma_loc_info_present_flag, retaining its low 1 bits.
timing_info_present_flag
Read native bitfield timing_info_present_flag.
set_timing_info_present_flag
Set native bitfield timing_info_present_flag, retaining its low 1 bits.
fixed_frame_rate_flag
Read native bitfield fixed_frame_rate_flag.
set_fixed_frame_rate_flag
Set native bitfield fixed_frame_rate_flag, retaining its low 1 bits.
bitstream_restriction_flag
Read native bitfield bitstream_restriction_flag.
set_bitstream_restriction_flag
Set native bitfield bitstream_restriction_flag, retaining its low 1 bits.
nal_hrd_parameters_present_flag
Read native bitfield nal_hrd_parameters_present_flag.
set_nal_hrd_parameters_present_flag
Set native bitfield nal_hrd_parameters_present_flag, retaining its low 1 bits.
vcl_hrd_parameters_present_flag
Read native bitfield vcl_hrd_parameters_present_flag.
set_vcl_hrd_parameters_present_flag
Set native bitfield vcl_hrd_parameters_present_flag, retaining its low 1 bits.
new
Construct the record with its default native state.
clone
default
Stvk::StdVideoH264WeightedBipredIdc
Contract
Open integer representation of StdVideoH264WeightedBipredIdc.
Fields
0
0: i32Methods and associated items
DEFAULT
Native value STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_DEFAULT.
Khronos registry source: STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_DEFAULT
EXPLICIT
Native value STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_EXPLICIT.
Khronos registry source: STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_EXPLICIT
IMPLICIT
Native value STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_IMPLICIT.
Khronos registry source: STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_IMPLICIT
INVALID
Native value STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_INVALID.
Khronos registry source: STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_INVALID
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoH265AspectRatioIdc
Contract
Open integer representation of StdVideoH265AspectRatioIdc.
Fields
0
0: i32Methods and associated items
UNSPECIFIED
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_UNSPECIFIED.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_UNSPECIFIED
SQUARE
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_SQUARE.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_SQUARE
_12_11
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_12_11.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_12_11
_10_11
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_10_11.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_10_11
_16_11
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_16_11.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_16_11
_40_33
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_40_33.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_40_33
_24_11
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_24_11.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_24_11
_20_11
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_20_11.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_20_11
_32_11
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_32_11.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_32_11
_80_33
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_80_33.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_80_33
_18_11
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_18_11.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_18_11
_15_11
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_15_11.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_15_11
_64_33
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_64_33.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_64_33
_160_99
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_160_99.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_160_99
_4_3
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_4_3.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_4_3
_3_2
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_3_2.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_3_2
_2_1
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_2_1.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_2_1
EXTENDED_SAR
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_EXTENDED_SAR.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_EXTENDED_SAR
INVALID
Native value STD_VIDEO_H265_ASPECT_RATIO_IDC_INVALID.
Khronos registry source: STD_VIDEO_H265_ASPECT_RATIO_IDC_INVALID
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoH265ChromaFormatIdc
Contract
Open integer representation of StdVideoH265ChromaFormatIdc.
Fields
0
0: i32Methods and associated items
MONOCHROME
Native value STD_VIDEO_H265_CHROMA_FORMAT_IDC_MONOCHROME.
Khronos registry source: STD_VIDEO_H265_CHROMA_FORMAT_IDC_MONOCHROME
_420
Native value STD_VIDEO_H265_CHROMA_FORMAT_IDC_420.
Khronos registry source: STD_VIDEO_H265_CHROMA_FORMAT_IDC_420
_422
Native value STD_VIDEO_H265_CHROMA_FORMAT_IDC_422.
Khronos registry source: STD_VIDEO_H265_CHROMA_FORMAT_IDC_422
_444
Native value STD_VIDEO_H265_CHROMA_FORMAT_IDC_444.
Khronos registry source: STD_VIDEO_H265_CHROMA_FORMAT_IDC_444
INVALID
Native value STD_VIDEO_H265_CHROMA_FORMAT_IDC_INVALID.
Khronos registry source: STD_VIDEO_H265_CHROMA_FORMAT_IDC_INVALID
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoH265DecPicBufMgr
Contract
Native structure StdVideoH265DecPicBufMgr.
Fields
max_latency_increase_plus1
max_latency_increase_plus1: [u32; 7]Native field max_latency_increase_plus1.
max_dec_pic_buffering_minus1
max_dec_pic_buffering_minus1: [u8; 7]Native field max_dec_pic_buffering_minus1.
max_num_reorder_pics
max_num_reorder_pics: [u8; 7]Native field max_num_reorder_pics.
Methods and associated items
new
Construct the record with its default native state.
set_max_latency_increase_plus1
Set native field max_latency_increase_plus1 without native effects.
set_max_dec_pic_buffering_minus1
Set native field max_dec_pic_buffering_minus1 without native effects.
set_max_num_reorder_pics
Set native field max_num_reorder_pics without native effects.
clone
default
Stvk::StdVideoH265HrdFlags
Contract
Native structure StdVideoH265HrdFlags.
Fields
_bitfield_1
_bitfield_1: u32Methods and associated items
nal_hrd_parameters_present_flag
Read native bitfield nal_hrd_parameters_present_flag.
set_nal_hrd_parameters_present_flag
Set native bitfield nal_hrd_parameters_present_flag, retaining its low 1 bits.
vcl_hrd_parameters_present_flag
Read native bitfield vcl_hrd_parameters_present_flag.
set_vcl_hrd_parameters_present_flag
Set native bitfield vcl_hrd_parameters_present_flag, retaining its low 1 bits.
sub_pic_hrd_params_present_flag
Read native bitfield sub_pic_hrd_params_present_flag.
set_sub_pic_hrd_params_present_flag
Set native bitfield sub_pic_hrd_params_present_flag, retaining its low 1 bits.
sub_pic_cpb_params_in_pic_timing_sei_flag
Read native bitfield sub_pic_cpb_params_in_pic_timing_sei_flag.
set_sub_pic_cpb_params_in_pic_timing_sei_flag
Set native bitfield sub_pic_cpb_params_in_pic_timing_sei_flag, retaining its low 1 bits.
fixed_pic_rate_general_flag
Read native bitfield fixed_pic_rate_general_flag.
set_fixed_pic_rate_general_flag
Set native bitfield fixed_pic_rate_general_flag, retaining its low 8 bits.
fixed_pic_rate_within_cvs_flag
Read native bitfield fixed_pic_rate_within_cvs_flag.
set_fixed_pic_rate_within_cvs_flag
Set native bitfield fixed_pic_rate_within_cvs_flag, retaining its low 8 bits.
low_delay_hrd_flag
Read native bitfield low_delay_hrd_flag.
set_low_delay_hrd_flag
Set native bitfield low_delay_hrd_flag, retaining its low 8 bits.
new
Construct the record with its default native state.
clone
default
Stvk::StdVideoH265HrdParameters
pub struct StdVideoH265HrdParameters<'a> {
pub flags: StdVideoH265HrdFlags,
pub tick_divisor_minus2: u8,
pub du_cpb_removal_delay_increment_length_minus1: u8,
pub dpb_output_delay_du_length_minus1: u8,
pub bit_rate_scale: u8,
pub cpb_size_scale: u8,
pub cpb_size_du_scale: u8,
pub initial_cpb_removal_delay_length_minus1: u8,
pub au_cpb_removal_delay_length_minus1: u8,
pub dpb_output_delay_length_minus1: u8,
pub cpb_cnt_minus1: [u8; 7],
pub elemental_duration_in_tc_minus1: [u16; 7],
pub reserved: [u16; 3],
pub p_sub_layer_hrd_parameters_nal: *const StdVideoH265SubLayerHrdParameters,
pub p_sub_layer_hrd_parameters_vcl: *const StdVideoH265SubLayerHrdParameters,
/* private fields */
}Contract
Native structure StdVideoH265HrdParameters.
Fields
flags
flags: StdVideoH265HrdFlagsNative field flags.
tick_divisor_minus2
tick_divisor_minus2: u8Native field tick_divisor_minus2.
du_cpb_removal_delay_increment_length_minus1
du_cpb_removal_delay_increment_length_minus1: u8Native field du_cpb_removal_delay_increment_length_minus1.
dpb_output_delay_du_length_minus1
dpb_output_delay_du_length_minus1: u8Native field dpb_output_delay_du_length_minus1.
bit_rate_scale
bit_rate_scale: u8Native field bit_rate_scale.
cpb_size_scale
cpb_size_scale: u8Native field cpb_size_scale.
cpb_size_du_scale
cpb_size_du_scale: u8Native field cpb_size_du_scale.
initial_cpb_removal_delay_length_minus1
initial_cpb_removal_delay_length_minus1: u8Native field initial_cpb_removal_delay_length_minus1.
au_cpb_removal_delay_length_minus1
au_cpb_removal_delay_length_minus1: u8Native field au_cpb_removal_delay_length_minus1.
dpb_output_delay_length_minus1
dpb_output_delay_length_minus1: u8Native field dpb_output_delay_length_minus1.
cpb_cnt_minus1
cpb_cnt_minus1: [u8; 7]Native field cpb_cnt_minus1.
elemental_duration_in_tc_minus1
elemental_duration_in_tc_minus1: [u16; 7]Native field elemental_duration_in_tc_minus1.
reserved
reserved: [u16; 3]Native field reserved.
p_sub_layer_hrd_parameters_nal
p_sub_layer_hrd_parameters_nal: *const StdVideoH265SubLayerHrdParametersNative field pSubLayerHrdParametersNal.
p_sub_layer_hrd_parameters_vcl
p_sub_layer_hrd_parameters_vcl: *const StdVideoH265SubLayerHrdParametersNative field pSubLayerHrdParametersVcl.
Methods and associated items
new
Construct the record with its default native state.
set_flags
Set native field flags without native effects.
set_tick_divisor_minus2
Set native field tick_divisor_minus2 without native effects.
set_du_cpb_removal_delay_increment_length_minus1
Set native field du_cpb_removal_delay_increment_length_minus1 without native effects.
set_dpb_output_delay_du_length_minus1
Set native field dpb_output_delay_du_length_minus1 without native effects.
set_bit_rate_scale
Set native field bit_rate_scale without native effects.
set_cpb_size_scale
Set native field cpb_size_scale without native effects.
set_cpb_size_du_scale
Set native field cpb_size_du_scale without native effects.
set_initial_cpb_removal_delay_length_minus1
Set native field initial_cpb_removal_delay_length_minus1 without native effects.
set_au_cpb_removal_delay_length_minus1
Set native field au_cpb_removal_delay_length_minus1 without native effects.
set_dpb_output_delay_length_minus1
Set native field dpb_output_delay_length_minus1 without native effects.
set_cpb_cnt_minus1
Set native field cpb_cnt_minus1 without native effects.
set_elemental_duration_in_tc_minus1
Set native field elemental_duration_in_tc_minus1 without native effects.
set_reserved
Set native field reserved without native effects.
set_sub_layer_hrd_parameters_nal
Borrow H.265 HRD storage using its enclosing SPS/VPS sub-layer extent.
The caller supplies the matching enclosing *_max_sub_layers_minus1;
presence flags and the enclosing record remain native-call obligations.
Errors
Returns a length mismatch unless the slice has max_sub_layers_minus1 + 1 entries.
set_sub_layer_hrd_parameters_vcl
Borrow H.265 HRD storage using its enclosing SPS/VPS sub-layer extent.
The caller supplies the matching enclosing *_max_sub_layers_minus1;
presence flags and the enclosing record remain native-call obligations.
Errors
Returns a length mismatch unless the slice has max_sub_layers_minus1 + 1 entries.
clone
default
Stvk::StdVideoH265LevelIdc
Contract
Open integer representation of StdVideoH265LevelIdc.
Fields
0
0: i32Methods and associated items
_1_0
Native value STD_VIDEO_H265_LEVEL_IDC_1_0.
_2_0
Native value STD_VIDEO_H265_LEVEL_IDC_2_0.
_2_1
Native value STD_VIDEO_H265_LEVEL_IDC_2_1.
_3_0
Native value STD_VIDEO_H265_LEVEL_IDC_3_0.
_3_1
Native value STD_VIDEO_H265_LEVEL_IDC_3_1.
_4_0
Native value STD_VIDEO_H265_LEVEL_IDC_4_0.
_4_1
Native value STD_VIDEO_H265_LEVEL_IDC_4_1.
_5_0
Native value STD_VIDEO_H265_LEVEL_IDC_5_0.
_5_1
Native value STD_VIDEO_H265_LEVEL_IDC_5_1.
_5_2
Native value STD_VIDEO_H265_LEVEL_IDC_5_2.
_6_0
Native value STD_VIDEO_H265_LEVEL_IDC_6_0.
_6_1
Native value STD_VIDEO_H265_LEVEL_IDC_6_1.
_6_2
Native value STD_VIDEO_H265_LEVEL_IDC_6_2.
INVALID
Native value STD_VIDEO_H265_LEVEL_IDC_INVALID.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoH265LongTermRefPicsSps
Contract
Native structure StdVideoH265LongTermRefPicsSps.
Fields
used_by_curr_pic_lt_sps_flag
used_by_curr_pic_lt_sps_flag: u32Native field used_by_curr_pic_lt_sps_flag.
lt_ref_pic_poc_lsb_sps
lt_ref_pic_poc_lsb_sps: [u32; 32]Native field lt_ref_pic_poc_lsb_sps.
Methods and associated items
new
Construct the record with its default native state.
set_used_by_curr_pic_lt_sps_flag
Set native field used_by_curr_pic_lt_sps_flag without native effects.
set_lt_ref_pic_poc_lsb_sps
Set native field lt_ref_pic_poc_lsb_sps without native effects.
clone
default
Stvk::StdVideoH265PictureParameterSet
pub struct StdVideoH265PictureParameterSet<'a> {
pub flags: StdVideoH265PpsFlags,
pub pps_pic_parameter_set_id: u8,
pub pps_seq_parameter_set_id: u8,
pub sps_video_parameter_set_id: u8,
pub num_extra_slice_header_bits: u8,
pub num_ref_idx_l0_default_active_minus1: u8,
pub num_ref_idx_l1_default_active_minus1: u8,
pub init_qp_minus26: i8,
pub diff_cu_qp_delta_depth: u8,
pub pps_cb_qp_offset: i8,
pub pps_cr_qp_offset: i8,
pub pps_beta_offset_div2: i8,
pub pps_tc_offset_div2: i8,
pub log2_parallel_merge_level_minus2: u8,
pub log2_max_transform_skip_block_size_minus2: u8,
pub diff_cu_chroma_qp_offset_depth: u8,
pub chroma_qp_offset_list_len_minus1: u8,
pub cb_qp_offset_list: [i8; 6],
pub cr_qp_offset_list: [i8; 6],
pub log2_sao_offset_scale_luma: u8,
pub log2_sao_offset_scale_chroma: u8,
pub pps_act_y_qp_offset_plus5: i8,
pub pps_act_cb_qp_offset_plus5: i8,
pub pps_act_cr_qp_offset_plus3: i8,
pub pps_num_palette_predictor_initializers: u8,
pub luma_bit_depth_entry_minus8: u8,
pub chroma_bit_depth_entry_minus8: u8,
pub num_tile_columns_minus1: u8,
pub num_tile_rows_minus1: u8,
pub reserved1: u8,
pub reserved2: u8,
pub column_width_minus1: [u16; 19],
pub row_height_minus1: [u16; 21],
pub reserved3: u32,
pub p_scaling_lists: *const StdVideoH265ScalingLists,
pub p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntries,
/* private fields */
}Contract
Native structure StdVideoH265PictureParameterSet.
Fields
flags
flags: StdVideoH265PpsFlagsNative field flags.
pps_pic_parameter_set_id
pps_pic_parameter_set_id: u8Native field pps_pic_parameter_set_id.
pps_seq_parameter_set_id
pps_seq_parameter_set_id: u8Native field pps_seq_parameter_set_id.
sps_video_parameter_set_id
sps_video_parameter_set_id: u8Native field sps_video_parameter_set_id.
num_extra_slice_header_bits
num_extra_slice_header_bits: u8Native field num_extra_slice_header_bits.
num_ref_idx_l0_default_active_minus1
num_ref_idx_l0_default_active_minus1: u8Native field num_ref_idx_l0_default_active_minus1.
num_ref_idx_l1_default_active_minus1
num_ref_idx_l1_default_active_minus1: u8Native field num_ref_idx_l1_default_active_minus1.
init_qp_minus26
init_qp_minus26: i8Native field init_qp_minus26.
diff_cu_qp_delta_depth
diff_cu_qp_delta_depth: u8Native field diff_cu_qp_delta_depth.
pps_cb_qp_offset
pps_cb_qp_offset: i8Native field pps_cb_qp_offset.
pps_cr_qp_offset
pps_cr_qp_offset: i8Native field pps_cr_qp_offset.
pps_beta_offset_div2
pps_beta_offset_div2: i8Native field pps_beta_offset_div2.
pps_tc_offset_div2
pps_tc_offset_div2: i8Native field pps_tc_offset_div2.
log2_parallel_merge_level_minus2
log2_parallel_merge_level_minus2: u8Native field log2_parallel_merge_level_minus2.
log2_max_transform_skip_block_size_minus2
log2_max_transform_skip_block_size_minus2: u8Native field log2_max_transform_skip_block_size_minus2.
diff_cu_chroma_qp_offset_depth
diff_cu_chroma_qp_offset_depth: u8Native field diff_cu_chroma_qp_offset_depth.
chroma_qp_offset_list_len_minus1
chroma_qp_offset_list_len_minus1: u8Native field chroma_qp_offset_list_len_minus1.
cb_qp_offset_list
cb_qp_offset_list: [i8; 6]Native field cb_qp_offset_list.
cr_qp_offset_list
cr_qp_offset_list: [i8; 6]Native field cr_qp_offset_list.
log2_sao_offset_scale_luma
log2_sao_offset_scale_luma: u8Native field log2_sao_offset_scale_luma.
log2_sao_offset_scale_chroma
log2_sao_offset_scale_chroma: u8Native field log2_sao_offset_scale_chroma.
pps_act_y_qp_offset_plus5
pps_act_y_qp_offset_plus5: i8Native field pps_act_y_qp_offset_plus5.
pps_act_cb_qp_offset_plus5
pps_act_cb_qp_offset_plus5: i8Native field pps_act_cb_qp_offset_plus5.
pps_act_cr_qp_offset_plus3
pps_act_cr_qp_offset_plus3: i8Native field pps_act_cr_qp_offset_plus3.
pps_num_palette_predictor_initializers
pps_num_palette_predictor_initializers: u8Native field pps_num_palette_predictor_initializers.
luma_bit_depth_entry_minus8
luma_bit_depth_entry_minus8: u8Native field luma_bit_depth_entry_minus8.
chroma_bit_depth_entry_minus8
chroma_bit_depth_entry_minus8: u8Native field chroma_bit_depth_entry_minus8.
num_tile_columns_minus1
num_tile_columns_minus1: u8Native field num_tile_columns_minus1.
num_tile_rows_minus1
num_tile_rows_minus1: u8Native field num_tile_rows_minus1.
reserved1
reserved1: u8Native field reserved1.
reserved2
reserved2: u8Native field reserved2.
column_width_minus1
column_width_minus1: [u16; 19]Native field column_width_minus1.
row_height_minus1
row_height_minus1: [u16; 21]Native field row_height_minus1.
reserved3
reserved3: u32Native field reserved3.
p_scaling_lists
p_scaling_lists: *const StdVideoH265ScalingListsNative field pScalingLists.
p_predictor_palette_entries
p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntriesNative field pPredictorPaletteEntries.
Methods and associated items
new
Construct the record with its default native state.
set_flags
Set native field flags without native effects.
set_pps_pic_parameter_set_id
Set native field pps_pic_parameter_set_id without native effects.
set_pps_seq_parameter_set_id
Set native field pps_seq_parameter_set_id without native effects.
set_sps_video_parameter_set_id
Set native field sps_video_parameter_set_id without native effects.
set_num_extra_slice_header_bits
Set native field num_extra_slice_header_bits without native effects.
set_num_ref_idx_l0_default_active_minus1
Set native field num_ref_idx_l0_default_active_minus1 without native effects.
set_num_ref_idx_l1_default_active_minus1
Set native field num_ref_idx_l1_default_active_minus1 without native effects.
set_init_qp_minus26
Set native field init_qp_minus26 without native effects.
set_diff_cu_qp_delta_depth
Set native field diff_cu_qp_delta_depth without native effects.
set_pps_cb_qp_offset
Set native field pps_cb_qp_offset without native effects.
set_pps_cr_qp_offset
Set native field pps_cr_qp_offset without native effects.
set_pps_beta_offset_div2
Set native field pps_beta_offset_div2 without native effects.
set_pps_tc_offset_div2
Set native field pps_tc_offset_div2 without native effects.
set_log2_parallel_merge_level_minus2
Set native field log2_parallel_merge_level_minus2 without native effects.
set_log2_max_transform_skip_block_size_minus2
Set native field log2_max_transform_skip_block_size_minus2 without native effects.
set_diff_cu_chroma_qp_offset_depth
Set native field diff_cu_chroma_qp_offset_depth without native effects.
set_chroma_qp_offset_list_len_minus1
Set native field chroma_qp_offset_list_len_minus1 without native effects.
set_cb_qp_offset_list
Set native field cb_qp_offset_list without native effects.
set_cr_qp_offset_list
Set native field cr_qp_offset_list without native effects.
set_log2_sao_offset_scale_luma
Set native field log2_sao_offset_scale_luma without native effects.
set_log2_sao_offset_scale_chroma
Set native field log2_sao_offset_scale_chroma without native effects.
set_pps_act_y_qp_offset_plus5
Set native field pps_act_y_qp_offset_plus5 without native effects.
set_pps_act_cb_qp_offset_plus5
Set native field pps_act_cb_qp_offset_plus5 without native effects.
set_pps_act_cr_qp_offset_plus3
Set native field pps_act_cr_qp_offset_plus3 without native effects.
set_pps_num_palette_predictor_initializers
Set native field pps_num_palette_predictor_initializers without native effects.
set_luma_bit_depth_entry_minus8
Set native field luma_bit_depth_entry_minus8 without native effects.
set_chroma_bit_depth_entry_minus8
Set native field chroma_bit_depth_entry_minus8 without native effects.
set_num_tile_columns_minus1
Set native field num_tile_columns_minus1 without native effects.
set_num_tile_rows_minus1
Set native field num_tile_rows_minus1 without native effects.
set_reserved1
Set native field reserved1 without native effects.
set_reserved2
Set native field reserved2 without native effects.
set_column_width_minus1
Set native field column_width_minus1 without native effects.
set_row_height_minus1
Set native field row_height_minus1 without native effects.
set_reserved3
Set native field reserved3 without native effects.
set_scaling_lists
Set native field pScalingLists without native effects.
set_predictor_palette_entries
Set native field pPredictorPaletteEntries without native effects.