h264_ctx_cbs

Struct h264_ctx_cbs 

Source
#[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

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for h264_ctx_cbs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for h264_ctx_cbs

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.