Struct ffmpeg_sys::AVCodecParser [−][src]
#[repr(C)]pub struct AVCodecParser { pub codec_ids: [c_int; 5], 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>, pub next: *mut AVCodecParser, }
Fields
codec_ids: [c_int; 5]
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>
next: *mut AVCodecParser
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AVCodecParser
impl !Send for AVCodecParser
impl !Sync for AVCodecParser
impl Unpin for AVCodecParser
impl UnwindSafe for AVCodecParser
Blanket Implementations
Mutably borrows from an owned value. Read more