#[repr(C)]pub struct AVOutputFormat {
pub name: *const c_char,
pub long_name: *const c_char,
pub mime_type: *const c_char,
pub extensions: *const c_char,
pub audio_codec: AVCodecID,
pub video_codec: AVCodecID,
pub subtitle_codec: AVCodecID,
pub flags: c_int,
pub codec_tag: *const *const AVCodecTag,
pub priv_class: *const AVClass,
}展开描述
@addtogroup lavf_encoding @{
Fields§
§name: *const c_char§long_name: *const c_charDescriptive name for the format, meant to be more human-readable than name. You should use the NULL_IF_CONFIG_SMALL() macro to define it.
mime_type: *const c_char§extensions: *const c_char< comma-separated filename extensions
audio_codec: AVCodecID< default audio codec
video_codec: AVCodecID< default video codec
subtitle_codec: AVCodecID< default subtitle codec
flags: c_intcan use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_TS_NONSTRICT, AVFMT_TS_NEGATIVE
codec_tag: *const *const AVCodecTagList of supported codec_id-codec_tag pairs, ordered by “better choice first”. The arrays are all terminated by AV_CODEC_ID_NONE.
priv_class: *const AVClass< AVClass for the private context
trait 实现§
源代码§impl Clone for AVOutputFormat
impl Clone for AVOutputFormat
源代码§fn clone(&self) -> AVOutputFormat
fn clone(&self) -> AVOutputFormat
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 AVOutputFormat
impl Debug for AVOutputFormat
源代码§impl PartialEq for AVOutputFormat
impl PartialEq for AVOutputFormat
impl Copy for AVOutputFormat
impl Eq for AVOutputFormat
impl StructuralPartialEq for AVOutputFormat
自动 trait 实现§
impl Freeze for AVOutputFormat
impl RefUnwindSafe for AVOutputFormat
impl !Send for AVOutputFormat
impl !Sync for AVOutputFormat
impl Unpin for AVOutputFormat
impl UnsafeUnpin for AVOutputFormat
impl UnwindSafe for AVOutputFormat
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
从拥有的值可变地借用。 阅读更多