OpenMAXBellagio
0.9.3
omx_base_sink.h
Go to the documentation of this file.
1
28
#ifndef _OMX_BASE_SINK_COMPONENT_H_
29
#define _OMX_BASE_SINK_COMPONENT_H_
30
31
#include <
OMX_Types.h
>
32
#include <
OMX_Component.h
>
33
#include <
OMX_Core.h
>
34
#include "
omx_base_component.h
"
35
36
#define OMX_BASE_SINK_INPUTPORT_INDEX 0
/* The index of the input port for the derived components */
37
#define OMX_BASE_SINK_CLOCKPORT_INDEX 1
/* The index of the clock port for the derived components */
38
#define OMX_BASE_SINK_INPUTPORT_INDEX_1 1
/* The index of the 2nd input port for the derived components */
39
42
#define OMX_BASE_SINK_ALLPORT_INDEX -1
43
46
DERIVEDCLASS
(
omx_base_sink_PrivateType
,
omx_base_component_PrivateType
)
47
#define omx_base_sink_PrivateType_FIELDS omx_base_component_PrivateType_FIELDS \
48
\
49
void (*BufferMgmtCallback)(OMX_COMPONENTTYPE* openmaxStandComp, OMX_BUFFERHEADERTYPE* inputbuffer);
50
ENDCLASS
(
omx_base_sink_PrivateType
)
51
52
54
OMX_ERRORTYPE
omx_base_sink_Constructor
(
OMX_COMPONENTTYPE
*openmaxStandComp,
OMX_STRING
cComponentName);
55
58
OMX_ERRORTYPE
omx_base_sink_Destructor
(
OMX_COMPONENTTYPE
*openmaxStandComp);
59
65
void
*
omx_base_sink_BufferMgmtFunction
(
void
* param);
66
67
void
*
omx_base_sink_twoport_BufferMgmtFunction
(
void
* param);
68
69
#endif
omx_base_component_PrivateType
Definition:
omx_base_component.h:122
OMX_ERRORTYPE
OMX_ERRORTYPE
Definition:
OMX_Core.h:127
omx_base_sink_Constructor
OMX_ERRORTYPE omx_base_sink_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
Definition:
omx_base_sink.c:31
omx_base_sink_twoport_BufferMgmtFunction
void * omx_base_sink_twoport_BufferMgmtFunction(void *param)
Definition:
omx_base_sink.c:206
OMX_Core.h
OMX_Types.h
omx_base_sink_PrivateType
Definition:
omx_base_sink.h:46
omx_base_sink_Destructor
OMX_ERRORTYPE omx_base_sink_Destructor(OMX_COMPONENTTYPE *openmaxStandComp)
Definition:
omx_base_sink.c:57
OMX_Component.h
omx_base_component.h
omx_base_sink_BufferMgmtFunction
void * omx_base_sink_BufferMgmtFunction(void *param)
Definition:
omx_base_sink.c:67
OMX_COMPONENTTYPE
Definition:
OMX_Component.h:308
ENDCLASS
#define ENDCLASS(a)
Definition:
omx_classmagic.h:52
OMX_STRING
char * OMX_STRING
Definition:
OMX_Types.h:206
DERIVEDCLASS
#define DERIVEDCLASS(a, b)
Definition:
omx_classmagic.h:50
Generated for OpenMAX Bellagio rel. 0.9.3 by
1.5.1