pub struct StdVideoEncodeAV1PictureInfo<'a> {Show 27 fields
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 */
}Expand description
Native structure StdVideoEncodeAV1PictureInfo.
Fields§
§flags: StdVideoEncodeAV1PictureInfoFlagsNative field flags.
frame_type: StdVideoAV1FrameTypeNative field frame_type.
frame_presentation_time: u32Native field frame_presentation_time.
current_frame_id: u32Native field current_frame_id.
order_hint: u8Native field order_hint.
primary_ref_frame: u8Native field primary_ref_frame.
refresh_frame_flags: u8Native field refresh_frame_flags.
coded_denom: u8Native field coded_denom.
render_width_minus_1: u16Native field render_width_minus_1.
render_height_minus_1: u16Native field render_height_minus_1.
interpolation_filter: StdVideoAV1InterpolationFilterNative field interpolation_filter.
tx_mode: StdVideoAV1TxModeNative field TxMode.
delta_q_res: u8Native field delta_q_res.
delta_lf_res: u8Native field delta_lf_res.
ref_order_hint: [u8; 8]Native field ref_order_hint.
ref_frame_idx: [i8; 7]Native field ref_frame_idx.
reserved1: [u8; 3]Native field reserved1.
delta_frame_id_minus_1: [u32; 7]Native field delta_frame_id_minus_1.
p_tile_info: *const StdVideoAV1TileInfo<'a>Native field pTileInfo.
p_quantization: *const StdVideoAV1QuantizationNative field pQuantization.
p_segmentation: *const StdVideoAV1SegmentationNative field pSegmentation.
p_loop_filter: *const StdVideoAV1LoopFilterNative field pLoopFilter.
p_cdef: *const StdVideoAV1CDEFNative field pCDEF.
p_loop_restoration: *const StdVideoAV1LoopRestorationNative field pLoopRestoration.
p_global_motion: *const StdVideoAV1GlobalMotionNative field pGlobalMotion.
p_extension_header: *const StdVideoEncodeAV1ExtensionHeaderNative field pExtensionHeader.
p_buffer_removal_times: *const u32Native field pBufferRemovalTimes.
Implementations§
Source§impl<'a> StdVideoEncodeAV1PictureInfo<'a>
impl<'a> StdVideoEncodeAV1PictureInfo<'a>
Sourcepub fn set_flags(self, value: StdVideoEncodeAV1PictureInfoFlags) -> Self
pub fn set_flags(self, value: StdVideoEncodeAV1PictureInfoFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_frame_type(self, value: StdVideoAV1FrameType) -> Self
pub fn set_frame_type(self, value: StdVideoAV1FrameType) -> Self
Set native field frame_type without native effects.
Sourcepub fn set_frame_presentation_time(self, value: u32) -> Self
pub fn set_frame_presentation_time(self, value: u32) -> Self
Set native field frame_presentation_time without native effects.
Sourcepub fn set_current_frame_id(self, value: u32) -> Self
pub fn set_current_frame_id(self, value: u32) -> Self
Set native field current_frame_id without native effects.
Sourcepub fn set_order_hint(self, value: u8) -> Self
pub fn set_order_hint(self, value: u8) -> Self
Set native field order_hint without native effects.
Sourcepub fn set_primary_ref_frame(self, value: u8) -> Self
pub fn set_primary_ref_frame(self, value: u8) -> Self
Set native field primary_ref_frame without native effects.
Sourcepub fn set_refresh_frame_flags(self, value: u8) -> Self
pub fn set_refresh_frame_flags(self, value: u8) -> Self
Set native field refresh_frame_flags without native effects.
Sourcepub fn set_coded_denom(self, value: u8) -> Self
pub fn set_coded_denom(self, value: u8) -> Self
Set native field coded_denom without native effects.
Sourcepub fn set_render_width_minus_1(self, value: u16) -> Self
pub fn set_render_width_minus_1(self, value: u16) -> Self
Set native field render_width_minus_1 without native effects.
Sourcepub fn set_render_height_minus_1(self, value: u16) -> Self
pub fn set_render_height_minus_1(self, value: u16) -> Self
Set native field render_height_minus_1 without native effects.
Sourcepub fn set_interpolation_filter(
self,
value: StdVideoAV1InterpolationFilter,
) -> Self
pub fn set_interpolation_filter( self, value: StdVideoAV1InterpolationFilter, ) -> Self
Set native field interpolation_filter without native effects.
Sourcepub fn set_tx_mode(self, value: StdVideoAV1TxMode) -> Self
pub fn set_tx_mode(self, value: StdVideoAV1TxMode) -> Self
Set native field TxMode without native effects.
Sourcepub fn set_delta_q_res(self, value: u8) -> Self
pub fn set_delta_q_res(self, value: u8) -> Self
Set native field delta_q_res without native effects.
Sourcepub fn set_delta_lf_res(self, value: u8) -> Self
pub fn set_delta_lf_res(self, value: u8) -> Self
Set native field delta_lf_res without native effects.
Sourcepub fn set_ref_order_hint(self, value: [u8; 8]) -> Self
pub fn set_ref_order_hint(self, value: [u8; 8]) -> Self
Set native field ref_order_hint without native effects.
Sourcepub fn set_ref_frame_idx(self, value: [i8; 7]) -> Self
pub fn set_ref_frame_idx(self, value: [i8; 7]) -> Self
Set native field ref_frame_idx without native effects.
Sourcepub fn set_reserved1(self, value: [u8; 3]) -> Self
pub fn set_reserved1(self, value: [u8; 3]) -> Self
Set native field reserved1 without native effects.
Sourcepub fn set_delta_frame_id_minus_1(self, value: [u32; 7]) -> Self
pub fn set_delta_frame_id_minus_1(self, value: [u32; 7]) -> Self
Set native field delta_frame_id_minus_1 without native effects.
Sourcepub fn set_tile_info(self, value: &'a StdVideoAV1TileInfo<'a>) -> Self
pub fn set_tile_info(self, value: &'a StdVideoAV1TileInfo<'a>) -> Self
Set native field pTileInfo without native effects.
Sourcepub fn set_quantization(self, value: &'a StdVideoAV1Quantization) -> Self
pub fn set_quantization(self, value: &'a StdVideoAV1Quantization) -> Self
Set native field pQuantization without native effects.
Sourcepub fn set_segmentation(self, value: &'a StdVideoAV1Segmentation) -> Self
pub fn set_segmentation(self, value: &'a StdVideoAV1Segmentation) -> Self
Set native field pSegmentation without native effects.
Sourcepub fn set_loop_filter(self, value: &'a StdVideoAV1LoopFilter) -> Self
pub fn set_loop_filter(self, value: &'a StdVideoAV1LoopFilter) -> Self
Set native field pLoopFilter without native effects.
Sourcepub fn set_cdef(self, value: &'a StdVideoAV1CDEF) -> Self
pub fn set_cdef(self, value: &'a StdVideoAV1CDEF) -> Self
Set native field pCDEF without native effects.
Sourcepub fn set_loop_restoration(self, value: &'a StdVideoAV1LoopRestoration) -> Self
pub fn set_loop_restoration(self, value: &'a StdVideoAV1LoopRestoration) -> Self
Set native field pLoopRestoration without native effects.
Sourcepub fn set_global_motion(self, value: &'a StdVideoAV1GlobalMotion) -> Self
pub fn set_global_motion(self, value: &'a StdVideoAV1GlobalMotion) -> Self
Set native field pGlobalMotion without native effects.
Sourcepub fn set_extension_header(
self,
value: &'a StdVideoEncodeAV1ExtensionHeader,
) -> Self
pub fn set_extension_header( self, value: &'a StdVideoEncodeAV1ExtensionHeader, ) -> Self
Set native field pExtensionHeader without native effects.
Sourcepub fn set_buffer_removal_times(self, value: &'a u32) -> Self
pub fn set_buffer_removal_times(self, value: &'a u32) -> Self
Set native field pBufferRemovalTimes without native effects.