FFmpeg
Data Fields
AVEncryptionInitInfo Struct Reference

This describes info used to initialize an encryption key system. More...

#include <encryption_info.h>

Data Fields

uint8_tsystem_id
 A unique identifier for the key system this is for, can be NULL if it is not known. More...
 
uint32_t system_id_size
 
uint8_t ** key_ids
 An array of key IDs this initialization data is for. More...
 
uint32_t num_key_ids
 The number of key IDs. More...
 
uint32_t key_id_size
 The number of bytes in each key ID. More...
 
uint8_tdata
 Key-system specific initialization data. More...
 
uint32_t data_size
 
struct AVEncryptionInitInfonext
 An optional pointer to the next initialization info in the list. More...
 

Detailed Description

This describes info used to initialize an encryption key system.

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

Definition at line 88 of file encryption_info.h.

Field Documentation

uint8_t* AVEncryptionInitInfo::system_id

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.

Definition at line 94 of file encryption_info.h.

Referenced by av_encryption_init_info_add_side_data(), av_encryption_init_info_alloc(), av_encryption_init_info_free(), compare_encryption_init_info(), create_init_info(), mov_read_pssh(), and run_encryption_init_info_test().

uint32_t AVEncryptionInitInfo::system_id_size
uint8_t** AVEncryptionInitInfo::key_ids

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.

Definition at line 101 of file encryption_info.h.

Referenced by av_encryption_init_info_add_side_data(), av_encryption_init_info_alloc(), av_encryption_init_info_free(), compare_encryption_init_info(), create_init_info(), and mov_read_pssh().

uint32_t AVEncryptionInitInfo::num_key_ids
uint32_t AVEncryptionInitInfo::key_id_size

The number of bytes in each key ID.

This should always be 16, but may change in the future.

Definition at line 108 of file encryption_info.h.

Referenced by av_encryption_init_info_add_side_data(), av_encryption_init_info_alloc(), compare_encryption_init_info(), and create_init_info().

uint8_t* AVEncryptionInitInfo::data

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.

Definition at line 116 of file encryption_info.h.

Referenced by av_encryption_init_info_add_side_data(), av_encryption_init_info_alloc(), av_encryption_init_info_free(), compare_encryption_init_info(), create_init_info(), and mov_read_pssh().

uint32_t AVEncryptionInitInfo::data_size
struct AVEncryptionInitInfo* AVEncryptionInitInfo::next

The documentation for this struct was generated from the following file: