#[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_intAll fields below this line are not part of the public API. They may not be used outside of libavcodec and can be changed and removed at will. New public fields should be added right above.
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 实现§
源代码§impl Clone for AVCodecParser
impl Clone for AVCodecParser
源代码§fn clone(&self) -> AVCodecParser
fn clone(&self) -> AVCodecParser
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVCodecParser
impl Debug for AVCodecParser
源代码§impl PartialEq for AVCodecParser
impl PartialEq for AVCodecParser
impl Copy for AVCodecParser
impl Eq for AVCodecParser
impl StructuralPartialEq for AVCodecParser
自动 trait 实现§
impl Freeze for AVCodecParser
impl RefUnwindSafe for AVCodecParser
impl Send for AVCodecParser
impl Sync for AVCodecParser
impl Unpin for AVCodecParser
impl UnsafeUnpin for AVCodecParser
impl UnwindSafe for AVCodecParser
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多