#[repr(C)]pub struct h264_ctx_cbs {Show 18 fields
pub au_end: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, userdata: *mut c_void)>,
pub nalu_begin: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, type_: h264_nalu_type, buf: *const u8, len: usize, nh: *const h264_nalu_header, userdata: *mut c_void)>,
pub nalu_end: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, type_: h264_nalu_type, buf: *const u8, len: usize, nh: *const h264_nalu_header, userdata: *mut c_void)>,
pub slice: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sh: *const h264_slice_header, userdata: *mut c_void)>,
pub slice_data_begin: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, sh: *const h264_slice_header, userdata: *mut c_void)>,
pub slice_data_end: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, sh: *const h264_slice_header, mb_count: u32, userdata: *mut c_void)>,
pub slice_data_mb: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, sh: *const h264_slice_header, mb_addr: u32, mb_type: h264_mb_type, userdata: *mut c_void)>,
pub sps: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sps: *const h264_sps, userdata: *mut c_void)>,
pub pps: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, pps: *const h264_pps, userdata: *mut c_void)>,
pub aud: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, aud: *const h264_aud, userdata: *mut c_void)>,
pub sei: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, type_: h264_sei_type, buf: *const u8, len: usize, userdata: *mut c_void)>,
pub sei_buffering_period: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_buffering_period, userdata: *mut c_void)>,
pub sei_pic_timing: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_pic_timing, userdata: *mut c_void)>,
pub sei_pan_scan_rect: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_pan_scan_rect, userdata: *mut c_void)>,
pub sei_filler_payload: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_filler_payload, userdata: *mut c_void)>,
pub sei_user_data_registered: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_user_data_registered, userdata: *mut c_void)>,
pub sei_user_data_unregistered: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_user_data_unregistered, userdata: *mut c_void)>,
pub sei_recovery_point: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_recovery_point, userdata: *mut c_void)>,
}Fields§
§au_end: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, userdata: *mut c_void)>§nalu_begin: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, type_: h264_nalu_type, buf: *const u8, len: usize, nh: *const h264_nalu_header, userdata: *mut c_void)>§nalu_end: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, type_: h264_nalu_type, buf: *const u8, len: usize, nh: *const h264_nalu_header, userdata: *mut c_void)>§slice: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sh: *const h264_slice_header, userdata: *mut c_void)>§slice_data_begin: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, sh: *const h264_slice_header, userdata: *mut c_void)>§slice_data_end: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, sh: *const h264_slice_header, mb_count: u32, userdata: *mut c_void)>§slice_data_mb: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, sh: *const h264_slice_header, mb_addr: u32, mb_type: h264_mb_type, userdata: *mut c_void)>§sps: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sps: *const h264_sps, userdata: *mut c_void)>§pps: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, pps: *const h264_pps, userdata: *mut c_void)>§aud: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, aud: *const h264_aud, userdata: *mut c_void)>§sei: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, type_: h264_sei_type, buf: *const u8, len: usize, userdata: *mut c_void)>§sei_buffering_period: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_buffering_period, userdata: *mut c_void)>§sei_pic_timing: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_pic_timing, userdata: *mut c_void)>§sei_pan_scan_rect: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_pan_scan_rect, userdata: *mut c_void)>§sei_filler_payload: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_filler_payload, userdata: *mut c_void)>§sei_user_data_registered: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_user_data_registered, userdata: *mut c_void)>§sei_user_data_unregistered: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_user_data_unregistered, userdata: *mut c_void)>§sei_recovery_point: Option<unsafe extern "C" fn(ctx: *mut h264_ctx, buf: *const u8, len: usize, sei: *const h264_sei_recovery_point, userdata: *mut c_void)>Trait Implementations§
Source§impl Clone for h264_ctx_cbs
impl Clone for h264_ctx_cbs
Source§fn clone(&self) -> h264_ctx_cbs
fn clone(&self) -> h264_ctx_cbs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for h264_ctx_cbs
impl Debug for h264_ctx_cbs
impl Copy for h264_ctx_cbs
Auto Trait Implementations§
impl Freeze for h264_ctx_cbs
impl RefUnwindSafe for h264_ctx_cbs
impl Send for h264_ctx_cbs
impl Sync for h264_ctx_cbs
impl Unpin for h264_ctx_cbs
impl UnwindSafe for h264_ctx_cbs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more