# AP4_MarlinTrackDecrypter Class Reference

`#include <Ap4Marlin.h>`

Inheritance diagram for AP4_MarlinTrackDecrypter:

List of all members.

## Public Member Functions
| ~AP4_MarlinTrackDecrypter ()
virtual AP4_Size | GetProcessedSampleSize (AP4_Sample &sample)
| Returns the size of a sample after processing.
virtual AP4_Result | ProcessSample (AP4_DataBuffer &data_in, AP4_DataBuffer &data_out)
| Process the data of one sample.
## Static Public Member Functions
static AP4_Result | Create (AP4_BlockCipherFactory &cipher_factory, const AP4_UI08 *key, AP4_MarlinTrackDecrypter *&decrypter)

## Detailed Description

Definition at line 96 of file Ap4Marlin.h.

## Constructor & Destructor Documentation

AP4_MarlinTrackDecrypter::~AP4_MarlinTrackDecrypter | ( |  | ) |

## Member Function Documentation

static AP4_Result AP4_MarlinTrackDecrypter::Create | ( | AP4_BlockCipherFactory & | cipher_factory,
|  | const AP4_UI08 * | key,
|  | AP4_MarlinTrackDecrypter *& | decrypter |
| ) |  |  | `[static]`

virtual AP4_Size AP4_MarlinTrackDecrypter::GetProcessedSampleSize | ( | AP4_Sample & | sample | ) | `[virtual]`

Returns the size of a sample after processing.

Parameters:

  | sample | Sample of which the processed size is requested.

Returns:
  Size of the sample data after processing.

Reimplemented from AP4_Processor::TrackHandler.

virtual AP4_Result AP4_MarlinTrackDecrypter::ProcessSample | ( | AP4_DataBuffer & | data_in,
|  | AP4_DataBuffer & | data_out |
| ) |  |  | `[virtual]`

Process the data of one sample.

Parameters:

  | data_in | Data buffer with the data of the sample to process.
  | data_out | Data buffer in which the processed sample data is returned.

Implements AP4_Processor::TrackHandler.

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

- Ap4Marlin.h