Struct rsmpeg::ffi::AVCodecDescriptor[][src]

#[repr(C)]
pub struct AVCodecDescriptor { pub id: u32, pub type_: i32, pub name: *const i8, pub long_name: *const i8, pub props: i32, pub mime_types: *const *const i8, pub profiles: *const AVProfile, }
Expand description

This struct describes the properties of a single codec described by an AVCodecID. @see avcodec_descriptor_get()

Fields

id: u32type_: i32name: *const i8

Name of the codec described by this descriptor. It is non-empty and unique for each codec descriptor. It should contain alphanumeric characters and ‘_’ only.

long_name: *const i8

A more descriptive name for this codec. May be NULL.

props: i32

Codec properties, a combination of AV_CODEC_PROP_* flags.

mime_types: *const *const i8

MIME type(s) associated with the codec. May be NULL; if not, a NULL-terminated array of MIME types. The first item is always non-NULL and is the preferred MIME type.

profiles: *const AVProfile

If non-NULL, an array of profiles recognized for this codec. Terminated with FF_PROFILE_UNKNOWN.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.