#include "libavutil/encryption_info.h"
#include <stdio.h>
#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/mem.h"
Go to the source code of this file.
|
static const AVSubsampleEncryptionInfo | test_subsamples [] = {{1, 2}, {3, 4}, {5, 6}, {7, 8}} |
|
static const size_t | test_subsample_count = sizeof(test_subsamples) / sizeof(test_subsamples[0]) |
|
static const uint8_t | test_iv [] = {0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18} |
|
static const uint8_t | test_key_id [] = {0x21, 0x22, 0x23, 0x24} |
|
static const uint8_t | test_key_id_2 [] = {0x31, 0x32, 0x33, 0x34} |
|
static const uint8_t | test_system_id [] = {0x41, 0x42, 0x43} |
|
static const uint8_t | test_data [] = {0x51, 0x52} |
|
◆ compare_encryption_info()
◆ compare_encryption_init_info()
◆ run_encryption_info_test()
static void run_encryption_info_test |
( |
void |
| ) |
|
|
static |
◆ create_init_info()
◆ run_encryption_init_info_test()
static void run_encryption_init_info_test |
( |
void |
| ) |
|
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ test_subsamples
◆ test_subsample_count
◆ test_iv
const uint8_t test_iv[] = {0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18} |
|
static |
◆ test_key_id
const uint8_t test_key_id[] = {0x21, 0x22, 0x23, 0x24} |
|
static |
◆ test_key_id_2
const uint8_t test_key_id_2[] = {0x31, 0x32, 0x33, 0x34} |
|
static |
◆ test_system_id
const uint8_t test_system_id[] = {0x41, 0x42, 0x43} |
|
static |
◆ test_data
const uint8_t test_data[] = {0x51, 0x52} |
|
static |