Searched refs:system_id_size (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | encryption_info.c | 238 uint32_t system_id_size, uint32_t num_key_ids, uint32_t key_id_size, uint32_t data_size) in av_encryption_init_info_alloc() argument 247 info->system_id = av_mallocz(system_id_size); in av_encryption_init_info_alloc() 248 info->system_id_size = system_id_size; in av_encryption_init_info_alloc() 256 if ((!info->system_id && system_id_size) || (!info->data && data_size) || in av_encryption_init_info_alloc() 295 uint64_t system_id_size, num_key_ids, key_id_size, data_size, i, j; in av_encryption_init_info_get_side_data() local 310 system_id_size = AV_RB32(side_data); in av_encryption_init_info_get_side_data() 316 …if (side_data_size - FF_ENCRYPTION_INIT_INFO_EXTRA < system_id_size + data_size + num_key_ids * ke… in av_encryption_init_info_get_side_data() 323 … temp_info = av_encryption_init_info_alloc(system_id_size, num_key_ids, key_id_size, data_size); in av_encryption_init_info_get_side_data() 335 memcpy(info->system_id, side_data, system_id_size); in av_encryption_init_info_get_side_data() 336 side_data += system_id_size; in av_encryption_init_info_get_side_data() [all …]
|
D | encryption_info.h | 149 uint32_t system_id_size; member 235 uint32_t system_id_size, uint32_t num_key_ids, uint32_t key_id_size, uint32_t data_size);
|
/third_party/ffmpeg/libavutil/tests/ |
D | encryption_info.c | 50 if (!a || !b || a->system_id_size != b->system_id_size || in compare_encryption_init_info() 55 if (memcmp(a->system_id, b->system_id, a->system_id_size) != 0 || in compare_encryption_init_info() 123 av_assert0(info->system_id_size == sizeof(test_system_id)); in create_init_info() 159 memset(info->system_id, 0, info->system_id_size); in run_encryption_init_info_test()
|