[][src]Struct ffmpeg_dev::sys::AVEncryptionInitInfo

#[repr(C)]
pub struct AVEncryptionInitInfo {
    pub system_id: *mut u8,
    pub system_id_size: u32,
    pub key_ids: *mut *mut u8,
    pub num_key_ids: u32,
    pub key_id_size: u32,
    pub data: *mut u8,
    pub data_size: u32,
    pub next: *mut AVEncryptionInitInfo,
}

This describes info used to initialize an encryption key system.

The size of this struct is not part of the public ABI.

Fields

system_id: *mut u8

A unique identifier for the key system this is for, can be NULL if it is not known. This should always be 16 bytes, but may change in the future.

system_id_size: u32key_ids: *mut *mut u8

An array of key IDs this initialization data is for. All IDs are the same length. Can be NULL if there are no known key IDs.

num_key_ids: u32

The number of key IDs.

key_id_size: u32

The number of bytes in each key ID. This should always be 16, but may change in the future.

data: *mut u8

Key-system specific initialization data. This data is copied directly from the file and the format depends on the specific key system. This can be NULL if there is no initialization data; in that case, there will be at least one key ID.

data_size: u32next: *mut AVEncryptionInitInfo

An optional pointer to the next initialization info in the list.

Trait Implementations

impl Clone for AVEncryptionInitInfo[src]

impl Copy for AVEncryptionInitInfo[src]

impl Debug for AVEncryptionInitInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]