|
std::vector< uint8_t > | initialization_vector |
|
std::vector< SubsampleEntry > | subsamples |
|
Definition at line 79 of file box_definitions.h.
◆ ComputeSize()
uint32_t shaka::media::mp4::SampleEncryptionEntry::ComputeSize |
( |
| ) |
const |
- Returns
- The size of the structure in bytes when it is stored.
Definition at line 307 of file box_definitions.cc.
◆ GetTotalSizeOfSubsamples()
uint32_t shaka::media::mp4::SampleEncryptionEntry::GetTotalSizeOfSubsamples |
( |
| ) |
const |
- Returns
- The accumulated size of subsamples. Returns 0 if there is no subsamples.
Definition at line 317 of file box_definitions.cc.
◆ ParseFromBuffer()
bool shaka::media::mp4::SampleEncryptionEntry::ParseFromBuffer |
( |
uint8_t |
iv_size, |
|
|
bool |
has_subsamples, |
|
|
BufferReader * |
reader |
|
) |
| |
Parse SampleEncryptionEntry from buffer.
- Parameters
-
iv_size | specifies the size of initialization vector. |
has_subsamples | indicates whether this sample encryption entry constains subsamples. |
reader | points to the buffer reader. Cannot be NULL. |
- Returns
- true on success, false otherwise.
Definition at line 282 of file box_definitions.cc.
◆ ReadWrite()
bool shaka::media::mp4::SampleEncryptionEntry::ReadWrite |
( |
uint8_t |
iv_size, |
|
|
bool |
has_subsamples, |
|
|
BoxBuffer * |
buffer |
|
) |
| |
Read/Write SampleEncryptionEntry.
- Parameters
-
iv_size | specifies the size of initialization vector. |
has_subsamples | indicates whether this sample encryption entry constains subsamples. |
buffer | points to the box buffer for reading or writing. |
- Returns
- true on success, false otherwise.
Definition at line 258 of file box_definitions.cc.
The documentation for this struct was generated from the following files: