AP4_SampleDecrypter Class Reference
#include <Ap4Protection.h>
Inheritance diagram for AP4_SampleDecrypter:

Public Member Functions | |
virtual | ~AP4_SampleDecrypter () |
virtual AP4_Size | GetDecryptedSampleSize (AP4_Sample &sample) |
virtual AP4_Result | SetSampleIndex (AP4_Ordinal) |
virtual AP4_Result | DecryptSampleData (AP4_DataBuffer &data_in, AP4_DataBuffer &data_out, const AP4_UI08 *iv=NULL)=0 |
Static Public Member Functions | |
static AP4_SampleDecrypter * | Create (AP4_ProtectedSampleDescription *sample_description, const AP4_UI08 *key, AP4_Size key_size, AP4_BlockCipherFactory *block_cipher_factory=NULL) |
Create a sample decrypter given a protected sample description. | |
static AP4_SampleDecrypter * | Create (AP4_ProtectedSampleDescription *sample_description, AP4_ContainerAtom *traf, const AP4_UI08 *key, AP4_Size key_size, AP4_BlockCipherFactory *block_cipher_factory=NULL) |
Create a fragment sample decrypter given a protected sample description and a track fragment. |
Detailed Description
Definition at line 314 of file Ap4Protection.h.
Constructor & Destructor Documentation
virtual AP4_SampleDecrypter::~AP4_SampleDecrypter | ( | ) | [inline, virtual] |
Definition at line 335 of file Ap4Protection.h.
Member Function Documentation
static AP4_SampleDecrypter* AP4_SampleDecrypter::Create | ( | AP4_ProtectedSampleDescription * | sample_description, | |
AP4_ContainerAtom * | traf, | |||
const AP4_UI08 * | key, | |||
AP4_Size | key_size, | |||
AP4_BlockCipherFactory * | block_cipher_factory = NULL | |||
) | [static] |
Create a fragment sample decrypter given a protected sample description and a track fragment.
static AP4_SampleDecrypter* AP4_SampleDecrypter::Create | ( | AP4_ProtectedSampleDescription * | sample_description, | |
const AP4_UI08 * | key, | |||
AP4_Size | key_size, | |||
AP4_BlockCipherFactory * | block_cipher_factory = NULL | |||
) | [static] |
Create a sample decrypter given a protected sample description.
virtual AP4_Result AP4_SampleDecrypter::DecryptSampleData | ( | AP4_DataBuffer & | data_in, | |
AP4_DataBuffer & | data_out, | |||
const AP4_UI08 * | iv = NULL | |||
) | [pure virtual] |
virtual AP4_Size AP4_SampleDecrypter::GetDecryptedSampleSize | ( | AP4_Sample & | sample | ) | [inline, virtual] |
Reimplemented in AP4_IsmaCipher, AP4_OmaDcfCtrSampleDecrypter, and AP4_OmaDcfCbcSampleDecrypter.
Definition at line 338 of file Ap4Protection.h.
References AP4_Sample::GetSize().
virtual AP4_Result AP4_SampleDecrypter::SetSampleIndex | ( | AP4_Ordinal | ) | [inline, virtual] |
Reimplemented in AP4_PiffSampleDecrypter.
Definition at line 339 of file Ap4Protection.h.
References AP4_SUCCESS.
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:37:46 2010 for Bento4 MP4 SDK by
