Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavutil/
Dencryption_info.c163 static void av_encryption_info_set_drm_algo(uint32_t algo, AV_DrmCencInfo *cenc_info) in av_encryption_info_set_drm_algo() argument
168 cenc_info->algo = AV_DRM_ALG_CENC_AES_CTR; in av_encryption_info_set_drm_algo()
172 cenc_info->algo = AV_DRM_ALG_CENC_AES_CBC; in av_encryption_info_set_drm_algo()
176 cenc_info->algo = AV_DRM_ALG_CENC_SM4_CBC; in av_encryption_info_set_drm_algo()
180 cenc_info->algo = AV_DRM_ALG_CENC_SM4_CTR; in av_encryption_info_set_drm_algo()
183 cenc_info->algo = AV_DRM_ALG_CENC_UNENCRYPTED; in av_encryption_info_set_drm_algo()
190 AV_DrmCencInfo *cenc_info) in av_encryption_info_add_side_data_ex() argument
200 cenc_info = av_mallocz(*side_data_size); in av_encryption_info_add_side_data_ex()
201 if (!cenc_info) in av_encryption_info_add_side_data_ex()
204 av_encryption_info_set_drm_algo(info->scheme, cenc_info); in av_encryption_info_add_side_data_ex()
[all …]
Dencryption_info.h225 const AVEncryptionInfo *info, size_t *side_data_size, AV_DrmCencInfo *cenc_info);
/third_party/ffmpeg/libavformat/
Dmpegts.c317 static void mpegts_set_drm_algo_and_blocks(uint8_t algo, AV_DrmCencInfo *cenc_info) in mpegts_set_drm_algo_and_blocks() argument
320 cenc_info->algo = AV_DRM_ALG_CENC_SM4_CBC; in mpegts_set_drm_algo_and_blocks()
321 cenc_info->encrypt_blocks = DRM_TS_CRYPT_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
322 cenc_info->skip_blocks = DRM_TS_SKIP_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
324 cenc_info->algo = AV_DRM_ALG_CENC_AES_CBC; in mpegts_set_drm_algo_and_blocks()
325 cenc_info->encrypt_blocks = DRM_TS_CRYPT_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
326 cenc_info->skip_blocks = DRM_TS_SKIP_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
328 cenc_info->algo = AV_DRM_ALG_CENC_AES_CBC; in mpegts_set_drm_algo_and_blocks()
329 cenc_info->encrypt_blocks = 0; in mpegts_set_drm_algo_and_blocks()
330 cenc_info->skip_blocks = 0; in mpegts_set_drm_algo_and_blocks()
[all …]