#include "mmal.h"
#include "mmal_component.h"
Go to the source code of this file.
◆ MMAL_AUDIO_DECODE
#define MMAL_AUDIO_DECODE "audio_decode" |
◆ MMAL_AUDIO_ENCODE
#define MMAL_AUDIO_ENCODE "audio_encode" |
◆ MMAL_AUDIO_RENDER
#define MMAL_AUDIO_RENDER "audio_render" |
◆ MMAL_CAMERA
#define MMAL_CAMERA "camera" |
◆ MMAL_CONSTRUCTOR
#define MMAL_CONSTRUCTOR |
( |
|
func | ) |
void func(void) |
◆ MMAL_DESTRUCTOR
#define MMAL_DESTRUCTOR |
( |
|
func | ) |
void func(void) |
◆ MMAL_VIDEO_DECODE
#define MMAL_VIDEO_DECODE "video_decode" |
◆ MMAL_VIDEO_ENCODE
#define MMAL_VIDEO_ENCODE "video_encode" |
◆ MMAL_VIDEO_RENDER
#define MMAL_VIDEO_RENDER "video_render" |
◆ MMAL_COMPONENT_SUPPLIER_FUNCTION_T
◆ mmal_component_action_deregister()
De-registers the current action registered with the core.
- Parameters
-
component | component de-registering the action. |
- Returns
- MMAL_SUCCESS or another status on error.
◆ mmal_component_action_lock()
Lock an action to prevent it from running. Allows a component to make sure no action is running while the lock is taken.
- Parameters
-
- Returns
- MMAL_SUCCESS or another status on error.
◆ mmal_component_action_register()
Registers an action with the core. The MMAL core allows components to register an action which will be run from a separate thread context when the action is explicitly triggered by the component.
- Parameters
-
component | component registering the action. |
action | action to register. |
- Returns
- MMAL_SUCCESS or another status on error.
◆ mmal_component_action_trigger()
Triggers a registered action. Explicitly triggers an action registered by a component.
- Parameters
-
component | component on which to trigger the action. |
- Returns
- MMAL_SUCCESS or another status on error.
◆ mmal_component_action_unlock()
Unlock an action to allow it to run again.
- Parameters
-
- Returns
- MMAL_SUCCESS or another status on error.
◆ mmal_component_create_with_constructor()
Create an instance of a component given a constructor for the component. This allows the creation of client-side components which haven't been registered with the core. See mmal_component_create for the public interface used to create components.
- Parameters
-
name | name assigned to the component by the client |
constructor | constructor function for the component |
constructor_private | private data for the constructor |
component | returned component |
- Returns
- MMAL_SUCCESS on success
◆ mmal_component_parameter_get()
Get a generic component control parameter.
- Parameters
-
contorl_port | control port of component from which to get the parameter. |
param | parameter to be retrieved. |
- Returns
- MMAL_SUCCESS or another status on error.
◆ mmal_component_parameter_set()
Set a generic component control parameter.
- Parameters
-
control_port | control port of component on which to set the parameter. |
param | parameter to be set. |
- Returns
- MMAL_SUCCESS or another status on error.
◆ mmal_component_supplier_register()
Register a component with the mmal component supplier.
- Parameters
-
prefix | prefix for this supplier, e.g. "VC" |
create_fn | function which will instantiate a component given a name. |