AP4_PiffEncryptingProcessor Class Reference
#include <Ap4Piff.h>
Inheritance diagram for AP4_PiffEncryptingProcessor:

Classes | |
struct | Encrypter |
Public Member Functions | |
AP4_PiffEncryptingProcessor (AP4_PiffCipherMode cipher_mode, AP4_BlockCipherFactory *block_cipher_factory=NULL) | |
~AP4_PiffEncryptingProcessor () | |
AP4_ProtectionKeyMap & | GetKeyMap () |
AP4_TrackPropertyMap & | GetPropertyMap () |
virtual AP4_Result | Initialize (AP4_AtomParent &top_level, AP4_ByteStream &stream, AP4_Processor::ProgressListener *listener=NULL) |
This method can be overridden by concrete subclasses. | |
virtual AP4_Processor::TrackHandler * | CreateTrackHandler (AP4_TrakAtom *trak) |
This method can be overridden by concrete subclasses. | |
virtual AP4_Processor::FragmentHandler * | CreateFragmentHandler (AP4_ContainerAtom *traf) |
This method can be overridden by concrete subclasses. | |
Protected Attributes | |
AP4_PiffCipherMode | m_CipherMode |
AP4_BlockCipherFactory * | m_BlockCipherFactory |
AP4_ProtectionKeyMap | m_KeyMap |
AP4_TrackPropertyMap | m_PropertyMap |
AP4_List< Encrypter > | m_Encrypters |
Detailed Description
Definition at line 176 of file Ap4Piff.h.
Constructor & Destructor Documentation
AP4_PiffEncryptingProcessor::AP4_PiffEncryptingProcessor | ( | AP4_PiffCipherMode | cipher_mode, | |
AP4_BlockCipherFactory * | block_cipher_factory = NULL | |||
) |
AP4_PiffEncryptingProcessor::~AP4_PiffEncryptingProcessor | ( | ) |
Member Function Documentation
virtual AP4_Processor::FragmentHandler* AP4_PiffEncryptingProcessor::CreateFragmentHandler | ( | AP4_ContainerAtom * | ) | [virtual] |
This method can be overridden by concrete subclasses.
It is called once for each fragment in the input file.
- Parameters:
-
track Pointer to the fragment for which a handler should be created.
- Returns:
- A pointer to a fragment handler, or NULL if no handler needs to be created for that fragment.
Reimplemented from AP4_Processor.
virtual AP4_Processor::TrackHandler* AP4_PiffEncryptingProcessor::CreateTrackHandler | ( | AP4_TrakAtom * | ) | [virtual] |
This method can be overridden by concrete subclasses.
It is called once for each track in the input file.
- Parameters:
-
track Pointer to the track for which a handler should be created.
- Returns:
- A pointer to a track handler, or NULL if no handler needs to be created for that track.
Reimplemented from AP4_Processor.
AP4_ProtectionKeyMap& AP4_PiffEncryptingProcessor::GetKeyMap | ( | ) | [inline] |
AP4_TrackPropertyMap& AP4_PiffEncryptingProcessor::GetPropertyMap | ( | ) | [inline] |
Definition at line 196 of file Ap4Piff.h.
References m_PropertyMap.
virtual AP4_Result AP4_PiffEncryptingProcessor::Initialize | ( | AP4_AtomParent & | top_level, | |
AP4_ByteStream & | stream, | |||
AP4_Processor::ProgressListener * | listener = NULL | |||
) | [virtual] |
This method can be overridden by concrete subclasses.
It is called just after the input stream has been parsed into an atom tree, before the processing of the tracks.
- Parameters:
-
top_level Container atom containing all the atoms parsed from the input stream. Note that this atom does not actually exist in the file; it is a synthetised container created for the purpose of holding together all the input's top-level atoms.
Reimplemented from AP4_Processor.
Member Data Documentation
AP4_List<Encrypter> AP4_PiffEncryptingProcessor::m_Encrypters [protected] |
Definition at line 209 of file Ap4Piff.h.
Referenced by GetKeyMap().
Definition at line 210 of file Ap4Piff.h.
Referenced by GetPropertyMap().
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:37:42 2010 for Bento4 MP4 SDK by
