[−][src]Struct ffmpeg_dev::sys::AVEncryptionInfo
This describes encryption info for a packet. This contains frame-specific info for how to decrypt the packet before passing it to the decoder.
The size of this struct is not part of the public ABI.
Fields
scheme: u32
The fourcc encryption scheme, in big-endian byte order.
crypt_byte_block: u32
Only used for pattern encryption. This is the number of 16-byte blocks that are encrypted.
skip_byte_block: u32
Only used for pattern encryption. This is the number of 16-byte blocks that are clear.
key_id: *mut u8
The ID of the key used to encrypt the packet. This should always be 16 bytes long, but may be changed in the future.
key_id_size: u32
iv: *mut u8
The initialization vector. This may have been zero-filled to be the correct block size. This should always be 16 bytes long, but may be changed in the future.
iv_size: u32
subsamples: *mut AVSubsampleEncryptionInfo
An array of subsample encryption info specifying how parts of the sample are encrypted. If there are no subsamples, then the whole sample is encrypted.
subsample_count: u32
Trait Implementations
impl Clone for AVEncryptionInfo
[src]
fn clone(&self) -> AVEncryptionInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AVEncryptionInfo
[src]
impl Debug for AVEncryptionInfo
[src]
Auto Trait Implementations
impl !Send for AVEncryptionInfo
impl !Sync for AVEncryptionInfo
impl Unpin for AVEncryptionInfo
impl UnwindSafe for AVEncryptionInfo
impl RefUnwindSafe for AVEncryptionInfo
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,