#[repr(C)]pub struct AVCodecParser {
pub codec_ids: [c_int; 7],
pub priv_data_size: c_int,
pub parser_init: Option<unsafe extern "C" fn(s: *mut AVCodecParserContext) -> c_int>,
pub parser_parse: Option<unsafe extern "C" fn(s: *mut AVCodecParserContext, avctx: *mut AVCodecContext, poutbuf: *mut *const u8, poutbuf_size: *mut c_int, buf: *const u8, buf_size: c_int) -> c_int>,
pub parser_close: Option<unsafe extern "C" fn(s: *mut AVCodecParserContext)>,
pub split: Option<unsafe extern "C" fn(avctx: *mut AVCodecContext, buf: *const u8, buf_size: c_int) -> c_int>,
}Fields§
§codec_ids: [c_int; 7]§priv_data_size: c_int§parser_init: Option<unsafe extern "C" fn(s: *mut AVCodecParserContext) -> c_int>§parser_parse: Option<unsafe extern "C" fn(s: *mut AVCodecParserContext, avctx: *mut AVCodecContext, poutbuf: *mut *const u8, poutbuf_size: *mut c_int, buf: *const u8, buf_size: c_int) -> c_int>§parser_close: Option<unsafe extern "C" fn(s: *mut AVCodecParserContext)>§split: Option<unsafe extern "C" fn(avctx: *mut AVCodecContext, buf: *const u8, buf_size: c_int) -> c_int>Trait Implementations§
Source§impl Clone for AVCodecParser
impl Clone for AVCodecParser
Source§fn clone(&self) -> AVCodecParser
fn clone(&self) -> AVCodecParser
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 AVCodecParser
impl Debug for AVCodecParser
Source§impl Default for AVCodecParser
impl Default for AVCodecParser
Source§fn default() -> AVCodecParser
fn default() -> AVCodecParser
Returns the “default value” for a type. Read more
Source§impl Hash for AVCodecParser
impl Hash for AVCodecParser
Source§impl Ord for AVCodecParser
impl Ord for AVCodecParser
Source§fn cmp(&self, other: &AVCodecParser) -> Ordering
fn cmp(&self, other: &AVCodecParser) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AVCodecParser
impl PartialEq for AVCodecParser
Source§impl PartialOrd for AVCodecParser
impl PartialOrd for AVCodecParser
impl Copy for AVCodecParser
impl Eq for AVCodecParser
impl StructuralPartialEq for AVCodecParser
Auto Trait Implementations§
impl Freeze for AVCodecParser
impl RefUnwindSafe for AVCodecParser
impl Send for AVCodecParser
impl Sync for AVCodecParser
impl Unpin for AVCodecParser
impl UnwindSafe for AVCodecParser
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