Home
last modified time | relevance | path

Searched refs:key_id_size (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavutil/
Dencryption_info.c39 AVEncryptionInfo *av_encryption_info_alloc(uint32_t subsample_count, uint32_t key_id_size, uint32_t… in av_encryption_info_alloc() argument
47 info->key_id = av_mallocz(key_id_size); in av_encryption_info_alloc()
48 info->key_id_size = key_id_size; in av_encryption_info_alloc()
67 ret = av_encryption_info_alloc(info->subsample_count, info->key_id_size, info->iv_size); in av_encryption_info_clone()
75 memcpy(ret->key_id, info->key_id, info->key_id_size); in av_encryption_info_clone()
93 uint64_t key_id_size, iv_size, subsample_count, i; in av_encryption_info_get_side_data() local
98 key_id_size = AV_RB32(buffer + 12); in av_encryption_info_get_side_data()
102 if (size < FF_ENCRYPTION_INFO_EXTRA + key_id_size + iv_size + subsample_count * 8) in av_encryption_info_get_side_data()
105 info = av_encryption_info_alloc(subsample_count, key_id_size, iv_size); in av_encryption_info_get_side_data()
112 memcpy(info->key_id, buffer + 24, key_id_size); in av_encryption_info_get_side_data()
[all …]
Dencryption_info.h64 uint32_t key_id_size; member
108 uint32_t key_id_size; member
136 AVEncryptionInfo *av_encryption_info_alloc(uint32_t subsample_count, uint32_t key_id_size, uint32_t…
177 uint32_t system_id_size, uint32_t num_key_ids, uint32_t key_id_size, uint32_t data_size);
/third_party/ffmpeg/libavutil/tests/
Dencryption_info.c36 a->skip_byte_block != b->skip_byte_block || a->key_id_size != b->key_id_size || in compare_encryption_info()
40 if (memcmp(a->key_id, b->key_id, a->key_id_size) != 0 || in compare_encryption_info()
50 a->num_key_ids != b->num_key_ids || a->key_id_size != b->key_id_size || in compare_encryption_init_info()
59 if (memcmp(a->key_ids[i], b->key_ids[i], a->key_id_size) != 0) in compare_encryption_init_info()
82 av_assert0(info->key_id_size == sizeof(test_key_id)); in run_encryption_info_test()
125 av_assert0(info->key_id_size == sizeof(test_key_id)); in create_init_info()