Struct AVCodecParser
#[repr(C)]pub struct AVCodecParser {
pub codec_ids: [i32; 7],
pub priv_data_size: i32,
pub parser_init: Option<unsafe extern "C" fn(*mut AVCodecParserContext) -> i32>,
pub parser_parse: Option<unsafe extern "C" fn(*mut AVCodecParserContext, *mut AVCodecContext, *mut *const u8, *mut i32, *const u8, i32) -> i32>,
pub parser_close: Option<unsafe extern "C" fn(*mut AVCodecParserContext)>,
pub split: Option<unsafe extern "C" fn(*mut AVCodecContext, *const u8, i32) -> i32>,
}
Fields§
§codec_ids: [i32; 7]
§priv_data_size: i32
§parser_init: Option<unsafe extern "C" fn(*mut AVCodecParserContext) -> i32>
§parser_parse: Option<unsafe extern "C" fn(*mut AVCodecParserContext, *mut AVCodecContext, *mut *const u8, *mut i32, *const u8, i32) -> i32>
§parser_close: Option<unsafe extern "C" fn(*mut AVCodecParserContext)>
§split: Option<unsafe extern "C" fn(*mut AVCodecContext, *const u8, i32) -> i32>
Trait Implementations§
§impl Clone for AVCodecParser
impl Clone for AVCodecParser
§fn clone(&self) -> AVCodecParser
fn clone(&self) -> AVCodecParser
Returns a copy 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 more§impl Debug for AVCodecParser
impl Debug for AVCodecParser
impl Copy 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