struct SubsampleEntry
Defined at line 26 of file ../../src/media/third_party/chromium_media/media/base/subsample_entry.h
The Common Encryption spec provides for subsample encryption, where portions
of a sample are set in cleartext. A SubsampleEntry specifies the number of
clear and encrypted bytes in each subsample. For decryption, all of the
encrypted bytes in a sample should be considered a single logical stream,
regardless of how they are divided into subsamples, and the clear bytes
should not be considered as part of decryption. This is logically equivalent
to concatenating all 'cypher_bytes' portions of subsamples, decrypting that
result, and then copying each byte from the decrypted block over the
position of the corresponding encrypted byte.
Public Members
uint32_t clear_bytes
uint32_t cypher_bytes
Public Methods
void SubsampleEntry ()
Defined at line 27 of file ../../src/media/third_party/chromium_media/media/base/subsample_entry.h
void SubsampleEntry (uint32_t clear_bytes, uint32_t cypher_bytes)
Defined at line 28 of file ../../src/media/third_party/chromium_media/media/base/subsample_entry.h