DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | Static Public Attributes | List of all members
shaka::media::ContentEncoding Class Reference

Public Types

enum  Scope {
  kScopeInvalid = 0, kScopeAllFrameContents = 1, kScopeTrackPrivateData = 2, kScopeNextContentEncodingData = 4,
  kScopeMax = 7
}
 
enum  Type { kTypeInvalid = -1, kTypeCompression = 0, kTypeEncryption = 1 }
 
enum  EncryptionAlgo {
  kEncAlgoInvalid = -1, kEncAlgoNotEncrypted = 0, kEncAlgoDes = 1, kEncAlgo3des = 2,
  kEncAlgoTwofish = 3, kEncAlgoBlowfish = 4, kEncAlgoAes = 5
}
 
enum  CipherMode { kCipherModeInvalid = 0, kCipherModeCtr = 1 }
 

Public Member Functions

int64_t order () const
 
void set_order (int64_t order)
 
Scope scope () const
 
void set_scope (Scope scope)
 
Type type () const
 
void set_type (Type type)
 
EncryptionAlgo encryption_algo () const
 
void set_encryption_algo (EncryptionAlgo encryption_algo)
 
const std::string & encryption_key_id () const
 
void SetEncryptionKeyId (const uint8_t *encryption_key_id, int size)
 
CipherMode cipher_mode () const
 
void set_cipher_mode (CipherMode mode)
 

Static Public Attributes

static const int kOrderInvalid = -1
 

Detailed Description

Definition at line 15 of file webm_content_encodings.h.

Member Data Documentation

const int shaka::media::ContentEncoding::kOrderInvalid = -1
static

The following enum definitions are based on the ContentEncoding element specified in the Matroska spec.

Definition at line 20 of file webm_content_encodings.h.


The documentation for this class was generated from the following files: