MPF Termination Factory. More...
#include "mpf_types.h"Go to the source code of this file.
Data Structures | |
| struct | mpf_termination_factory_t |
Functions | |
| mpf_termination_t * | mpf_termination_create (mpf_termination_factory_t *termination_factory, void *obj, apr_pool_t *pool) |
| mpf_termination_t * | mpf_raw_termination_create (void *obj, mpf_audio_stream_t *audio_stream, mpf_video_stream_t *video_stream, apr_pool_t *pool) |
| apt_bool_t | mpf_termination_destroy (mpf_termination_t *termination) |
| const char * | mpf_termination_name_get (const mpf_termination_t *termination) |
| void * | mpf_termination_object_get (const mpf_termination_t *termination) |
| mpf_audio_stream_t * | mpf_termination_audio_stream_get (const mpf_termination_t *termination) |
| mpf_video_stream_t * | mpf_termination_video_stream_get (const mpf_termination_t *termination) |
MPF Termination Factory.
| mpf_termination_t* mpf_raw_termination_create | ( | void * | obj, | |
| mpf_audio_stream_t * | audio_stream, | |||
| mpf_video_stream_t * | video_stream, | |||
| apr_pool_t * | pool | |||
| ) |
Create raw MPF termination.
| obj | the external object associated with termination | |
| audio_stream | the audio stream of the termination | |
| video_stream | the video stream of the termination | |
| pool | the pool to allocate memory from |
| mpf_audio_stream_t* mpf_termination_audio_stream_get | ( | const mpf_termination_t * | termination | ) |
Get audio stream.
| termination | the termination to get audio stream from |
| mpf_termination_t* mpf_termination_create | ( | mpf_termination_factory_t * | termination_factory, | |
| void * | obj, | |||
| apr_pool_t * | pool | |||
| ) |
Create MPF termination from termination factory.
| termination_factory | the termination factory to create termination from | |
| obj | the external object associated with termination | |
| pool | the pool to allocate memory from |
| apt_bool_t mpf_termination_destroy | ( | mpf_termination_t * | termination | ) |
Destroy MPF termination.
| termination | the termination to destroy |
| const char* mpf_termination_name_get | ( | const mpf_termination_t * | termination | ) |
Get termination name.
| termination | the termination to get name of |
| void* mpf_termination_object_get | ( | const mpf_termination_t * | termination | ) |
Get associated object.
| termination | the termination to get object from |
| mpf_video_stream_t* mpf_termination_video_stream_get | ( | const mpf_termination_t * | termination | ) |
Get video stream.
| termination | the termination to get video stream from |
1.6.1