MPF Context.  
More...
Go to the source code of this file.
 | 
| mpf_context_factory_t *  | mpf_context_factory_create (apr_pool_t *pool) | 
|   | 
| void  | mpf_context_factory_destroy (mpf_context_factory_t *factory) | 
|   | 
| apt_bool_t  | mpf_context_factory_process (mpf_context_factory_t *factory) | 
|   | 
| mpf_context_t *  | mpf_context_create (mpf_context_factory_t *factory, const char *name, void *obj, apr_size_t max_termination_count, apr_pool_t *pool) | 
|   | 
| apt_bool_t  | mpf_context_destroy (mpf_context_t *context) | 
|   | 
| void *  | mpf_context_object_get (const mpf_context_t *context) | 
|   | 
| apt_bool_t  | mpf_context_termination_add (mpf_context_t *context, mpf_termination_t *termination) | 
|   | 
| apt_bool_t  | mpf_context_termination_subtract (mpf_context_t *context, mpf_termination_t *termination) | 
|   | 
| apt_bool_t  | mpf_context_association_add (mpf_context_t *context, mpf_termination_t *termination1, mpf_termination_t *termination2) | 
|   | 
| apt_bool_t  | mpf_context_association_remove (mpf_context_t *context, mpf_termination_t *termination1, mpf_termination_t *termination2) | 
|   | 
| apt_bool_t  | mpf_context_associations_reset (mpf_context_t *context) | 
|   | 
| apt_bool_t  | mpf_context_topology_apply (mpf_context_t *context) | 
|   | 
| apt_bool_t  | mpf_context_topology_destroy (mpf_context_t *context) | 
|   | 
| apt_bool_t  | mpf_context_process (mpf_context_t *context) | 
|   | 
◆ mpf_context_factory_t
Opaque factory of media contexts 
 
 
◆ mpf_context_association_add()
Add association between specified terminations. 
- Parameters
 - 
  
    | context | the context to add association in the scope of  | 
    | termination1 | the first termination to associate  | 
    | termination2 | the second termination to associate  | 
  
   
 
 
◆ mpf_context_association_remove()
Remove association between specified terminations. 
- Parameters
 - 
  
    | context | the context to remove association in the scope of  | 
    | termination1 | the first termination  | 
    | termination2 | the second termination  | 
  
   
 
 
◆ mpf_context_associations_reset()
Reset assigned associations and destroy applied topology. 
- Parameters
 - 
  
    | context | the context to reset associations for  | 
  
   
 
 
◆ mpf_context_create()
Create MPF context. 
- Parameters
 - 
  
    | factory | the factory context belongs to  | 
    | name | the informative name of the context  | 
    | obj | the external object associated with context  | 
    | max_termination_count | the max number of terminations in context  | 
    | pool | the pool to allocate memory from  | 
  
   
 
 
◆ mpf_context_destroy()
Destroy MPF context. 
- Parameters
 - 
  
    | context | the context to destroy  | 
  
   
 
 
◆ mpf_context_factory_create()
Create factory of media contexts. 
 
 
◆ mpf_context_factory_destroy()
Destroy factory of media contexts. 
 
 
◆ mpf_context_factory_process()
Process factory of media contexts. 
 
 
◆ mpf_context_object_get()
Get external object associated with MPF context. 
- Parameters
 - 
  
    | context | the context to get object from  | 
  
   
 
 
◆ mpf_context_process()
Process context. 
- Parameters
 - 
  
    | context | the context to process  | 
  
   
 
 
◆ mpf_context_termination_add()
Add termination to context. 
- Parameters
 - 
  
    | context | the context to add termination to  | 
    | termination | the termination to add  | 
  
   
 
 
◆ mpf_context_termination_subtract()
Subtract termination from context. 
- Parameters
 - 
  
    | context | the context to subtract termination from  | 
    | termination | the termination to subtract  | 
  
   
 
 
◆ mpf_context_topology_apply()
Apply topology. 
- Parameters
 - 
  
    | context | the context to apply topology for  | 
  
   
 
 
◆ mpf_context_topology_destroy()
Destroy topology. 
- Parameters
 - 
  
    | context | the context to destroy topology for  |