Skip to main content
Version: 14 Oct 2024

MLMediaCodecCryptoPattern

Module: Media Player

Metadata describing an encryption pattern for the protected bytes in a subsample. More...

#include <ml_media_codec.h>

Public Attributes

TypeName
size_tencrypt_blocks
size_tskip_blocks

Detailed Description

struct MLMediaCodecCryptoPattern;

Metadata describing an encryption pattern for the protected bytes in a subsample.

Deprecated

Deprecated since 1.4.0. Scheduled for removal.

API Level:

  • 20

Public Attributes Documentation

encrypt_blocks

size_t encrypt_blocks;

Number of blocks to be encrypted in the pattern. If zero, pattern encryption is in-operative.


skip_blocks

size_t skip_blocks;

Number of blocks to be skipped (left clear) in the pattern. If zero, pattern encryption is in-operative.