OpenMAXBellagio
0.9.3
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
omx_volume_component.h
Go to the documentation of this file.
1
27
#ifndef _OMX_VOLUME_COMPONENT_H_
28
#define _OMX_VOLUME_COMPONENT_H_
29
30
#include <
OMX_Types.h
>
31
#include <
OMX_Component.h
>
32
#include <
OMX_Core.h
>
33
#include <string.h>
34
#include <
omx_base_filter.h
>
35
#define VOLUME_COMP_NAME "OMX.st.volume.component"
36
#define VOLUME_COMP_ROLE "volume.component"
37
#define MAX_VOLUME_COMPONENTS 10
38
#define VOLUME_QUALITY_LEVELS 2
39
static
int
volumeQualityLevels []={1, 65536, 1, 32768};
40
44
DERIVEDCLASS
(omx_volume_component_PrivateType,
omx_base_filter_PrivateType
)
45
#define omx_volume_component_PrivateType_FIELDS omx_base_filter_PrivateType_FIELDS \
46
\
47
float gain;
48
ENDCLASS
(omx_volume_component_PrivateType)
49
50
/* Component private entry points declaration */
51
OMX_ERRORTYPE
omx_volume_component_Constructor
(
OMX_COMPONENTTYPE
*openmaxStandComp,
OMX_STRING
cComponentName);
52
OMX_ERRORTYPE
omx_volume_component_Destructor
(
OMX_COMPONENTTYPE
*openmaxStandComp);
53
54
void
omx_volume_component_BufferMgmtCallback
(
55
OMX_COMPONENTTYPE
*openmaxStandComp,
56
OMX_BUFFERHEADERTYPE
* inputbuffer,
57
OMX_BUFFERHEADERTYPE
* outputbuffer);
58
59
OMX_ERRORTYPE
omx_volume_component_GetParameter
(
60
OMX_HANDLETYPE
hComponent,
61
OMX_INDEXTYPE
nParamIndex,
62
OMX_PTR
ComponentParameterStructure);
63
64
OMX_ERRORTYPE
omx_volume_component_SetParameter
(
65
OMX_HANDLETYPE
hComponent,
66
OMX_INDEXTYPE
nParamIndex,
67
OMX_PTR
ComponentParameterStructure);
68
69
OMX_ERRORTYPE
omx_volume_component_GetConfig
(
70
OMX_HANDLETYPE
hComponent,
71
OMX_INDEXTYPE
nIndex,
72
OMX_PTR
pComponentConfigStructure);
73
74
OMX_ERRORTYPE
omx_volume_component_SetConfig
(
75
OMX_HANDLETYPE
hComponent,
76
OMX_INDEXTYPE
nIndex,
77
OMX_PTR
pComponentConfigStructure);
78
79
#endif
Generated for OpenMAX Bellagio rel. 0.9.3 by
1.5.1